// // sub_1006A04C4 from 0x1006a04c4 to 0x1006a05a8 (228 bytes) // // 1 xrefs: // > sub_10069F558 @ 0x10069f5b8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:11:39 +0000 // __int64 __fastcall sub_1006A04C4(__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_1006A1D18(); 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