// // sub_1007B2D40 from 0x1007b2d40 to 0x1007b2df9 (185 bytes) // // 1 xrefs: // > @ 0x100992bd0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall sub_1007B2D40(__int64 a1) { GameLevelManager *v1; // r14 __int64 v2; // rax int v3; // r15d __int64 v4; // rax __int64 v5; // rax int v6; // r12d int v7; // r13d GameManager *v8; // rax bool GameVariable; // al if ( *(_BYTE *)(a1 + 176) == 1 ) { *(_BYTE *)(a1 + 176) = 0; v1 = GameLevelManager::sharedState(); v2 = *(_QWORD *)(a1 + 32); if ( v2 ) { v3 = *(_DWORD *)(v2 + 372); } else { v4 = *(_QWORD *)(a1 + 40); if ( v4 ) { v3 = -*(_DWORD *)(v4 + 344); } else { v5 = *(_QWORD *)(a1 + 24); if ( v5 ) v3 = *(_DWORD *)(v5 + 328) - *(_DWORD *)(v5 + 332); else v3 = 0; } } v6 = *(_DWORD *)(a1 + 160); v7 = *(_DWORD *)(a1 + 172); v8 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v8, "0069"); GameLevelManager::getLevelComments(v1, v3, v7, v6, GameVariable, *(CommentKeyType *)(a1 + 180)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source