//
// sub_1005CBC28 from 0x1005cbc28 to 0x1005cbc9c (116 bytes)
//
// 1 xrefs:
// > sub_1005CDC84 @ 0x1005cde24
//
// 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:28 +0000
//
__int64 __fastcall sub_1005CBC28(__int64 a1, __int64 a2, __int64 a3)
{
__int64 result; // x0
__int64 v7; // x20
if ( !*(_QWORD *)(a1 + 496) )
return 0;
result = sub_100568D04(*(_QWORD *)(a1 + 168), 0);
if ( !(_DWORD)result )
{
v7 = (*(__int64 (__fastcall **)(__int64, __int64, __int64))(a1 + 496))(a1, a2, a3);
result = sub_100568D84(*(_QWORD *)(a1 + 168));
if ( !(_DWORD)result )
{
result = v7;
if ( !(_DWORD)v7 )
return 0;
}
}
return result;
}