//
// sub_C3498 from 0xc3498 to 0xc34f8 (96 bytes)
//
// 1 xrefs:
// > sub_C32A0 @ 0xc3358
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:14:45 +0000
//
__int64 __fastcall sub_C3498(__int64 a1, _QWORD *a2, _DWORD *a3, _BYTE *a4)
{
__int64 result; // x0
result = sub_C29DC(a1);
if ( !(_DWORD)result )
{
if ( a4 )
*a4 = *(_BYTE *)(a1 + 593);
if ( a3 )
*a3 = *(_DWORD *)(a1 + 576);
*a2 = *(_QWORD *)(a1 + 560);
*(_BYTE *)(a1 + 593) = 1;
}
return result;
}