//
// sub_C3170 from 0xc3170 to 0xc325c (236 bytes)
//
// 2 xrefs:
// > sub_C3028 @ 0xc3124
// > sub_C3028 @ 0xc3138
//
// 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_C3170(__int64 *a1, __int64 a2)
{
__int64 v2; // x0
__int64 result; // x0
v2 = *a1;
if ( (_DWORD)a2 != 128 )
return 0;
if ( !*(_QWORD *)(v2 + 576) )
return 0;
result = sub_C3264(v2, a2);
if ( !(_DWORD)result )
return 0;
return result;
}