//
// sub_A8D54 from 0xa8d54 to 0xa8d70 (28 bytes)
//
// 1 xrefs:
// > sub_45DEE @ 0x45dfc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:36 +0000
//
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;
}