//
// sub_5218C from 0x5218c to 0x521d8 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c068
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:13:47 +0000
//
void __fastcall sub_5218C(__int64 a1)
{
__int64 (__fastcall ***v2)(_QWORD); // x0
__int64 v3; // x8
v2 = *(__int64 (__fastcall ****)(_QWORD))(a1 + 40);
if ( v2 && ((**v2)(v2) & 1) != 0 )
{
v3 = *(_QWORD *)(*(_QWORD *)(a1 + 40) + 376LL);
if ( v3 )
*(_BYTE *)(v3 + 136) = 1;
}
JUMPOUT(0x5253C);
}