// // sub_100716B18 from 0x100716b18 to 0x100716bb8 (160 bytes) // // 4 xrefs: // > sub_10071A25C @ 0x10071a5e0 // > sub_1007308B8 @ 0x1007308d0 // > sub_10073C680 @ 0x10073c68c // > sub_10073C75C @ 0x10073c7b0 // // 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:00 +0000 // __int64 __fastcall sub_100716B18(int *a1) { int v1; // w8 int v2; // w9 __int64 v4; // x10 __int64 v5; // x8 __int64 v6; // x8 __int64 v7; // x11 unsigned __int64 v8; // x13 unsigned __int64 v9; // x12 if ( !a1 ) return 0; v1 = a1[1]; if ( v1 == 266 ) { v2 = 1; } else { if ( v1 != 10 ) return -1; v2 = 0; } v4 = *a1; v5 = 0xFFFFFFFFLL; if ( (int)v4 <= 8 ) { v6 = *((_QWORD *)a1 + 1); if ( !v6 ) return 0; if ( (int)v4 < 1 ) { v9 = 0; } else { v7 = 0; v8 = 0; do { v9 = *(unsigned __int8 *)(v6 + v7++) | (v8 << 8); v8 = v9; } while ( v7 < v4 ); } if ( v2 ) return -(__int64)v9; else return v9; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source