// // sub_1005C7190 from 0x1005c7190 to 0x1005c7204 (116 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:48 +0000 // __int64 __fastcall sub_1005C7190(__int64 *a1, __int64 *a2) { __int64 v2; // rcx __int64 v3; // rax __int64 v5; // rdi int v6; // eax __int64 v7; // rdi __int64 result; // rax v2 = *((int *)a1 + 6); v3 = *a1; if ( (int)v2 >= (int)(-1431655765 * ((unsigned __int64)(a1[1] - *a1) >> 3)) ) goto LABEL_8; *((_DWORD *)a1 + 6) = v2 + 1; v5 = v3 + 24 * v2; if ( (*(_BYTE *)v5 & 1) != 0 ) { v6 = atoi(*(const char **)(v5 + 16)); if ( !v6 ) { LABEL_8: result = 0; goto LABEL_9; } } else { v6 = atoi((const char *)(v5 + 1)); if ( !v6 ) goto LABEL_8; } v7 = a1[4]; if ( !v7 ) goto LABEL_8; result = sub_1001446A0(v7, v6); LABEL_9: *a2 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source