// // sub_10057A35C from 0x10057a35c to 0x10057a440 (228 bytes) // // 1 xrefs: // > sub_1005793F0 @ 0x100579450 // // 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_10057A35C(__int64 a1, char *__str, unsigned __int64 a3, _DWORD *a4) { int v6; // w8 int v7; // w8 int v8; // w0 int v9; // w8 if ( a3 < 4 ) return 0; if ( (unsigned int)(unsigned __int8)*__str - 48 > 9 ) return 0; if ( (unsigned int)(unsigned __int8)__str[1] - 48 > 9 ) return 0; if ( (unsigned int)(unsigned __int8)__str[2] - 48 > 9 ) return 0; if ( a3 == 5 || (v6 = (unsigned __int8)__str[3], v6 == 32) ) { strtol(__str, nullptr, 10); v8 = sub_10057BBB0(); if ( v8 == 1 ) v9 = 0; else v9 = v8; *a4 = v9; return 1; } else if ( v6 == 45 ) { v7 = *(_DWORD *)(a1 + 1448); if ( v7 == 2 || v7 == 7 ) { *a4 = 1; return 1; } else { return 0; } } else { return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source