//
// sub_1004B6280 from 0x1004b6280 to 0x1004b62d4 (84 bytes)
//
// 1 xrefs:
// > sub_1004B66C0 @ 0x1004b6800
//
// 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_1004B6280(__int64 a1, __int64 a2, __int64 a3, unsigned int *a4)
{
__int64 result; // x0
__int64 v7; // [xsp+8h] [xbp-18h]
v7 = 0;
result = (*(__int64 (**)(void))(*(_QWORD *)(a1 + 40) + 88LL))();
if ( !(_DWORD)result )
return sub_1004B5FB4(v7, *(_QWORD *)(v7 + 792), a2, *a4);
return result;
}