//
// sub_DC0FD8 from 0xdc0fd8 to 0xdc1004 (44 bytes)
//
// 2 xrefs:
// > OBJ_NAME_do_all_sorted @ 0xdc15f8
// > OBJ_NAME_do_all_sorted @ 0xdc1600
//
// 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
//
_DWORD *__fastcall sub_DC0FD8(_DWORD *result, __int64 a2)
{
int v2; // w2
__int64 v3; // x3
if ( *result == *(_DWORD *)a2 )
{
v2 = *(_DWORD *)(a2 + 4);
v3 = *(_QWORD *)(a2 + 8);
*(_DWORD *)(a2 + 4) = v2 + 1;
*(_QWORD *)(v3 + 8LL * v2) = result;
}
return result;
}