//
// sub_CCFD0C from 0xccfd0c to 0xccfd64 (88 bytes)
//
// 7 xrefs:
// > sub_CCEF54 @ 0xccefbc
// > sub_CCEF54 @ 0xccf0c4
// > sub_CCF834 @ 0xccf89c
// > sub_CCF834 @ 0xccf9b4
// > sub_CCFDF8 @ 0xccfe18
// > sub_CCFE50 @ 0xccfe70
// > sub_CD08C8 @ 0xcd0908
//
// 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_CCFD0C(__int64 result, unsigned int a2)
{
__int64 **v2; // x19
__int64 i; // x20
v2 = *(__int64 ***)(result + 40);
for ( i = result; v2; v2 = (__int64 **)*v2 )
result = ((__int64 (__fastcall *)(_QWORD, __int64, _QWORD))v2[1])(a2, i, *((unsigned int *)v2 + 4));
return result;
}