// // sub_1005F90B0 from 0x1005f90b0 to 0x1005f91e4 (308 bytes) // // 7 xrefs: // > sub_1005432F4 @ 0x1005434a4 // > sub_100543AB4 @ 0x100543c5c // > sub_100543AB4 @ 0x100543ccc // > sub_1005E96E0 @ 0x1005e9774 // > sub_1005FD094 @ 0x1005fd2f4 // > sub_1005FD094 @ 0x1005fd354 // > sub_1005FE964 @ 0x1005fea2c // // 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_1005F90B0(_QWORD *a1, char *__s, int a3) { int v3; // w20 __int64 v6; // x22 __int64 i; // x24 int v8; // w8 int *v10; // [xsp+8h] [xbp-48h] BYREF v3 = a3; if ( a3 == -1 ) v3 = strlen(__s); if ( a1 ) { v6 = sub_1005D8F7C(&v10, (__int64)__s, v3); if ( v6 ) { if ( !(unsigned int)sub_1005D6FFC((__int64)v10) ) v6 = 0; sub_1005D6580(v10); *a1 = v10; return v6; } *a1 = 0; } for ( i = 0; ; ++i ) { v8 = qword_100884DD8 ? sub_1005DEA4C((unsigned int *)qword_100884DD8) + 12 : 12; if ( i >= v8 ) break; if ( i > 11 ) v6 = sub_1005DEA60(qword_100884DD8, (int)i - 12); else v6 = (__int64)*(&off_100862270 + i); if ( (*(_BYTE *)(v6 + 8) & 1) == 0 && (unsigned int)strlen(*(const char **)(v6 + 16)) == v3 && !strncasecmp(*(const char **)(v6 + 16), __s, v3) ) { return v6; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source