// // sub_1004C2B70 from 0x1004c2b70 to 0x1004c2ba7 (55 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:31:06 +0000 // __int64 __fastcall sub_1004C2B70(int a1, int a2) { __int64 v2; // rax __int64 v3; // rcx bool v4; // cf __int64 v5; // rcx __int64 v6; // rdx v2 = GameManager::sharedState(); v3 = (unsigned int)(a2 + a1 - 1); v4 = (unsigned int)v3 < 4; v5 = 40 * v3 + 1356; v6 = 1316; if ( v4 ) v6 = v5; return v6 + v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source