// // sub_F7D31C from 0xf7d31c to 0xf7d3b8 (156 bytes) // // 0 xrefs: // // 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 13:13:48 +0000 // __int64 __fastcall sub_F7D31C(unsigned __int8 *a1, unsigned __int8 *a2, unsigned __int64 a3) { unsigned __int64 v3; // x8 unsigned __int64 v4; // x19 unsigned __int8 *v5; // x22 unsigned __int64 v6; // x23 unsigned __int64 v7; // x8 bool v8; // zf size_t v9; // x8 const void *v10; // x20 size_t v11; // x21 unsigned __int8 *v12; // x24 v3 = *a1; v4 = a3; if ( (v3 & 1) != 0 ) { v6 = *((_QWORD *)a1 + 1); v5 = *((unsigned __int8 **)a1 + 2); } else { v5 = a1 + 1; v6 = v3 >> 1; } v7 = *a2; v8 = (v7 & 1) == 0; v9 = v7 >> 1; if ( v8 ) v10 = a2 + 1; else v10 = *((const void **)a2 + 2); if ( v8 ) v11 = v9; else v11 = *((_QWORD *)a2 + 1); if ( v6 <= a3 ) return -1; v12 = &v5[a3]; while ( v11 ) { if ( !memchr(v10, v5[v4], v11) ) { v12 = &v5[v4]; return v12 - v5; } if ( v6 == ++v4 ) return -1; } return v12 - v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source