//
// LevelEditorLayer::getTriggerGroup from 0x10036195c to 0x1003619b4 (88 bytes)
//
// 5 xrefs:
// > LevelEditorLayer::spawnGroupPreview @ 0x100360b28
// > LevelEditorLayer::toggleGroupPreview @ 0x1003615f8
// > LevelEditorLayer::stopTriggersInGroup @ 0x1003616cc
// > LevelEditorLayer::addToGroup @ 0x100361c94
// > LevelEditorLayer::removeFromGroup @ 0x100361d0c
//
// 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
//
cocos2d::CCArray *__fastcall LevelEditorLayer::getTriggerGroup(LevelEditorLayer *a1, int a2)
{
cocos2d::CCArray *v2; // x19
intptr_t v4; // x21
v2 = a1->m_triggerGroups.__begin_[a2];
if ( !v2 )
{
v4 = a2;
v2 = (cocos2d::CCArray *)sub_10024A15C();
a1->m_triggerGroups.__begin_[v4] = v2;
cocos2d::CCDictionary::setObject(a1->m_triggerGroupsDict, v2, v4);
}
return v2;
}