{"type": "func", "start": 5369581296, "end": 5369581388, "name": "EditButtonBar::goToPage", "pseudocode": "// \n// EditButtonBar::goToPage from 0x1400d4ef0 to 0x1400d4f4c (92 bytes)\n// \n// 3 xrefs:\n// > EditorUI::setupCreateMenu @ 0x14010dd92\n// > EditorUI::setupCreateMenu @ 0x14010ddf4\n// > <???> @ 0x1406c870c\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 *m_scrollLayer; // rcx\n  cocos2d::CCArray *m_dynamicObjects; // rcx\n\n  m_scrollLayer = a1->m_scrollLayer;\n  if ( m_scrollLayer->m_dynamic )\n    m_dynamicObjects = m_scrollLayer->m_dynamicObjects;\n  else\n    m_dynamicObjects = m_scrollLayer->m_pages;\n  cocos2d::CCArray::count(m_dynamicObjects);\n  BoomScrollLayer::instantMoveToPage(a1->m_scrollLayer, a2 - 1);\n  BoomScrollLayer::instantMoveToPage(a1->m_scrollLayer, a2);\n}", "assembly": "; \n; EditButtonBar::goToPage from 0x1400d4ef0 to 0x1400d4f4c (92 bytes)\n; \n; 3 xrefs:\n; > EditorUI::setupCreateMenu @ 0x14010dd92\n; > EditorUI::setupCreateMenu @ 0x14010ddf4\n; > <???> @ 0x1406c870c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400d4ef0\npush    rdi                                                            ; +0x5, 0x1400d4ef5\nsub     rsp, 20h                                                       ; +0x6, 0x1400d4ef6\nmov     rbx, rcx                                                       ; +0xa, 0x1400d4efa\nmov     edi, edx                                                       ; +0xd, 0x1400d4efd\nmov     rcx, [rcx+158h]                                                ; +0xf, 0x1400d4eff\ncmp     byte ptr [rcx+1C0h], 0                                         ; +0x16, 0x1400d4f06\njz      short loc_1400D4F18                                            ; +0x1d, 0x1400d4f0d\nmov     rcx, [rcx+1B8h]                                                ; +0x1f, 0x1400d4f0f\njmp     short loc_1400D4F1F                                            ; +0x26, 0x1400d4f16\nmov     rcx, [rcx+1D8h]                                                ; +0x28, 0x1400d4f18\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2f, 0x1400d4f1f\nmov     rcx, [rbx+158h]                                                ; +0x35, 0x1400d4f25\nlea     edx, [rdi-1]                                                   ; +0x3c, 0x1400d4f2c\ncall    BoomScrollLayer__instantMoveToPage                             ; +0x3f, 0x1400d4f2f\nmov     rcx, [rbx+158h]                                                ; +0x44, 0x1400d4f34\nmov     edx, edi                                                       ; +0x4b, 0x1400d4f3b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4d, 0x1400d4f3d\nadd     rsp, 20h                                                       ; +0x52, 0x1400d4f42\npop     rdi                                                            ; +0x56, 0x1400d4f46\njmp     BoomScrollLayer__instantMoveToPage                             ; +0x57, 0x1400d4f47", "xrefs": ["EditorUI::setupCreateMenu @ 0x14010dd92", "EditorUI::setupCreateMenu @ 0x14010ddf4", "<???> @ 0x1406c870c"], "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"}