// // sub_1002F385C from 0x1002f385c to 0x1002f390c (176 bytes) // // 2 xrefs: // > sub_1002F9EF8 @ 0x1002f9f10 // > sub_1002F9EF8 @ 0x1002f9f40 // // 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:02:57 +0000 // __int64 __fastcall sub_1002F385C(__int64 a1, unsigned int *a2, char a3) { unsigned int v3; // w10 __int64 v4; // x19 __int64 v5; // x0 int v7; // w9 __int64 v8; // x0 v3 = a2[1]; if ( *a2 ) v3 = *a2; if ( *(_BYTE *)(a1 + 867) ) v4 = 0; else v4 = v3; if ( (*(_BYTE *)(a1 + 649) & 1) != 0 ) { v5 = GameManager::sharedState(a1); return sub_1003F91A8(*(_QWORD *)(v5 + 552), v4); } else { while ( (_DWORD)v4 == 1012 ) { if ( (a3 & 1) != 0 ) return 0; v7 = **(_DWORD **)(a1 + 1096); if ( !v7 ) v7 = *(_DWORD *)(*(_QWORD *)(a1 + 1096) + 4LL); if ( *(_BYTE *)(a1 + 867) ) LODWORD(v4) = 0; else LODWORD(v4) = v7; a3 = 1; } if ( (unsigned int)(v4 - 1005) < 3 ) return 1; if ( !(_DWORD)v4 ) return 0; v8 = GameManager::sharedState(a1); return sub_100144FD4(*(_QWORD *)(v8 + 544), v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source