//
// sub_5218C from 0x5218c to 0x521d8 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c068
//
// 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
//
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);
}