//
// sub_CF0304 from 0xcf0304 to 0xcf0370 (108 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_CF0304(_QWORD *a1, __int64 a2, __int64 a3)
{
__int64 v5; // x0
__int64 result; // x0
v5 = *(_QWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24LL) + 232);
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 96LL))(v5);
if ( a3 != result )
return sub_CCF1DC(
(__int64)a1 + *(_QWORD *)(*a1 - 24LL),
*(_DWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24LL) + 32) | 1u);
return result;
}