{"type": "func", "start": 8654576, "end": 8654644, "name": "CustomizeObjectLayer::onLiveEdit", "pseudocode": "// \n// CustomizeObjectLayer::onLiveEdit from 0x840ef0 to 0x840f34 (68 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xc8b38\n// > CustomizeObjectLayer::init @ 0x843088\n// > <???> @ 0x122efb0\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 CustomizeObjectLayer::onLiveEdit(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)\n{\n  int ActiveMode; // w19\n  GameManager *v4; // x0\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1);\n  CustomizeObjectLayer::onClose(a1, nullptr);\n  v4 = GameManager::sharedState();\n  EditorUI::showLiveColorSelectForModeSpecial(v4->m_levelEditorLayer->m_editorUI, ActiveMode);\n}", "assembly": "; \n; CustomizeObjectLayer::onLiveEdit from 0x840ef0 to 0x840f34 (68 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xc8b38\n; > CustomizeObjectLayer::init @ 0x843088\n; > <???> @ 0x122efb0\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             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x840ef0\nMOV             W1, #1; bool                                           ; +0x4, 0x840ef4\nMOV             X29, SP                                                ; +0x8, 0x840ef8\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x840efc\nMOV             X20, X0                                                ; +0x10, 0x840f00\nBL              _ZN20CustomizeObjectLayer13getActiveModeEb; CustomizeObjectLayer::getActiveMode(bool) ; +0x14, 0x840f04\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x18, 0x840f08\nMOV             W19, W0                                                ; +0x1c, 0x840f0c\nMOV             X0, X20; this                                          ; +0x20, 0x840f10\nBL              _ZN20CustomizeObjectLayer7onCloseEPN7cocos2d8CCObjectE; CustomizeObjectLayer::onClose(cocos2d::CCObject *) ; +0x24, 0x840f14\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x28, 0x840f18\nLDR             X0, [X0,#0x1E0]                                        ; +0x2c, 0x840f1c\nMOV             W1, W19; int                                           ; +0x30, 0x840f20\nLDP             X19, X20, [SP,#var_s10]                                ; +0x34, 0x840f24\nLDR             X0, [X0,#0x3880]; this                                 ; +0x38, 0x840f28\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x3c, 0x840f2c\nB               _ZN8EditorUI33showLiveColorSelectForModeSpecialEi; EditorUI::showLiveColorSelectForModeSpecial(int) ; +0x40, 0x840f30", "xrefs": ["<???> @ 0xc8b38", "CustomizeObjectLayer::init @ 0x843088", "<???> @ 0x122efb0"], "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"}