//
// sub_D120E0 from 0xd120e0 to 0xd1216c (140 bytes)
//
// 3 xrefs:
// > sub_D1216C @ 0xd12170
// > sub_D12174 @ 0xd12180
// > ??> @ 0x111f1a8
//
// 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_D120E0(__int64 a1)
{
_QWORD *v2; // x20
v2 = (_QWORD *)(a1 + 264);
*(_QWORD *)a1 = off_111F1A8;
*(_QWORD *)(a1 + 16) = off_111F1D0;
*(_QWORD *)(a1 + 264) = off_111F1F8;
*(_QWORD *)(a1 + 24) = off_121E6C0;
sub_D114B8(a1 + 24);
sub_CCE20C(a1 + 128);
*(_QWORD *)(a1 + 24) = off_111E9B0;
sub_CEA56C((unsigned int **)(a1 + 80));
*(_QWORD *)(a1 + 264) = off_111DB90;
return sub_CCFDF8(v2);
}