// // sub_100572CB4 from 0x100572cb4 to 0x100572d5c (168 bytes) // // 2 xrefs: // > sub_1005733D4 @ 0x100573494 // > sub_1005733D4 @ 0x1005734a4 // // 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:08:19 +0000 // __int64 __fastcall sub_100572CB4(__int64 a1) { __int64 v2; // x21 __int64 v3; // x20 int v4; // w22 __int64 v5; // x0 *(_BYTE *)(a1 + 24) = 1; v2 = sub_1005DBF3C(*(_QWORD *)(a1 + 40)); if ( !(_DWORD)v2 ) { v2 = sub_1005DBF3C(*(_QWORD *)(a1 + 48)); if ( !(_DWORD)v2 ) { v3 = *(_QWORD *)(a1 + 32); sub_1005DBDD8(v3); if ( *(int *)(a1 + 60) < 1 ) { v2 = 0; } else { v4 = 0; while ( 1 ) { v5 = sub_1005DBF3C(*(_QWORD *)(a1 + 48)); if ( (_DWORD)v5 ) break; if ( ++v4 >= *(_DWORD *)(a1 + 60) ) { v2 = 0; *(_DWORD *)(a1 + 60) = 0; goto LABEL_10; } } v2 = v5; } LABEL_10: sub_1005DBE08(v3); } } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source