//
// sub_CB0580 from 0xcb0580 to 0xcb05c4 (68 bytes)
//
// 1 xrefs:
// > sub_C998E4 @ 0xc9999c
//
// 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_CB0580(__int64 a1)
{
__int64 v1; // x1
__int64 v2; // x2
v1 = 0;
if ( *(_DWORD *)a1 )
v1 = *(_QWORD *)(a1 + 352);
v2 = 0;
if ( *(_DWORD *)(a1 + 4) )
v2 = *(_QWORD *)(a1 + 376);
return off_12603A8(*(_QWORD *)(a1 + 40), v1, v2);
}