// // sub_601A90 from 0x601a90 to 0x601b1c (140 bytes) // // 14 xrefs: // > sub_608878 @ 0x608a9c // > sub_608878 @ 0x608ca0 // > sub_608F28 @ 0x6090f6 // > sub_608F28 @ 0x609148 // > sub_608F28 @ 0x60921a // > sub_609AD8 @ 0x609b7c // > sub_609AD8 @ 0x609ba0 // > sub_609AD8 @ 0x609c1e // > sub_609AD8 @ 0x609c7e // > sub_609CC0 @ 0x609d64 // > sub_609CC0 @ 0x609d88 // > sub_609CC0 @ 0x609e06 // > sub_609CC0 @ 0x609e66 // > sub_60A278 @ 0x60a418 // // 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 // double __fastcall sub_601A90(const char *a1) { const char *v1; // r2 const char *v2; // r3 int v3; // r1 int v4; // t1 int v5; // r2 unsigned __int8 *v6; // r2 int v7; // r1 int v8; // t1 unsigned __int8 *v9; // r1 unsigned __int8 *v10; // r2 int v11; // r3 int v12; // t1 v1 = a1; do { v2 = v1; v4 = *(unsigned __int8 *)v1++; v3 = v4; } while ( (a7[v4] & 8) != 0 ); if ( v3 == 45 ) v2 = v1; v5 = *(unsigned __int8 *)v2; if ( !*v2 || (a7[v5 + 256] & 8) == 0 && (v5 != 46 || (a7[*((unsigned __int8 *)v2 + 1) + 256] & 8) == 0) ) return NAN; do { v6 = (unsigned __int8 *)v2; v8 = *(unsigned __int8 *)v2++; v7 = v8; } while ( (a7[v8 + 256] & 8) != 0 ); if ( v7 == 46 ) { v9 = (unsigned __int8 *)v2; do v6 = v9++; while ( (a7[*v6 + 256] & 8) != 0 ); } v10 = v6 - 1; do { v12 = *++v10; v11 = v12; } while ( (a7[v12] & 8) != 0 ); if ( !v11 ) return atof(a1); else return NAN; }
GD Web Decomp Icon

GD Web Decomp

Raw Source