// // sub_10058B268 from 0x10058b268 to 0x10058b36c (260 bytes) // // 3 xrefs: // > sub_100530784 @ 0x1005307fc // > sub_100534CB4 @ 0x100534da0 // > sub_1005C3B2C @ 0x1005c3bc8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_10058B268(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_100882CB8 ) { v9 = 1; p_s1 = &__s1; v1 = sub_1005DF1B8(qword_100882CB8, &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_10066BB34 + 4 * (int)v7); v4 = strcmp(__s1, off_10082EF78[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_10082EF78[5 * *v5]; return *((unsigned int *)v2 + 4); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source