//
// sub_1004B40E0 from 0x1004b40e0 to 0x1004b4118 (56 bytes)
//
// 1 xrefs:
// > sub_1004D4DC4 @ 0x1004d4dcc
//
// 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_1004B40E0(_BYTE *a1, __int64 a2)
{
if ( a1 && (_DWORD)a2 )
{
if ( qword_1008B15A0 )
sub_1004C6BD0(a1, qword_1008B15A0, a2);
else
*a1 = 0;
}
return 0;
}