//
// sub_D0BC9C from 0xd0bc9c to 0xd0bd10 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0x121e498
// > ??> @ 0x121f028
//
// 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_D0BC9C(_QWORD *a1, __int64 a2, __int64 a3)
{
if ( sub_CCE3F8(a1 + 13) )
return a1;
if ( !a2 && !a3 )
{
a1[20] = 1;
return a1;
}
if ( !a2 || a3 <= 0 )
return a1;
a1[19] = a2;
a1[20] = a3;
return a1;
}