//
// sub_1005C2214 from 0x1005c2214 to 0x1005c2270 (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x100839f10
//
// 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_1005C2214(__int64 a1, __int64 a2)
{
__int64 *v3; // x0
__int64 *v4; // x20
v3 = (__int64 *)sub_1005BFADC(*(_QWORD *)(a2 + 32));
v4 = sub_1005B7988(v3);
if ( !v4 )
return 0;
if ( !sub_1005BFAE4(*(_QWORD *)(a1 + 32), v4) )
return 0;
sub_1005B7118(v4);
return 1;
}