//
// sub_C9E248 from 0xc9e248 to 0xc9e2e8 (160 bytes)
//
// 2 xrefs:
// > sub_CAF1C4 @ 0xcaf520
// > sub_CAF1C4 @ 0xcaf664
//
// 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_C9E248(__int64 a1, __int64 a2)
{
int v2; // w3
__int64 v3; // x2
__int64 v4; // x6
int v5; // w3
int v6; // w20
unsigned int v7; // w20
_DWORD v9[6]; // [xsp+20h] [xbp+20h] BYREF
__int64 v10; // [xsp+38h] [xbp+38h]
__int64 v11; // [xsp+40h] [xbp+40h]
__int64 v12; // [xsp+48h] [xbp+48h]
v2 = *(_DWORD *)(a1 + 136);
v3 = *(_QWORD *)(a1 + 48);
v4 = a1 + 4LL * (v2 & 3);
v9[4] = 3;
v5 = *(_DWORD *)(a1 + 4LL * (v2 >> 2) + 176);
v6 = *(_DWORD *)(v4 + 140);
v10 = v3 + 4364;
v11 = v3 + 7796;
v9[0] = 0;
v7 = v6 + v5;
v12 = v3 + 23064;
off_1260250(a2, v9);
return off_1260248(v7, v9);
}