//
// sub_1004BB540 from 0x1004bb540 to 0x1004bb58c (76 bytes)
//
// 2 xrefs:
// > sub_1004CE560 @ 0x1004ce5d4
// > sub_1004D0A0C @ 0x1004d0a68
//
// 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_1004BB540(__int64 a1, __int64 a2)
{
if ( (int)sub_1004C6AA0(a2) > 255 )
return 31;
sub_1004C6BD0(a1, a2, 256);
return 0;
}