//
// sub_4D218 from 0x4d218 to 0x4d242 (42 bytes)
//
// 1 xrefs:
// > sub_4CE80 @ 0x4ceb0
//
// 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_4D218(int a1)
{
int v2; // r0
int v3; // r5
v2 = *(_DWORD *)(a1 + 348);
*(_DWORD *)(a1 + 348) = 0;
while ( v2 )
{
*(_BYTE *)(v2 + 256) = 0;
v3 = *(_DWORD *)(v2 + 252);
*(_DWORD *)(v2 + 252) = 0;
sub_4DD08();
v2 = v3;
}
return 0;
}