// // sub_6394F8 from 0x6394f8 to 0x639562 (106 bytes) // // 0 xrefs: // // 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 // int __fastcall sub_6394F8(int a1, char *a2, unsigned int a3, int *a4) { int v4; // r5 bool v5; // zf int v6; // r4 int v7; // r2 bool v8; // zf int v11; // r0 int v12; // r0 if ( a3 <= 3 || (unsigned int)(unsigned __int8)*a2 - 48 > 9 || (unsigned int)(unsigned __int8)a2[1] - 48 > 9 || (unsigned int)(unsigned __int8)a2[2] - 48 > 9 ) { return 0; } v4 = (unsigned __int8)a2[3]; v5 = v4 == 32; if ( v4 != 32 ) v5 = a3 == 5; v6 = v5; if ( v5 ) { v11 = strtol(a2, nullptr, 10); v12 = sub_63B7F0(v11); if ( v12 == 1 ) *a4 = 0; else *a4 = v12; } else if ( v4 == 45 ) { v7 = *(_DWORD *)(a1 + 1144); v8 = v7 == 2; if ( v7 != 2 ) v8 = v7 == 7; if ( v8 ) { v7 = 1; v6 = 1; } else { v6 = 0; } if ( v8 ) *a4 = v7; } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source