// // sub_1800CC6D0 from 0x1800cc6d0 to 0x1800cc78a (186 bytes) // // 3 xrefs: // > sub_1800CAC90 @ 0x1800cae1e // > sub_1800CC6D0 @ 0x1800cc767 // > @ 0x1801fe664 // // 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 10:54:07 +0000 // __int64 __fastcall sub_1800CC6D0(__int64 a1, _QWORD *a2) { int v3; // r9d __int64 v4; // rdx _QWORD *v5; // rsi _QWORD *v6; // rbx __int64 result; // rax if ( *(_QWORD *)(a1 + 16) ) { v3 = 0; if ( *(int *)(a1 + 24) > 0 ) { v4 = 0; do { v4 += 8; ++v3; *(_QWORD *)(*(_QWORD *)(v4 + *(_QWORD *)(a1 + 16) - 8) + 8LL) = *a2; *(_QWORD *)(*(_QWORD *)(v4 + *(_QWORD *)(a1 + 16) - 8) + 16LL) = a2[1]; } while ( v3 < *(_DWORD *)(a1 + 24) ); } } else { *(_QWORD *)(*(_QWORD *)(a1 + 96) + 8LL) = *a2; *(_QWORD *)(*(_QWORD *)(a1 + 96) + 16LL) = a2[1]; } v5 = (_QWORD *)(a1 + 400); v6 = *(_QWORD **)(a1 + 400); if ( v6 == (_QWORD *)(a1 + 400) ) return 0; while ( 1 ) { result = sub_1800CC6D0(v6[2], a2); if ( (_DWORD)result ) break; v6 = (_QWORD *)*v6; if ( v6 == v5 ) return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source