{"type": "func", "start": 4296585096, "end": 4296585196, "name": "EditorUI::onPasteState", "pseudocode": "// \n// EditorUI::onPasteState from 0x10018af88 to 0x10018afec (100 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x10016306c\n// > EditorUI::init @ 0x1004700e4\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 10:59:52 +0000\n// \n\n__int64 __fastcall EditorUI::onPasteState(__int64 a1, __n128 a2)\n{\n  __int64 result; // x0\n  __int64 v4; // x0\n  __int64 v5; // x0\n  __int64 v6; // x0\n\n  if ( *(_QWORD *)(a1 + 1496) || (result = sub_1002E757C(*(_QWORD *)(a1 + 896)), (_DWORD)result) )\n  {\n    v4 = EditorSFXManager::sharedState(a2);\n    v5 = EditorSFXManager::playAction(v4, 113, 111);\n    v6 = GameManager::sharedState(v5);\n    sub_100405D0C(*(_QWORD *)(v6 + 552), *(_QWORD *)(a1 + 1496), *(_QWORD *)(a1 + 896));\n    return EditorUI::updateObjectInfoLabel(a1);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::onPasteState from 0x10018af88 to 0x10018afec (100 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x10016306c\n; > EditorUI::init @ 0x1004700e4\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 10:59:52 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10018af88\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10018af8c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10018af90\nMOV             X19, X0                                                ; +0xc, 0x10018af94\nLDR             X8, [X0,#0x5D8]                                        ; +0x10, 0x10018af98\nCBNZ            X8, loc_10018AFAC                                      ; +0x14, 0x10018af9c\nLDR             X0, [X19,#0x380]                                       ; +0x18, 0x10018afa0\nBL              sub_1002E757C                                          ; +0x1c, 0x10018afa4\nCBZ             W0, loc_10018AFE0                                      ; +0x20, 0x10018afa8\nBL              EditorSFXManager__sharedState                          ; +0x24, 0x10018afac\nMOV             W1, #0x71 ; 'q'                                        ; +0x28, 0x10018afb0\nMOV             W2, #0x6F ; 'o'                                        ; +0x2c, 0x10018afb4\nBL              EditorSFXManager__playAction                           ; +0x30, 0x10018afb8\nBL              GameManager__sharedState                               ; +0x34, 0x10018afbc\nLDR             X0, [X0,#0x228]                                        ; +0x38, 0x10018afc0\nLDR             X1, [X19,#0x5D8]                                       ; +0x3c, 0x10018afc4\nLDR             X2, [X19,#0x380]                                       ; +0x40, 0x10018afc8\nBL              sub_100405D0C                                          ; +0x44, 0x10018afcc\nMOV             X0, X19                                                ; +0x48, 0x10018afd0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x10018afd4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x10018afd8\nB               EditorUI__updateObjectInfoLabel                        ; +0x54, 0x10018afdc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x10018afe0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x10018afe4\nRET                                                                    ; +0x60, 0x10018afe8", "xrefs": ["EditorUI::handleEditorAction @ 0x10016306c", "EditorUI::init @ 0x1004700e4"], "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"}