//
// sub_CCF30C from 0xccf30c to 0xccf424 (280 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
//
bool __fastcall sub_CCF30C(__int64 a1, __int64 a2)
{
_BOOL8 result; // x0
sub_CCFA58(a1);
*(_QWORD *)(a1 + 216) = 0;
*(_QWORD *)a1 = off_111DB90;
*(_DWORD *)(a1 + 224) = 0;
*(_BYTE *)(a1 + 228) = 0;
*(_QWORD *)(a1 + 232) = 0;
*(_QWORD *)(a1 + 240) = 0;
*(_QWORD *)(a1 + 248) = 0;
*(_QWORD *)(a1 + 256) = 0;
sub_CD0878(a1);
if ( (unsigned __int8)sub_CFFB08(a1 + 208) )
{
*(_QWORD *)(a1 + 240) = sub_CFDB80(a1 + 208);
if ( (unsigned __int8)sub_CFFCB8(a1 + 208) )
goto LABEL_3;
LABEL_7:
*(_QWORD *)(a1 + 248) = 0;
if ( (unsigned __int8)sub_CFFD24(a1 + 208) )
goto LABEL_4;
LABEL_8:
*(_QWORD *)(a1 + 256) = 0;
goto LABEL_5;
}
*(_QWORD *)(a1 + 240) = 0;
if ( !(unsigned __int8)sub_CFFCB8(a1 + 208) )
goto LABEL_7;
LABEL_3:
*(_QWORD *)(a1 + 248) = sub_CFE894(a1 + 208);
if ( !(unsigned __int8)sub_CFFD24(a1 + 208) )
goto LABEL_8;
LABEL_4:
*(_QWORD *)(a1 + 256) = sub_CFE8FC(a1 + 208);
LABEL_5:
*(_QWORD *)(a1 + 232) = a2;
*(_DWORD *)(a1 + 224) = 0;
result = a2 == 0;
*(_BYTE *)(a1 + 228) = 0;
*(_QWORD *)(a1 + 216) = 0;
*(_DWORD *)(a1 + 28) = 0;
*(_DWORD *)(a1 + 32) = result;
return result;
}