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