//
// sub_10047ADA8 from 0x10047ada8 to 0x10047ae14 (108 bytes)
//
// 0 xrefs:
//
// 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
//
bool __fastcall sub_10047ADA8(__int64 a1, int a2)
{
__int64 v2; // x29
__int64 v3; // x30
char v6; // [xsp+Fh] [xbp-21h] BYREF
__int64 v7; // [xsp+20h] [xbp-10h]
__int64 v8; // [xsp+28h] [xbp-8h]
if ( a2 == 10 )
return 1;
if ( a2 != 13 )
return 0;
v7 = v2;
v8 = v3;
sub_1004AA588(*(_QWORD *)(a1 + 368), &v6);
sub_1004AA8B8(*(_QWORD *)(a1 + 368), 0xFFFFFFFFLL, 1);
return v6 != 10;
}