//
// sub_100353544 from 0x100353544 to 0x100353584 (64 bytes)
//
// 4 xrefs:
// > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1001ab708
// > sub_10024A45C @ 0x10024a460
// > cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x1002f4b48
// > sub_100353504 @ 0x10035351c
//
// 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_100353544(__int64 a1)
{
__int64 v2; // x9
unsigned int v3; // w8
sub_1003536C4(a1);
while ( *(_DWORD *)a1 )
{
v2 = *(_QWORD *)(a1 + 16);
v3 = *(_DWORD *)a1 - 1;
*(_DWORD *)a1 = v3;
cocos2d::CCObject::release(*(cocos2d::CCObject **)(v2 + 8LL * v3));
}
}