//
// EditorUI::onViewButton from 0xbfee10 to 0xbfee44 (52 bytes)
//
// 3 xrefs:
// > ??> @ 0x58240
// > EditorUI::createViewButton @ 0xbfeea4
// > ??> @ 0x1542040
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:03:47 +0000
//
__int64 __fastcall EditorUI::onViewButton(EditorUI *this, cocos2d::CCObject *a2)
{
int v3; // w0
v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
return EditorUI::toggleViewOption(this, v3);
}