//
// sub_A298C from 0xa298c to 0xa29e4 (88 bytes)
//
// 1 xrefs:
// > sub_A1F18 @ 0xa1f24
//
// 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_A298C(__int64 a1, __int64 a2, _DWORD *a3, int *a4)
{
unsigned __int16 *v4; // x8
int v5; // w8
if ( a3 )
*a3 = 0;
if ( a4 )
{
*a4 = 64;
v4 = *(unsigned __int16 **)(a1 + 552);
if ( v4 && (*v4 | 2) != 3 )
{
v5 = v4[9];
if ( v5 )
goto LABEL_10;
}
else
{
if ( *(_DWORD *)(a1 + 164) == 2 )
{
v5 = 64;
LABEL_10:
*a4 = v5;
return 0;
}
*a4 = 0;
}
}
return 0;
}