//
// sub_1800D9850 from 0x1800d9850 to 0x1800d989d (77 bytes)
//
// 3 xrefs:
// > sub_1800E7670 @ 0x1800e76cc
// > sub_1800E7B20 @ 0x1800e7bb8
// > ??> @ 0x1801ff138
//
// 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:13 +0000
//
__int64 __fastcall sub_1800D9850(_BYTE *a1, char *a2)
{
if ( (int)sub_1800B7F50(a2) >= 256 )
return 31;
sub_1800B7D20(a1, a2, 256);
return 0;
}