// // sub_100590568 from 0x100590568 to 0x100590724 (444 bytes) // // 1 xrefs: // > sub_100590724 @ 0x1005908a8 // // 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:44 +0000 // __int64 __fastcall sub_100590568( __int64 a1, int a2, _QWORD *a3, _QWORD *a4, _DWORD *a5, _DWORD *a6, _DWORD *a7, __int64 a8, _DWORD *a9, _DWORD *a10, _QWORD *a11) { __int64 v11; // x9 __int64 v12; // x10 __int64 i; // x24 __int64 v16; // x11 unsigned __int16 *j; // x10 __int64 v18; // x11 __int64 v19; // x21 int v20; // w9 __int64 v21; // x9 __int64 v22; // x0 __int64 result; // x0 __int64 v24; // x8 int v25; // w8 __int64 v26; // x9 v11 = *(_QWORD *)(**(_QWORD **)(a1 + 24) + 15376LL); v12 = *(unsigned int *)(v11 + 376); if ( (int)v12 < 1 ) return 0; for ( i = *(_QWORD *)(v11 + 384); *(_DWORD *)(i + 260) != *(_DWORD *)(a1 + 840) || *(_DWORD *)(i + 264) != *(unsigned __int8 *)(a1 + 844); i += 296 ) { if ( !--v12 ) return 0; } *a4 = i; v16 = *(unsigned int *)(i + 256); if ( !(_DWORD)v16 ) return 13; for ( j = *(unsigned __int16 **)(i + 272); *j > a2 || j[1] < a2; j += 36 ) { if ( !--v16 ) return 13; } v18 = *((unsigned int *)j + 14); v19 = (int)v18; if ( *((_DWORD *)j + 3) ) { *a5 = j[8]; *a6 = (__int16)j[9]; v20 = *((_DWORD *)j + 5); } else if ( (v18 & 0x80000000) != 0 || (int)v18 >= *(_DWORD *)(v11 + 392) ) { v20 = 0; *a5 = 60; *a6 = 0; } else { v21 = *(_QWORD *)(v11 + 400) + 296 * v18; *a5 = *(unsigned __int16 *)(v21 + 264); *a6 = *(__int16 *)(v21 + 266); v20 = *(_DWORD *)(v21 + 268); } *a7 = v20; *a9 = j[5]; *a10 = *((_DWORD *)j + 15); *a11 = *((_QWORD *)j + 8); if ( (_DWORD)v18 == -1 ) return 13; v22 = *(_QWORD *)(**(_QWORD **)(a1 + 24) + 15368LL); result = (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD *))(*(_QWORD *)v22 + 120LL))(v22, (int)v18, a3); if ( !(_DWORD)result ) { v24 = *(_QWORD *)(**(_QWORD **)(a1 + 24) + 15384LL); if ( v24 && !*a3 ) *(_BYTE *)(v24 + v19) = 1; v25 = *(_DWORD *)(i + 280); if ( v25 ) { v26 = *(_QWORD *)(i + 288); if ( v26 ) { *a10 = v25; *a11 = v26; return 0; } } return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source