{"type": "func", "start": 8786696, "end": 8786764, "name": "EditButtonBar::goToPage", "pseudocode": "// \n// EditButtonBar::goToPage from 0x861308 to 0x86134c (68 bytes)\n// \n// 7 xrefs:\n// > EditorUI::updateCreateMenu @ 0x7c2e0c\n// > EditButtonBar::onRight @ 0x861388\n// > EditButtonBar::onLeft @ 0x8613c8\n// > EditButtonBar::onDotClicked @ 0x861434\n// > EditorUI::setupCreateMenu @ 0xbfe574\n// > EditorUI::setupCreateMenu @ 0xbfe5ac\n// > <???> @ 0xfd228\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::goToPage(cocos2d::CCArray ***this, int a2)\n{\n  BoomScrollLayer::getTotalPages(*(this + 43));\n  BoomScrollLayer::instantMoveToPage(*(this + 43), a2 - 1);\n  BoomScrollLayer::instantMoveToPage(*(this + 43), a2);\n  return EditButtonBar::updateDotState((EditButtonBar *)this);\n}", "assembly": "; \n; EditButtonBar::goToPage from 0x861308 to 0x86134c (68 bytes)\n; \n; 7 xrefs:\n; > EditorUI::updateCreateMenu @ 0x7c2e0c\n; > EditButtonBar::onRight @ 0x861388\n; > EditButtonBar::onLeft @ 0x8613c8\n; > EditButtonBar::onDotClicked @ 0x861434\n; > EditorUI::setupCreateMenu @ 0xbfe574\n; > EditorUI::setupCreateMenu @ 0xbfe5ac\n; > <???> @ 0xfd228\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,#-0x20+var_s0]!                          ; +0x0, 0x861308\nMOV             X29, SP                                                ; +0x4, 0x86130c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x861310\nMOV             X19, X0                                                ; +0xc, 0x861314\nMOV             W20, W1                                                ; +0x10, 0x861318\nLDR             X0, [X0,#0x158]; this                                  ; +0x14, 0x86131c\nBL              _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0x18, 0x861320\nLDR             X0, [X19,#0x158]; this                                 ; +0x1c, 0x861324\nSUB             W1, W20, #1; int                                       ; +0x20, 0x861328\nBL              _ZN15BoomScrollLayer17instantMoveToPageEi; BoomScrollLayer::instantMoveToPage(int) ; +0x24, 0x86132c\nLDR             X0, [X19,#0x158]; this                                 ; +0x28, 0x861330\nMOV             W1, W20; int                                           ; +0x2c, 0x861334\nBL              _ZN15BoomScrollLayer17instantMoveToPageEi; BoomScrollLayer::instantMoveToPage(int) ; +0x30, 0x861338\nMOV             X0, X19; this                                          ; +0x34, 0x86133c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x38, 0x861340\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x3c, 0x861344\nB               _ZN13EditButtonBar14updateDotStateEv; EditButtonBar::updateDotState(void) ; +0x40, 0x861348", "xrefs": ["EditorUI::updateCreateMenu @ 0x7c2e0c", "EditButtonBar::onRight @ 0x861388", "EditButtonBar::onLeft @ 0x8613c8", "EditButtonBar::onDotClicked @ 0x861434", "EditorUI::setupCreateMenu @ 0xbfe574", "EditorUI::setupCreateMenu @ 0xbfe5ac", "<???> @ 0xfd228"], "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"}