//
// sub_1005EB2C4 from 0x1005eb2c4 to 0x1005eb31c (88 bytes)
//
// 1 xrefs:
// > sub_10058512C @ 0x10058514c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:09:45 +0000
//
__int64 __fastcall sub_1005EB2C4(__int64 a1, _DWORD *a2)
{
__int64 result; // x0
_OWORD v4[3]; // [xsp+0h] [xbp-50h] BYREF
__int64 v5; // [xsp+30h] [xbp-20h]
v5 = 0;
memset(v4, 0, sizeof(v4));
result = (*(__int64 (__fastcall **)(_QWORD, _QWORD, _OWORD *))(*(_QWORD *)(a1 + 96) + 136LL))(
*(_QWORD *)(a1 + 96),
*(unsigned int *)(a1 + 192),
v4);
if ( !(_DWORD)result )
*a2 = HIDWORD(v4[0]);
return result;
}