//
// sub_1004C8360 from 0x1004c8360 to 0x1004c839c (60 bytes)
//
// 2 xrefs:
// > sub_1004C641C @ 0x1004c6434
// > sub_1004C6460 @ 0x1004c6478
//
// 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:06:24 +0000
//
__int64 __fastcall sub_1004C8360(_QWORD *a1, int a2)
{
__int64 *v2; // x0
__int64 v3; // x8
int v5; // [xsp+Ch] [xbp-4h] BYREF
v5 = a2;
v2 = sub_100019268(a1, &v5);
if ( v2 && (v3 = v2[3]) != 0 )
return *(unsigned int *)(v3 + 8);
else
return 1;
}