//
// sub_1800D5230 from 0x1800d5230 to 0x1800d5246 (22 bytes)
//
// 4 xrefs:
// > sub_180018CF0 @ 0x180018d5c
// > sub_180025F50 @ 0x180025fbc
// > sub_1800363B0 @ 0x18003641c
// > sub_18003D900 @ 0x18003d96c
//
// 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:10 +0000
//
__int64 __fastcall sub_1800D5230(__int64 a1, _DWORD *a2)
{
if ( !a2 )
return 31;
*a2 = *(_DWORD *)(a1 + 968);
return 0;
}