//
// sub_1004C555C from 0x1004c555c to 0x1004c55a8 (76 bytes)
//
// 4 xrefs:
// > ??> @ 0x100828638
// > ??> @ 0x1008287e0
// > ??> @ 0x100828988
// > ??> @ 0x100828b18
//
// 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_1004C555C(__int64 a1, __int64 a2, __int64 a3)
{
const char *v3; // x8
if ( !a2 )
return 31;
if ( (int)a3 >= 256 )
a3 = 256;
else
a3 = (unsigned int)a3;
v3 = *(const char **)(a1 + 48);
if ( !v3 )
v3 = "";
sub_1004C6BD0(a2, v3, a3);
return 0;
}