//
// LevelEditorLayer::hasAction from 0x460288 to 0x4602a4 (28 bytes)
//
// 2 xrefs:
// > EditorUI::updateButtons @ 0x486058
// > EditorUI::updateButtons @ 0x48610a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:48:52 +0000
//
bool __fastcall LevelEditorLayer::hasAction(LevelEditorLayer *this, int a2)
{
int v2; // r3
if ( a2 )
v2 = 11860;
else
v2 = 11864;
return cocos2d::CCArray::count(*(cocos2d::CCArray **)((char *)this + v2)) != 0;
}