{"type": "func", "start": 4299053012, "end": 4299053096, "name": "EditorUI::onPasteColor", "pseudocode": "// \n// EditorUI::onPasteColor from 0x1003e57d4 to 0x1003e5828 (84 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x1003c6764\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 EditorUI::onPasteColor(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n\n  if ( a1->m_selectedObject || (unsigned int)sub_10024A36C((__int64)a1->m_selectedObjects) )\n  {\n    v3 = GameManager::sharedState();\n    LevelEditorLayer::pasteColorState(v3->m_levelEditorLayer, a1->m_selectedObject, a1->m_selectedObjects);\n    EditorUI::updateObjectInfoLabel(a1);\n  }\n}", "assembly": "; \n; EditorUI::onPasteColor from 0x1003e57d4 to 0x1003e5828 (84 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x1003c6764\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003e57d4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003e57d8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003e57dc\nMOV             X19, X0                                                ; +0xc, 0x1003e57e0\nLDR             X8, [X0,#0x520]                                        ; +0x10, 0x1003e57e4\nCBNZ            X8, loc_1003E57F8                                      ; +0x14, 0x1003e57e8\nLDR             X0, [X19,#0x328]                                       ; +0x18, 0x1003e57ec\nBL              sub_10024A36C                                          ; +0x1c, 0x1003e57f0\nCBZ             W0, loc_1003E581C                                      ; +0x20, 0x1003e57f4\nBL              GameManager__sharedState                               ; +0x24, 0x1003e57f8\nLDR             X0, [X0,#0x200]                                        ; +0x28, 0x1003e57fc\nLDR             X1, [X19,#0x520]                                       ; +0x2c, 0x1003e5800\nLDR             X2, [X19,#0x328]                                       ; +0x30, 0x1003e5804\nBL              LevelEditorLayer__pasteColorState                      ; +0x34, 0x1003e5808\nMOV             X0, X19                                                ; +0x38, 0x1003e580c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1003e5810\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1003e5814\nB               EditorUI__updateObjectInfoLabel                        ; +0x44, 0x1003e5818\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x1003e581c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x1003e5820\nRET                                                                    ; +0x50, 0x1003e5824", "xrefs": ["EditorUI::init @ 0x1003c6764"], "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"}