// // sub_100728920 from 0x100728920 to 0x100728a0c (236 bytes) // // 1 xrefs: // > sub_100730040 @ 0x1007300e4 // // 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:13:09 +0000 // __int64 __fastcall sub_100728920(__int64 a1, int a2) { int v4; // w0 __int64 v5; // x20 unsigned int *v6; // x21 int v7; // w22 int v8; // w23 __int64 v10; // x0 if ( !a1 ) return 0; v4 = sub_100704BB4(*(unsigned int **)a1); v5 = 0; if ( (a2 & 0x80000000) == 0 && v4 > a2 ) { v6 = *(unsigned int **)a1; v5 = sub_100704818(*(int **)a1, a2); v7 = sub_100704BB4(v6); *(_DWORD *)(a1 + 8) = 1; if ( v7 != a2 ) { if ( a2 ) v8 = *(_DWORD *)(sub_100704BC8((__int64)v6, a2 - 1) + 16); else v8 = *(_DWORD *)(v5 + 16) - 1; if ( v8 + 1 < *(_DWORD *)(sub_100704BC8((__int64)v6, a2) + 16) && v7 > a2 ) { do { v10 = sub_100704BC8((__int64)v6, a2); --*(_DWORD *)(v10 + 16); ++a2; } while ( v7 != a2 ); } } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source