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