//
// sub_CCEC58 from 0xccec58 to 0xccecbc (100 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_CCEC58(__int64 a1, unsigned __int8 a2)
{
_BYTE *v2; // x19
unsigned int v3; // w20
v2 = *(_BYTE **)(a1 + 240);
v3 = a2;
if ( !v2 )
sub_D13870();
if ( v2[56] )
return (unsigned __int8)v2[a2 + 57];
sub_D204B0(v2);
return (*(unsigned __int8 (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)v2 + 48LL))(v2, v3);
}