//
// sub_1800D7D80 from 0x1800d7d80 to 0x1800d7db0 (48 bytes)
//
// 2 xrefs:
// > sub_1800E45F0 @ 0x1800e4679
// > sub_1800FBAE0 @ 0x1800fbc0e
//
// 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_1800D7D80(__int64 a1, _DWORD *a2)
{
_QWORD **v4; // rdx
int v5; // ecx
_QWORD *i; // rax
if ( !a2 )
return 31;
v4 = (_QWORD **)(a1 + 648);
v5 = 0;
for ( i = *v4; i != v4; ++v5 )
i = (_QWORD *)*i;
*a2 = v5;
return 0;
}