// // sub_100505304 from 0x100505304 to 0x100505364 (96 bytes) // // 1 xrefs: // > sub_1005048D8 @ 0x100504da0 // // 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:56 +0000 // __int64 __fastcall sub_100505304(__int64 result) { __int64 v1; // x19 __int64 v2; // x8 char *v3; // x20 __int64 v4; // x0 if ( *(_BYTE *)(result + 808) == 1 ) { v1 = result; v2 = *(char *)(result + 863); if ( v2 < 0 ) v2 = *(_QWORD *)(result + 848); if ( v2 ) { v3 = (char *)(result + 840); v4 = GameLevelManager::sharedState(); if ( *(char *)(v1 + 863) < 0 ) v3 = *(char **)v3; sub_1000ADE4C(v4, v3); } return sub_10051AFD0(v1, *(unsigned int *)(v1 + 676)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source