//
// sub_1800CDED0 from 0x1800cded0 to 0x1800cdf1e (78 bytes)
//
// 4 xrefs:
// > sub_1801026E0 @ 0x1801028fe
// > sub_1801026E0 @ 0x180102a6a
// > sub_1801026E0 @ 0x180102ab6
// > ??> @ 0x1801fe7e4
//
// 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:08 +0000
//
__int64 __fastcall sub_1800CDED0(__int64 a1, _QWORD *a2)
{
char v4; // al
__int64 v5; // rcx
v4 = (***(__int64 (__fastcall ****)(_QWORD))(a1 + 472))(*(_QWORD *)(a1 + 472));
v5 = *(_QWORD *)(a1 + 472);
if ( v4 )
*a2 = *(_QWORD *)(v5 + 192);
else
*a2 = v5;
return 0;
}