// // sub_100526140 from 0x100526140 to 0x100526210 (208 bytes) // // 1 xrefs: // > sub_1005262B0 @ 0x100526378 // // 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:07:15 +0000 // __int64 __fastcall sub_100526140(__int64 a1, int a2) { __int64 v3; // x9 __int64 v4; // x8 _DWORD *v5; // x21 __int64 v6; // x20 int v8; // [xsp+0h] [xbp-30h] BYREF int *v9; // [xsp+8h] [xbp-28h] BYREF v8 = a2; v3 = *(_QWORD *)(a1 + 560); if ( !v3 ) goto LABEL_8; v4 = a1 + 560; do { if ( *(_DWORD *)(v3 + 32) >= a2 ) v4 = v3; v3 = *(_QWORD *)(v3 + 8LL * (*(_DWORD *)(v3 + 32) < a2)); } while ( v3 ); if ( v4 != a1 + 560 && *(_DWORD *)(v4 + 32) <= a2 ) return *(_QWORD *)(v4 + 40); LABEL_8: v5 = sub_100526004(a1, a2); v6 = sub_100526210(a1); v9 = &v8; *((_QWORD *)sub_1001E7E7C(a1 + 552, &v8, (__int64)&unk_1007705D3, &v9) + 5) = v6; (*(void (__fastcall **)(_DWORD *, __int64, __int64))(*(_QWORD *)v5 + 464LL))(v5, v6, 10); return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source