// // sub_1005CF064 from 0x1005cf064 to 0x1005cf100 (156 bytes) // // 1 xrefs: // > sub_1005CF060 @ 0x1005cf060 // // 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:09:30 +0000 // __int64 __fastcall sub_1005CF064(__int64 a1) { __int64 *v2; // x8 __int64 *v4; // x9 __int64 *v5; // x20 if ( *(_BYTE *)(a1 + 360) ) { sub_1005DBDD8(*(_QWORD *)(a1 + 408)); v2 = *(__int64 **)(a1 + 368); *(_QWORD *)(a1 + 392) = v2; if ( v2 != (__int64 *)(a1 + 368) ) { do { v4 = (__int64 *)*v2; *(_QWORD *)(a1 + 400) = *v2; if ( (*((_DWORD *)v2 + 99) & 0x20) != 0 ) { v5 = v2 - 1; sub_1005DBE08(*(_QWORD *)(a1 + 408)); sub_1005CF100(v5, 0); sub_1005DBDD8(*(_QWORD *)(a1 + 408)); v4 = *(__int64 **)(a1 + 400); } *(_QWORD *)(a1 + 392) = v4; v2 = v4; } while ( v4 != (__int64 *)(a1 + 368) ); } sub_1005DBE08(*(_QWORD *)(a1 + 408)); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source