//
// LevelTools::moveTriggerObjectsToArray from 0x32c758 to 0x32c7bc (100 bytes)
//
// 1 xrefs:
// > LevelTools::sortChannelOrderObjects @ 0x32c8ae
//
// 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 LevelTools::moveTriggerObjectsToArray(cocos2d::CCArray *a1, cocos2d::CCDictionary *a2, int a3)
{
cocos2d::CCArray *v5; // r0
cocos2d::CCArray *v6; // r4
int v7; // r5
cocos2d::CCObject *v8; // r0
LABEL_1:
v5 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a2, a3);
v6 = v5;
if ( v5 && cocos2d::CCArray::count(v5) )
{
while ( cocos2d::CCArray::count(v6) )
{
v7 = cocos2d::CCArray::objectAtIndex(v6, 0);
v8 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(v6, 0);
cocos2d::CCArray::addObject(a1, v8);
cocos2d::CCArray::removeObjectAtIndex(v6, 0, 1);
if ( *(_DWORD *)(v7 + 884) == 2900 && *(_BYTE *)(v7 + 1656) )
{
a3 = *(_DWORD *)(v7 + 1660);
goto LABEL_1;
}
}
}
}