//
// sub_CEE7F0 from 0xcee7f0 to 0xcee884 (148 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
//
_QWORD *__fastcall sub_CEE7F0(_QWORD *result, __int64 a2, __int64 a3)
{
_QWORD *v3; // x20
char v4; // w21
char *v5; // x19
_BYTE *v6; // x22
v3 = result;
v4 = a2;
v5 = (char *)result + *(_QWORD *)(*result - 24LL);
if ( v5[225] )
{
v5[224] = a2;
}
else
{
v6 = *((_BYTE **)v5 + 30);
if ( !v6 )
sub_D13870((unsigned __int8)v5[225], a2, a3);
if ( !v6[56] )
{
sub_D204B0(*((_QWORD *)v5 + 30));
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v6 + 48LL))(v6, 32);
}
v5[224] = v4;
v5[225] = 1;
return v3;
}
return result;
}