{"type": "func", "start": 4299831184, "end": 4299831252, "name": "EditButtonBar::onRight", "pseudocode": "// \n// EditButtonBar::onRight from 0x1004a3790 to 0x1004a37d4 (68 bytes)\n// \n// 1 xrefs:\n// > EditButtonBar::loadFromItems @ 0x1004a3444\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 11:06:03 +0000\n// \n\n__int64 __fastcall EditButtonBar::onRight(__int64 a1, __n128 a2)\n{\n  __int64 v3; // x0\n\n  if ( *(_BYTE *)(a1 + 328) == 1 )\n  {\n    v3 = EditorSFXManager::sharedState(a2);\n    EditorSFXManager::playAction_1(v3, 278);\n  }\n  return EditButtonBar::goToPage(a1, (unsigned int)(*(_DWORD *)(*(_QWORD *)(a1 + 344) + 588LL) + 1));\n}", "assembly": "; \n; EditButtonBar::onRight from 0x1004a3790 to 0x1004a37d4 (68 bytes)\n; \n; 1 xrefs:\n; > EditButtonBar::loadFromItems @ 0x1004a3444\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 11:06:03 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004a3790\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004a3794\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004a3798\nMOV             X19, X0                                                ; +0xc, 0x1004a379c\nLDRB            W8, [X0,#0x148]                                        ; +0x10, 0x1004a37a0\nCMP             W8, #1                                                 ; +0x14, 0x1004a37a4\nB.NE            loc_1004A37B8                                          ; +0x18, 0x1004a37a8\nBL              EditorSFXManager__sharedState                          ; +0x1c, 0x1004a37ac\nMOV             W1, #0x116                                             ; +0x20, 0x1004a37b0\nBL              EditorSFXManager__playAction_1                         ; +0x24, 0x1004a37b4\nLDR             X8, [X19,#0x158]                                       ; +0x28, 0x1004a37b8\nLDR             W8, [X8,#0x24C]                                        ; +0x2c, 0x1004a37bc\nADD             W1, W8, #1                                             ; +0x30, 0x1004a37c0\nMOV             X0, X19                                                ; +0x34, 0x1004a37c4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x1004a37c8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x1004a37cc\nB               EditButtonBar__goToPage                                ; +0x40, 0x1004a37d0", "xrefs": ["EditButtonBar::loadFromItems @ 0x1004a3444"], "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"}