//
// sub_CCB70 from 0xccb70 to 0xccbb8 (72 bytes)
//
// 2 xrefs:
// > sub_6B00C @ 0x6b3c0
// > ??> @ 0x10f818
//
// 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 12:14:49 +0000
//
__int64 __fastcall sub_CCB70(__int64 a1, _DWORD *a2)
{
__int64 result; // x0
__int64 v4; // x8
result = 31;
if ( a1 && a2 )
{
v4 = *((_QWORD *)off_114000 + *(int *)(a1 + 48) + 46);
if ( *(_BYTE *)(v4 + 8) )
{
result = 0;
*a2 = *(_DWORD *)(v4 + 1744);
}
else
{
return 67;
}
}
return result;
}