{"type": "func", "start": 4034802, "end": 4034840, "name": "EditButtonBar::goToPage", "pseudocode": "// \n// EditButtonBar::goToPage from 0x3d90f2 to 0x3d9118 (38 bytes)\n// \n// 5 xrefs:\n// > EditorUI::updateCreateMenu @ 0x37df98\n// > EditorUI::setupCreateMenu @ 0x39be3c\n// > EditorUI::setupCreateMenu @ 0x39be64\n// > EditButtonBar::onRight @ 0x3d9122\n// > EditButtonBar::onLeft @ 0x3d9130\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditButtonBar::goToPage(EditButtonBar *a1, int a2)\n{\n  BoomScrollLayer::getTotalPages(a1->m_scrollLayer);\n  BoomScrollLayer::instantMoveToPage(a1->m_scrollLayer, a2 - 1);\n  BoomScrollLayer::instantMoveToPage(a1->m_scrollLayer, a2);\n}", "assembly": "; \n; EditButtonBar::goToPage from 0x3d90f2 to 0x3d9118 (38 bytes)\n; \n; 5 xrefs:\n; > EditorUI::updateCreateMenu @ 0x37df98\n; > EditorUI::setupCreateMenu @ 0x39be3c\n; > EditorUI::setupCreateMenu @ 0x39be64\n; > EditButtonBar::onRight @ 0x3d9122\n; > EditButtonBar::onLeft @ 0x3d9130\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x3d90f2\nMOV             R4, R0                                                 ; +0x2, 0x3d90f4\nLDR.W           R0, [R0,#0x11C]; this                                  ; +0x4, 0x3d90f6\nMOV             R5, R1                                                 ; +0x8, 0x3d90fa\nBL              _ZN15BoomScrollLayer13getTotalPagesEv; BoomScrollLayer::getTotalPages(void) ; +0xa, 0x3d90fc\nLDR.W           R0, [R4,#0x11C]; this                                  ; +0xe, 0x3d9100\nSUBS            R1, R5, #1; int                                        ; +0x12, 0x3d9104\nBL              _ZN15BoomScrollLayer17instantMoveToPageEi; BoomScrollLayer::instantMoveToPage(int) ; +0x14, 0x3d9106\nLDR.W           R0, [R4,#0x11C]; this                                  ; +0x18, 0x3d910a\nMOV             R1, R5; int                                            ; +0x1c, 0x3d910e\nPOP.W           {R3-R5,LR}                                             ; +0x1e, 0x3d9110\nB.W             _ZN15BoomScrollLayer17instantMoveToPageEi; BoomScrollLayer::instantMoveToPage(int) ; +0x22, 0x3d9114", "xrefs": ["EditorUI::updateCreateMenu @ 0x37df98", "EditorUI::setupCreateMenu @ 0x39be3c", "EditorUI::setupCreateMenu @ 0x39be64", "EditButtonBar::onRight @ 0x3d9122", "EditButtonBar::onLeft @ 0x3d9130"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}