// // sub_10058A47C from 0x10058a47c to 0x10058a510 (148 bytes) // // 2 xrefs: // > sub_10058A510 @ 0x10058a550 // > sub_10058A5FC @ 0x10058a638 // // 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_10058A47C(unsigned int *a1, __int64 a2) { int v4; // w8 __int64 result; // x0 int v6; // w0 __int64 v7; // x1 __int64 (__fastcall *v8)(_QWORD, _QWORD); // x2 v4 = *a1; result = *a1 - *(_DWORD *)a2; if ( v4 == *(_DWORD *)a2 ) { if ( qword_100882CB0 && (v6 = sub_1005DEA4C(qword_100882CB0), v7 = *a1, v6 > (int)v7) ) { v8 = *(__int64 (__fastcall **)(_QWORD, _QWORD))(sub_1005DEA60(qword_100882CB0, v7) + 8); return v8(*((_QWORD *)a1 + 1), *(_QWORD *)(a2 + 8)); } else { return strcmp(*((const char **)a1 + 1), *(const char **)(a2 + 8)); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source