// // sub_1004FB274 from 0x1004fb274 to 0x1004fb318 (164 bytes) // // 1 xrefs: // > sub_10051269C @ 0x1005127b4 // // This function is hookable on this platform (idp: arm, 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 11:06:50 +0000 // __int64 __fastcall sub_1004FB274(__int64 result, __int64 a2) { __int64 v2; // x19 __int64 v4; // x8 __int64 v5; // x0 if ( !*(_QWORD *)(result + 1040) ) { v2 = result; if ( (*(_BYTE *)(result + 790) & 1) == 0 ) { v4 = *(unsigned __int8 *)(a2 + 23); if ( (v4 & 0x80u) != 0LL ) v4 = *(_QWORD *)(a2 + 8); if ( v4 ) { v5 = GameLevelManager::sharedState(); result = sub_1000C5938(v5, *(_DWORD *)(*(_QWORD *)(v2 + 752) + 56LL), 0, 0, -1, 0, a2); if ( (_DWORD)result ) { *(_QWORD *)(GameLevelManager::sharedState() + 1264) = v2 + 672; sub_1004FB004((unsigned int *)v2, 0); *(_QWORD *)(v2 + 1176) = -1; *(_QWORD *)(v2 + 1184) = 0; return sub_1004FA9F4(v2); } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source