//
// sub_100353504 from 0x100353504 to 0x100353544 (64 bytes)
//
// 11 xrefs:
// > cocos2d::CCScheduler::removeHashElement @ 0x1001aa2dc
// > sub_10024A094 @ 0x10024a0b8
// > sub_10024A0EC @ 0x10024a100
// > sub_10024A124 @ 0x10024a13c
// > sub_10024A15C @ 0x10024a17c
// > sub_10024A210 @ 0x10024a228
// > sub_10024A210 @ 0x10024a230
// > sub_10024A300 @ 0x10024a324
// > sub_10024A514 @ 0x10024a530
// > sub_10024A560 @ 0x10024a598
// > cocos2d::CCActionManager::deleteHashElement @ 0x1002f41cc
//
// 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_100353504(void **a1)
{
void *v2; // x0
v2 = *a1;
if ( v2 )
{
sub_100353544(v2);
free(*((void **)*a1 + 2));
free(*a1);
*a1 = nullptr;
}
}