// // sub_1005C6C80 from 0x1005c6c80 to 0x1005c6cd2 (82 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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 12:32:47 +0000 // int __fastcall sub_1005C6C80(__int64 *a1, int *a2) { __int64 v2; // rdx __int64 v3; // rcx int result; // eax __int64 v5; // rdi const char *v6; // rdi v2 = *((int *)a1 + 6); v3 = *a1; result = 0; if ( (int)v2 < (int)(-1431655765 * ((unsigned __int64)(a1[1] - *a1) >> 3)) ) { *((_DWORD *)a1 + 6) = v2 + 1; v5 = v3 + 24 * v2; if ( (*(_BYTE *)v5 & 1) != 0 ) v6 = *(const char **)(v5 + 16); else v6 = (const char *)(v5 + 1); result = atoi(v6); } *a2 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source