// // sub_1002146C0 from 0x1002146c0 to 0x1002147e3 (291 bytes) // // 4 xrefs: // > sub_1002147F0 @ 0x1002147f5 // > sub_100214800 @ 0x10021480c // > sub_100214820 @ 0x100214829 // > sub_100214840 @ 0x100214853 // // 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:26:59 +0000 // __int64 __fastcall sub_1002146C0(_QWORD *a1, __int64 a2, __int64 a3) { __int64 v3; // rdx unsigned __int64 v4; // xmm0_8 __int64 v5; // rax __int64 v6; // rax *a1 = off_100AE60B0; a1[40] = off_100AE6628; a1[41] = &off_100AE6698; a1[42] = off_100AE66B0; a1[43] = off_100AE66D0; a1[44] = off_100AE66F8; a1[51] = off_100AE6728; a1[54] = off_100AE67A8; a1[68] = off_100AE67C8; a1[83] = &off_100AE6810; a1[84] = off_100AE6828; a1[85] = off_100AE6848; v4 = GameManager::sharedState(a1, a2, a3).u64[0]; if ( *(_QWORD **)(v5 + 1072) == a1 ) { v4 = GameManager::sharedState(a1, a2, v3).u64[0]; *(_QWORD *)(v6 + 1072) = 0; } if ( *(_QWORD **)(GameLevelManager::sharedState(*(double *)&v4) + 1432) == a1 + 84 ) *(_QWORD *)(GameLevelManager::sharedState(*(double *)&v4) + 1432) = 0; if ( *(_QWORD **)(GameLevelManager::sharedState(*(double *)&v4) + 1232) == a1 + 85 ) *(_QWORD *)(GameLevelManager::sharedState(*(double *)&v4) + 1232) = 0; return sub_1004936F0(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source