{"type": "func", "start": 4301137056, "end": 4301137136, "name": "EditButtonBar::onLeft", "pseudocode": "// \n// EditButtonBar::onLeft from 0x1005e24a0 to 0x1005e24f0 (80 bytes)\n// \n// 1 xrefs:\n// > EditButtonBar::loadFromItems @ 0x1005e21d0\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 __fastcall EditButtonBar::onLeft(EditButtonBar *a1, cocos2d::CCObject *a2)\n{\n  BoomScrollLayer *m_scrollLayer; // rdi\n  int m_page; // r14d\n\n  m_scrollLayer = a1->m_scrollLayer;\n  m_page = m_scrollLayer->m_page;\n  BoomScrollLayer::getTotalPages(m_scrollLayer);\n  BoomScrollLayer::instantMoveToPage(a1->m_scrollLayer, m_page - 2);\n  BoomScrollLayer::instantMoveToPage(a1->m_scrollLayer, m_page - 1);\n}", "assembly": "; \n; EditButtonBar::onLeft from 0x1005e24a0 to 0x1005e24f0 (80 bytes)\n; \n; 1 xrefs:\n; > EditButtonBar::loadFromItems @ 0x1005e21d0\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    rbp                                                            ; +0x0, 0x1005e24a0\nmov     rbp, rsp                                                       ; +0x1, 0x1005e24a1\npush    r15                                                            ; +0x4, 0x1005e24a4\npush    r14                                                            ; +0x6, 0x1005e24a6\npush    rbx                                                            ; +0x8, 0x1005e24a8\npush    rax                                                            ; +0x9, 0x1005e24a9\nmov     rbx, rdi                                                       ; +0xa, 0x1005e24aa\nmov     rdi, [rdi+158h]                                                ; +0xd, 0x1005e24ad\nmov     r14d, [rdi+244h]                                               ; +0x14, 0x1005e24b4\nlea     r15d, [r14-1]                                                  ; +0x1b, 0x1005e24bb\ncall    BoomScrollLayer__getTotalPages                                 ; +0x1f, 0x1005e24bf\nmov     rdi, [rbx+158h]                                                ; +0x24, 0x1005e24c4\nadd     r14d, 0FFFFFFFEh                                               ; +0x2b, 0x1005e24cb\nmov     esi, r14d                                                      ; +0x2f, 0x1005e24cf\ncall    BoomScrollLayer__instantMoveToPage                             ; +0x32, 0x1005e24d2\nmov     rdi, [rbx+158h]                                                ; +0x37, 0x1005e24d7\nmov     esi, r15d                                                      ; +0x3e, 0x1005e24de\nadd     rsp, 8                                                         ; +0x41, 0x1005e24e1\npop     rbx                                                            ; +0x45, 0x1005e24e5\npop     r14                                                            ; +0x46, 0x1005e24e6\npop     r15                                                            ; +0x48, 0x1005e24e8\npop     rbp                                                            ; +0x4a, 0x1005e24ea\njmp     BoomScrollLayer__instantMoveToPage                             ; +0x4b, 0x1005e24eb", "xrefs": ["EditButtonBar::loadFromItems @ 0x1005e21d0"], "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"}