{"id":42558581,"url":"https://github.com/0danny/re47","last_synced_at":"2026-02-26T01:01:10.716Z","repository":{"id":256738503,"uuid":"856269682","full_name":"0danny/re47","owner":"0danny","description":"Hitman Codename 47 (2000) decompilation project.","archived":false,"fork":false,"pushed_at":"2025-01-18T02:47:28.000Z","size":1964,"stargazers_count":41,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-18T03:25:49.548Z","etag":null,"topics":["decompilation","game"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0danny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-12T09:34:18.000Z","updated_at":"2025-01-18T02:47:30.000Z","dependencies_parsed_at":"2024-09-12T21:05:48.714Z","dependency_job_id":"1190426f-8f00-483b-841a-a58e3cc2f953","html_url":"https://github.com/0danny/re47","commit_stats":null,"previous_names":["0danny/hitman-codename-47","0danny/re47"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0danny/re47","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0danny%2Fre47","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0danny%2Fre47/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0danny%2Fre47/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0danny%2Fre47/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0danny","download_url":"https://codeload.github.com/0danny/re47/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0danny%2Fre47/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29846789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"ssl_error","status_checked_at":"2026-02-25T22:37:25.960Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decompilation","game"],"created_at":"2026-01-28T20:00:26.608Z","updated_at":"2026-02-26T01:01:10.706Z","avatar_url":"https://github.com/0danny.png","language":"C++","funding_links":[],"categories":["Nintendo Wii","Game \u0026 Studio Tools"],"sub_categories":["Square Enix"],"readme":"\u003cdiv align=\"center\"\u003e\n\t\u003cimg src=\"https://github.com/user-attachments/assets/6caa9e4a-cc1c-4eb9-880c-17c982627205\" alt=\"Re47 Logo\"\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eRe47\u003c/h1\u003e\n\u003c/div\u003e\n\n[Discord Server](https://discord.gg/bcaWWF9Tb5)\n\n### Hitman Codename 47 (2000) - Decompilation\n\nThis repository contains the decompilation project for Hitman Codename 47 (2000). The goal is to reconstruct the source code from the original game binaries in a way that it can be compiled into a working executable. This project is an effort for game preservation.\n\n## Socials\n\nJoin the discord server using the badge above to track the progress or if you just enjoy Hitman games in general!\n\n## Status\n\nBelow each of the files in the decomp is discussed along with a percentage indicator of the progress.\n\n\u003cbr\u003e\n\n**Lines Decompiled** -\u003e 10,055\n\n\u003cbr\u003e\n\n### Completed ✅\n\n**hitman.exe** [45kb]\n**100%** Completed - **3** out of **3** functions named.\n\n**directplay.dll** [48kb]\n**100%** Completed - **22** out of **22** functions named.\n\n**globals.dll** [20kb]\n**100%** Completed - **1** out of **1** functions named.\n\n\u003cbr\u003e\n\n### Being Decompiled 📝\n\n**system.dll** [272kb]\n**50%** Completed - **544** out of **552** functions named.\n\n**systemprobedll.dll** [68kb]\n**99%** Completed - **53** out of **53** functions named.\n\n**renderopengl.dll** [248kb]\n**0%** Completed - **240** out of **464** functions named.\n\n**enginedata.dll** [244kb]\n**0%** Completed - **147** out of **565** functions named.\n\n**hitmandlc.dlc** [2,496kb]\n**0%** Completed - **1,860** out of **5,835** functions named.\n\n\u003cbr\u003e\n\n### Untouched ❌\n\n**locale.dll** [92kb]\n**0%** Completed\n\n**renderd3d.dll** [272kb]\n**0%** Completed\n\n**render3dfx.dll** [212kb]\n**0%** Completed\n\n**sound.dll** [188kb]\n**0%** Completed\n\n## Prerequisites\n\nTo build and run the decompiled version of Hitman Codename 47, you will need:\n\n-   CMake\n-   The portable version of Visual Studio 6 SP2 - https://github.com/itsmattkc/MSVC600/tree/17bae53fa330df7b576f25f1f604e4214076a650\n-   Visual Studio Code or an equivalent\n\n## Building the Project\n\n1. **Clone the repository:**\n    ```bash\n    git clone https://github.com/0danny/re47.git\n    cd re47\n    ```\n2. **Set the VS6_BIN_PATH Environment Variable:**\n\n    On windows navigate to \"Edit the system environment variables\" in the start menu. Click \"Environment Variables\" and under \"System Variables\" add a new entry with the name \"VS6_BIN_PATH\" and a value of your bin folder location (e.g. C:\\VS6\\VC98\\Bin)\n\n3. **Run build.bat**\n\n    The output files should be written to the \"build\" folder at the root directory.\n\n## Reversing\n\nIDA Pro is being used to reverse the games executables and dlls, an IDA server could be something that is used to allow collaboration in the future. Currently it is just a guess that Hitman CN47 actually uses Visual Studio 6 for compilation given the time period.\nIt is MSVC, however which version and what flags were used during the compilation remains a mystery. A byte-accurate decomp would be nice, however that is a very timely process. The GOG version of the game is being used for the decomp as the original\ncontains SafeDisc V2.0 DRM and GOG is DRM free. We don't have access to any debug symbols at this current point in time.\n\n## Contributing\n\nContributions to the Hitman Codename 47 decompilation project are welcome (and needed)! Here's how you can contribute:\n\n### Naming Rules\n\n-   Functions: `PascalCase`\n-   Variables: `camelCase. Prefix with g_ if global, m_ for member variables or p_ for parameters.`\n-   Classes: `PascalCase`\n-   Files and Directories: `lowercase`\n-   Namespaces: `PascalCase`\n\n### Rules/Notes\n\n1. Please try to match the functionality as closely as possible to the original game. This is currently not a byte-accurate decomp so you don't have to go overboard if something doesn't match exactly.\n2. Do not introduce any external dependencies into the project without consulting someone first.\n3. Do not include any retail resources from the original game in your pull requests.\n\n**Reporting bugs**: Use the Issues tab to report any bugs or inconsistencies.\n\n**Submitting fixes**: Submit pull requests with descriptions of the problem and solution.\n\n**Enhancing documentation**: Improvements to README, code comments etc are much appreciated.\n\nJoin the discord for more information.\n\n## Disclaimer\n\nThis project is for educational and game preservation purposes only and is not for commercial use. The repository does not contain any game assets/retail resources or proprietary code from the original game. The files built using this repository may only be utilized with assets provided by ownership of Hitman Codename 47 (2000). This project is in no way associated with or endorsed by IO Interactive.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0danny%2Fre47","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0danny%2Fre47","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0danny%2Fre47/lists"}