//
// sub_C9BB94 from 0xc9bb94 to 0xc9bbd8 (68 bytes)
//
// 4 xrefs:
// > sub_CA34E8 @ 0xca3508
// > sub_CA3658 @ 0xca36cc
// > sub_CA4098 @ 0xca41bc
// > sub_CB3070 @ 0xcb3100
//
// 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 *__usercall sub_C9BB94@(__int64 a1@, _QWORD *a2@)
{
__int64 v2; // x1
__int64 v3; // x2
__int64 v4; // x0
v2 = *(_QWORD *)(a1 + 8);
if ( v2 )
{
v3 = *(int *)(v2 + 16);
v4 = *(_QWORD *)(v2 + 8);
*a2 = v4;
a2[1] = v2;
a2[2] = v4 + 8 * v3;
}
else
{
*a2 = 0;
a2[1] = 0;
a2[2] = 0;
}
return a2;
}