// // LevelTools::moveTriggerObjectsToArray from 0x60634c to 0x606400 (180 bytes) // // 2 xrefs: // > LevelTools::sortChannelOrderObjects @ 0x606650 // > @ 0x3ca80 // // 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; // x0 cocos2d::CCArray *v6; // x19 __int64 v7; // x20 cocos2d::CCObject *v8; // x0 v5 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a2, a3); v6 = v5; if ( v5 ) { LABEL_2: if ( (unsigned int)cocos2d::CCArray::count(v5) ) { while ( (unsigned int)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 + 1012) == 2900 && *(_BYTE *)(v7 + 1840) ) { v5 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(a2, *(int *)(v7 + 1844)); v6 = v5; if ( v5 ) goto LABEL_2; return; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source