//
// sub_1004B0A7C from 0x1004b0a7c to 0x1004b0afc (128 bytes)
//
// 1 xrefs:
// > sub_1004D4C60 @ 0x1004d4d08
//
// 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_1004B0A7C(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 v5; // x19
__int64 v6; // x20
unsigned int v8; // [xsp+Ch] [xbp-24h] BYREF
v8 = a3;
v5 = *(_QWORD *)(*(_QWORD *)(a1 + 24) + 400LL);
sub_1004B5C70(v5);
if ( a2 )
v6 = sub_1004B01B8(a1, a2, &v8, 0, 1, (__int64 (__fastcall *)(_QWORD))sub_1004B0AFC);
else
v6 = 31;
sub_1004B5CA0(v5);
return v6;
}