//
// LevelEditorLayer::hasAction from 0x366294 to 0x3662b0 (28 bytes)
//
// 2 xrefs:
// > EditorUI::updateButtons @ 0x39cb56
// > EditorUI::updateButtons @ 0x39cc00
//
// 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
//
bool LevelEditorLayer::hasAction(LevelEditorLayer *a1, bool a2)
{
int v2; // r3
if ( a2 )
v2 = 11928;
else
v2 = 11932;
return cocos2d::CCArray::count(*(cocos2d::CCArray **)((char *)&a1->GJBaseGameLayer::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable
+ v2)) != 0;
}