{"type": "func", "start": 12578320, "end": 12578372, "name": "EditorUI::onViewButton", "pseudocode": "// \n// EditorUI::onViewButton from 0xbfee10 to 0xbfee44 (52 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x58240\n// > EditorUI::createViewButton @ 0xbfeea4\n// > <???> @ 0x1542040\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:03:47 +0000\n// \n\n__int64 __fastcall EditorUI::onViewButton(EditorUI *this, cocos2d::CCObject *a2)\n{\n  int v3; // w0\n\n  v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);\n  return EditorUI::toggleViewOption(this, v3);\n}", "assembly": "; \n; EditorUI::onViewButton from 0xbfee10 to 0xbfee44 (52 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x58240\n; > EditorUI::createViewButton @ 0xbfeea4\n; > <???> @ 0x1542040\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:03:47 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xbfee10\nMOV             X29, SP                                                ; +0x4, 0xbfee14\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xbfee18\nMOV             X19, X0                                                ; +0xc, 0xbfee1c\nMOV             X0, X1                                                 ; +0x10, 0xbfee20\nLDR             X1, [X1]                                               ; +0x14, 0xbfee24\nLDR             X1, [X1,#0x40]                                         ; +0x18, 0xbfee28\nBLR             X1                                                     ; +0x1c, 0xbfee2c\nMOV             W1, W0; int                                            ; +0x20, 0xbfee30\nMOV             X0, X19; this                                          ; +0x24, 0xbfee34\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x28, 0xbfee38\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x2c, 0xbfee3c\nB               _ZN8EditorUI16toggleViewOptionEi; EditorUI::toggleViewOption(int) ; +0x30, 0xbfee40", "xrefs": ["<???> @ 0x58240", "EditorUI::createViewButton @ 0xbfeea4", "<???> @ 0x1542040"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}