//
// sub_8B278 from 0x8b278 to 0x8b300 (136 bytes)
//
// 1 xrefs:
// > sub_8A6F0 @ 0x8a6f0
//
// 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_8B278(__int64 a1, unsigned int a2, unsigned int a3, unsigned int a4)
{
__int64 v8; // x0
__int64 result; // x0
int v10; // [xsp+Ch] [xbp-24h] BYREF
sub_8AEF0(a1, a2, 0, &v10);
v8 = *(_QWORD *)(a1 + 288);
if ( v8 )
{
*(_DWORD *)(v8 + 272) = v10;
result = sub_D2A18(v8, a2, a3, a4);
if ( (_DWORD)result )
return result;
return 0;
}
result = sub_E08C0(*(_QWORD *)(a1 + 368), v10 + a3);
if ( !(_DWORD)result )
return 0;
return result;
}