// // sub_1800EC7E0 from 0x1800ec7e0 to 0x1800ec8c3 (227 bytes) // // 7 xrefs: // > sub_1800EC5C0 @ 0x1800ec5d0 // > sub_1800EC5C0 @ 0x1800ec5dc // > sub_1800EC8D0 @ 0x1800ecd41 // > sub_1800EC8D0 @ 0x1800ecd4d // > sub_1800EE7D0 @ 0x1800ee7e0 // > sub_1800EE7D0 @ 0x1800ee7ec // > @ 0x180200254 // // 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_1800EC7E0(_DWORD **a1) { int v2; // ecx __int64 v3; // rdx v2 = *((_DWORD *)a1 + 3); if ( (abs32(v2) & 0x80000000) != 0 ) { if ( *((int *)a1 + 2) > 0 ) return 28; if ( v2 > 0 && *a1 ) sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *a1); *a1 = nullptr; v2 = 0; *((_DWORD *)a1 + 3) = 0; } v3 = *((int *)a1 + 2); if ( (int)v3 < 0 ) { memset(&(*a1)[v3], 0, 4LL * -(int)v3); v2 = *((_DWORD *)a1 + 3); } *((_DWORD *)a1 + 2) = 0; if ( (int)abs32(v2) > 0 ) { if ( v2 > 0 ) { if ( *a1 ) sub_1800B6AA0(*((_QWORD *)off_1801AED20 + 52), *a1); } *a1 = nullptr; *((_DWORD *)a1 + 3) = 0; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source