//
// sub_D122A4 from 0xd122a4 to 0xd12308 (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_D122A4(_QWORD *a1, const char **a2, int a3)
{
if ( sub_D12184((__int64)(a1 + 2), *a2, a3 | 8u) )
return sub_CCF1DC((__int64)a1 + *(_QWORD *)(*a1 - 24LL), 0);
else
return sub_CCF1DC(
(__int64)a1 + *(_QWORD *)(*a1 - 24LL),
*(_DWORD *)((char *)a1 + *(_QWORD *)(*a1 - 24LL) + 32) | 4u);
}