// // sub_1003AB1B4 from 0x1003ab1b4 to 0x1003ab22c (120 bytes) // // 2 xrefs: // > sub_1003AB19C @ 0x1003ab1a8 // > sub_1003AB19C @ 0x1003ab1b0 // // 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_1003AB1B4(const char *a1, __int64 a2) { const char *v2; // x8 int v3; // w10 int v4; // t1 _BOOL4 v5; // w9 unsigned __int8 *v6; // x10 int v7; // w8 int v8; // w2 if ( a1 ) { v2 = a1; do { v4 = *(unsigned __int8 *)v2++; v3 = v4; } while ( (byte_100645E7D[v4] & 8) != 0 ); v5 = v3 == 45; if ( v3 == 45 ) v6 = (unsigned __int8 *)(v2 + 1); else v6 = (unsigned __int8 *)v2; if ( *(v6 - 1) == 48 ) { v7 = (unsigned __int8)v2[v5]; v8 = 16; if ( v7 != 120 ) { if ( v7 == 88 ) v8 = 16; else v8 = 10; } } else { v8 = 10; } return strtol(a1, nullptr, v8); } return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source