{"type": "func", "start": 7284948, "end": 7285012, "name": "EditorUI::onPasteState", "pseudocode": "// \n// EditorUI::onPasteState from 0x6f28d4 to 0x6f2914 (64 bytes)\n// \n// 1 xrefs:\n// > EditorUI::handleEditorAction @ 0x6f2414\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:36 +0000\n// \n\nint __fastcall EditorUI::onPasteState(int this, cocos2d::CCObject *a2)\n{\n  cocos2d::CCArray **v2; // r4\n  EditorSFXManager *v3; // r0\n  GameManager *v4; // r0\n  int v5; // r0\n\n  v2 = (cocos2d::CCArray **)this;\n  if ( *(_DWORD *)(this + 996) || (this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(this + 668))) != 0 )\n  {\n    v3 = (EditorSFXManager *)EditorSFXManager::sharedState((EditorSFXManager *)this);\n    v4 = (GameManager *)EditorSFXManager::playAction(v3, 113, 111);\n    v5 = GameManager::sharedState(v4);\n    LevelEditorLayer::pasteAttributeState(*(GameObject ***)(v5 + 408), v2[249], v2[167]);\n    return EditorUI::updateObjectInfoLabel(v2);\n  }\n  return this;\n}", "assembly": "; \n; EditorUI::onPasteState from 0x6f28d4 to 0x6f2914 (64 bytes)\n; \n; 1 xrefs:\n; > EditorUI::handleEditorAction @ 0x6f2414\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:36 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x6f28d4\nMOV             R4, R0                                                 ; +0x2, 0x6f28d6\nLDR.W           R3, [R0,#0x3E4]                                        ; +0x4, 0x6f28d8\nCBNZ            R3, loc_6F28E8                                         ; +0x8, 0x6f28dc\nLDR.W           R0, [R0,#0x29C]; this                                  ; +0xa, 0x6f28de\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xe, 0x6f28e2\nCBZ             R0, locret_6F2912                                      ; +0x12, 0x6f28e6\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x14, 0x6f28e8\nMOVS            R1, #0x71 ; 'q'; int                                   ; +0x18, 0x6f28ec\nMOVS            R2, #0x6F ; 'o'; int                                   ; +0x1a, 0x6f28ee\nBL              _ZN16EditorSFXManager10playActionEii; EditorSFXManager::playAction(int,int) ; +0x1c, 0x6f28f0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x20, 0x6f28f4\nLDR.W           R1, [R4,#0x3E4]; GameObject *                          ; +0x24, 0x6f28f8\nLDR.W           R2, [R4,#0x29C]; cocos2d::CCArray *                    ; +0x28, 0x6f28fc\nLDR.W           R0, [R0,#0x198]; this                                  ; +0x2c, 0x6f2900\nBL              _ZN16LevelEditorLayer19pasteAttributeStateEP10GameObjectPN7cocos2d7CCArrayE; LevelEditorLayer::pasteAttributeState(GameObject *,cocos2d::CCArray *) ; +0x30, 0x6f2904\nMOV             R0, R4; this                                           ; +0x34, 0x6f2908\nPOP.W           {R4,LR}                                                ; +0x36, 0x6f290a\nB.W             _ZN8EditorUI21updateObjectInfoLabelEv; EditorUI::updateObjectInfoLabel(void) ; +0x3a, 0x6f290e\nPOP             {R4,PC}                                                ; +0x3e, 0x6f2912", "xrefs": ["EditorUI::handleEditorAction @ 0x6f2414"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}