//
// sub_538F8 from 0x538f8 to 0x5393e (70 bytes)
//
// 2 xrefs:
// > ??> @ 0x538f6
// > sub_5AAAC @ 0x5aae6
//
// 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_538F8(_DWORD *a1, int a2)
{
_BYTE v5[48]; // [sp+0h] [bp-40h] BYREF
qmemcpy(v5, &unk_228C0, sizeof(v5));
a1[16] = a2;
sub_53944(a1, 0);
sub_53990(a1, v5);
a1[17] = 0;
memset(a1 + 19, 0, 0x18u);
return 0;
}