//
// LevelTools::moveTriggerObjectsToArray from 0x1001a96b0 to 0x1001a9768 (184 bytes)
//
// 1 xrefs:
// > LevelTools::sortChannelOrderObjects @ 0x1001a9970
//
// 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 LevelTools::moveTriggerObjectsToArray(cocos2d::CCArray *a1, cocos2d::CCDictionary *a2, int a3)
{
cocos2d::CCObject *v5; // x0
cocos2d::CCObject *v6; // x21
__int64 v7; // x22
__int64 v8; // x0
v5 = cocos2d::CCDictionary::objectForKey(a2, a3);
if ( v5 )
{
v6 = v5;
LABEL_3:
if ( (unsigned int)sub_10024A36C(v6) )
{
while ( (unsigned int)sub_10024A36C(v6) )
{
v7 = sub_10024A388(v6, 0);
v8 = sub_10024A388(v6, 0);
sub_10024A2D0(a1, v8);
sub_10024A44C(v6, 0, 1);
if ( *(_DWORD *)(v7 + 1028) == 2900 && *(_BYTE *)(v7 + 1856) == 1 )
{
v6 = cocos2d::CCDictionary::objectForKey(a2, *(int *)(v7 + 1860));
if ( v6 )
goto LABEL_3;
return;
}
}
}
}
}