// // sub_100667708 from 0x100667708 to 0x100667798 (144 bytes) // // 2 xrefs: // > sub_10064D160 @ 0x10064d780 // > sub_10064DCB8 @ 0x10064e114 // // 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:11:01 +0000 // __int64 __fastcall sub_100667708(_QWORD *a1, __int64 a2) { __int64 v2; // x8 _QWORD *i; // x9 if ( !a1 ) return 0; if ( a2 == 1 ) { LODWORD(v2) = 0; goto LABEL_6; } if ( a2 != 2 ) return 0; v2 = 0x6DB6DB6DB6DB6DB7LL * ((__int64)(*a1 - (_QWORD)(a1 + 14)) >> 3) + 1; if ( (int)v2 > 7 ) return 0; LABEL_6: v2 = (int)v2; for ( i = &a1[7 * (int)v2 + 14]; !*i || !i[1]; i += 7 ) { if ( ++v2 >= 8 ) return 0; } *a1 = i; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source