//
// sub_65A6C from 0x65a6c to 0x65abc (80 bytes)
//
// 2 xrefs:
// > sub_6A544 @ 0x6a7dc
// > sub_77BA0 @ 0x77c18
//
// 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:13:55 +0000
//
__int64 __fastcall sub_65A6C(__int64 a1)
{
__int64 result; // x0
result = *(_QWORD *)(a1 + 8);
if ( result )
{
result = sub_CB928(result, 0, 0, 4);
if ( !(_DWORD)result )
{
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 8) + 16LL))(*(_QWORD *)(a1 + 8));
if ( !(_DWORD)result )
*(_QWORD *)(a1 + 8) = 0;
}
}
return result;
}