// // sub_1006B13D0 from 0x1006b13d0 to 0x1006b14d4 (260 bytes) // // 3 xrefs: // > sub_1006568EC @ 0x100656964 // > sub_10065AE1C @ 0x10065af08 // > sub_1006E9C94 @ 0x1006e9d30 // // 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:49 +0000 // __int64 __fastcall sub_1006B13D0(char *a1) { __int64 v1; // x0 char **v2; // x8 int v3; // w19 int v4; // w0 unsigned int *v5; // x20 __int64 v6; // x22 __int64 v7; // x25 int v9; // [xsp+8h] [xbp-78h] BYREF char **p_s1; // [xsp+10h] [xbp-70h] char *__s1; // [xsp+18h] [xbp-68h] BYREF __s1 = a1; if ( qword_100A0C808 ) { v9 = 1; p_s1 = &__s1; v1 = sub_100705320(qword_100A0C808, &v9); if ( v1 ) { v2 = *(char ***)(v1 + 8); return *((unsigned int *)v2 + 4); } } v3 = 0; v4 = 0; v5 = nullptr; v6 = 951; LABEL_5: v7 = v6; while ( 1 ) { v6 = v7; if ( v3 >= (int)v7 ) break; v7 = (unsigned int)(((int)v7 + v3) / 2); v5 = (unsigned int *)((char *)&unk_100794B34 + 4 * (int)v7); v4 = strcmp(__s1, off_1009B25E8[5 * *v5]); if ( (v4 & 0x80000000) == 0 ) { v3 = v7 + 1; if ( v4 > 0 ) goto LABEL_5; goto LABEL_12; } } if ( v4 ) return 0; LABEL_12: if ( v5 ) { v2 = &off_1009B25E8[5 * *v5]; return *((unsigned int *)v2 + 4); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source