//
// sub_52A42 from 0x52a42 to 0x52a58 (22 bytes)
//
// 2 xrefs:
// > sub_52A1A @ 0x52a2c
// > sub_66EE4 @ 0x66fea
//
// 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:40:44 +0000
//
int __fastcall sub_52A42(_DWORD *a1)
{
int v1; // r3
v1 = a1[1];
if ( v1 > 0 )
return 28;
a1[1] = v1 + 1;
return (**(int (__fastcall ***)(_DWORD))*a1)(*a1);
}