// // LevelEditorLayer::addToGroup from 0x6607a0 to 0x660840 (160 bytes) // // 2 xrefs: // > @ 0x51af8 // > @ 0x11552a8 // // 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 LevelEditorLayer::addToGroup(LevelEditorLayer *a1, GameObject *a2, int a3, bool a4) { _BOOL4 v4; // w22 cocos2d::CCArray *TriggerGroup; // x0 cocos2d::CCArray *v9; // x20 v4 = a4; if ( a3 <= 9999 ) { GJBaseGameLayer::addToGroup(a1, a2, a3, a4); if ( a2->m_isSpawnOrderTrigger ) { TriggerGroup = LevelEditorLayer::getTriggerGroup(a1, a3); v9 = TriggerGroup; if ( v4 || !(unsigned __int8)cocos2d::CCArray::containsObject(TriggerGroup, a2) ) cocos2d::CCArray::addObject(v9, a2); } a1->m_unk3b22 = 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source