{"type": "func", "start": 8786892, "end": 8787032, "name": "EditButtonBar::onDotClicked", "pseudocode": "// \n// EditButtonBar::onDotClicked from 0x8613cc to 0x861458 (140 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x56020\n// > EditButtonBar::loadFromItems @ 0x861cb4\n// > <???> @ 0x1541ed0\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 12:55:36 +0000\n// \n\n__int64 __fastcall EditButtonBar::onDotClicked(cocos2d::CCArray ***this, cocos2d::CCObject *a2)\n{\n  int v4; // w21\n  __int64 result; // x0\n  int v6; // w0\n  EditorSFXManager *v7; // x0\n\n  v4 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);\n  result = EditButtonBar::getPage(this);\n  if ( v4 != (_DWORD)result )\n  {\n    if ( *((_BYTE *)this + 328) )\n    {\n      v7 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)*((unsigned __int8 *)this + 328));\n      EditorSFXManager::playAction(v7, 278);\n    }\n    v6 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);\n    return EditButtonBar::goToPage(this, v6);\n  }\n  return result;\n}", "assembly": "; \n; EditButtonBar::onDotClicked from 0x8613cc to 0x861458 (140 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x56020\n; > EditButtonBar::loadFromItems @ 0x861cb4\n; > <???> @ 0x1541ed0\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 12:55:36 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x8613cc\nMOV             X29, SP                                                ; +0x4, 0x8613d0\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x8613d4\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x8613d8\nMOV             X20, X0                                                ; +0x10, 0x8613dc\nMOV             X19, X1                                                ; +0x14, 0x8613e0\nMOV             X0, X1                                                 ; +0x18, 0x8613e4\nLDR             X1, [X1]                                               ; +0x1c, 0x8613e8\nLDR             X1, [X1,#0x40]                                         ; +0x20, 0x8613ec\nBLR             X1                                                     ; +0x24, 0x8613f0\nMOV             W21, W0                                                ; +0x28, 0x8613f4\nMOV             X0, X20; this                                          ; +0x2c, 0x8613f8\nBL              _ZN13EditButtonBar7getPageEv; EditButtonBar::getPage(void) ; +0x30, 0x8613fc\nCMP             W21, W0                                                ; +0x34, 0x861400\nB.EQ            loc_861448                                             ; +0x38, 0x861404\nLDRB            W0, [X20,#0x148]; this                                 ; +0x3c, 0x861408\nCBNZ            W0, loc_861438                                         ; +0x40, 0x86140c\nLDR             X1, [X19]                                              ; +0x44, 0x861410\nMOV             X0, X19                                                ; +0x48, 0x861414\nLDR             X1, [X1,#0x40]                                         ; +0x4c, 0x861418\nBLR             X1                                                     ; +0x50, 0x86141c\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x54, 0x861420\nMOV             W1, W0; int                                            ; +0x58, 0x861424\nMOV             X0, X20; this                                          ; +0x5c, 0x861428\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x60, 0x86142c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x861430\nB               _ZN13EditButtonBar8goToPageEi; EditButtonBar::goToPage(int) ; +0x68, 0x861434\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x6c, 0x861438\nMOV             W1, #0x116; int                                        ; +0x70, 0x86143c\nBL              _ZN16EditorSFXManager10playActionEi; EditorSFXManager::playAction(int) ; +0x74, 0x861440\nB               loc_861410                                             ; +0x78, 0x861444\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x7c, 0x861448\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x80, 0x86144c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x84, 0x861450\nRET                                                                    ; +0x88, 0x861454", "xrefs": ["<???> @ 0x56020", "EditButtonBar::loadFromItems @ 0x861cb4", "<???> @ 0x1541ed0"], "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"}