//
// sub_A8D54 from 0xa8d54 to 0xa8d70 (28 bytes)
//
// 1 xrefs:
// > sub_45DEE @ 0x45dfc
//
// 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
//
int __fastcall sub_A8D54(int a1, _QWORD *a2)
{
int v2; // r2
v2 = *(_DWORD *)(a1 + 92);
__dmb(0xBu);
if ( (v2 & 0x800) == 0 )
return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 4))(a1);
*a2 = *(_QWORD *)(a1 + 296);
return 0;
}