// // sub_100573B64 from 0x100573b64 to 0x100573c50 (236 bytes) // // 2 xrefs: // > sub_10054E5E4 @ 0x10054e654 // > sub_10054E6A0 @ 0x10054e924 // // 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 // bool __fastcall sub_100573B64(__int64 a1, unsigned __int8 *a2) { __int64 v5; // x8 __int64 v6; // x12 int v7; // w13 bool v8; // zf _BOOL4 v9; // w13 int v10; // w14 int v11; // w12 bool v12; // zf bool v13; // cc _BOOL4 v14; // w12 int v15; // w21 __int64 v16; // x20 int v17; // w19 int v18; // [xsp+Ch] [xbp-24h] BYREF if ( *(_BYTE *)(a1 + 720) ) return 0; sub_1005DB990(&v18); v5 = 0; while ( 1 ) { v6 = a1 + v5; if ( *(unsigned __int8 *)(a1 + v5 + 724) == *a2 ) { v7 = *(unsigned __int8 *)(v6 + 725); v8 = v7 == 255 || v7 == a2[1]; v9 = v8; } else { v9 = 0; } v10 = *(_DWORD *)(v6 + 728); v11 = *(_DWORD *)(v6 + 732); v12 = v10 == -1 || v11 == 0; v13 = !v12 && v18 - v11 <= v10; v14 = !v13; if ( v9 && v14 ) break; v5 += 16; if ( v5 == 512 ) return 0; } v15 = *(_DWORD *)(a1 + v5 + 736); v16 = *(_QWORD *)(a1 + 1272); sub_1005DBDD8(v16); v17 = *(_DWORD *)(a1 + 1248) - *(_DWORD *)(a1 + 1252) + *(_DWORD *)(a1 + 1256); sub_1005DBE08(v16); return v17 >= v15; }
GD Web Decomp Icon

GD Web Decomp

Raw Source