{"type": "func", "start": 4295294028, "end": 4295294092, "name": "CustomizeObjectLayer::onLiveEdit", "pseudocode": "// \n// CustomizeObjectLayer::onLiveEdit from 0x10004fc4c to 0x10004fc8c (64 bytes)\n// \n// 1 xrefs:\n// > CustomizeObjectLayer::init @ 0x10004e7c8\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 CustomizeObjectLayer::onLiveEdit(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)\n{\n  int ActiveMode; // w20\n  cocos2d::CCObject *v4; // x1\n  GameManager *v5; // x0\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1);\n  CustomizeObjectLayer::onClose(a1, v4);\n  v5 = GameManager::sharedState();\n  EditorUI::showLiveColorSelectForModeSpecial(v5->m_levelEditorLayer->m_editorUI, ActiveMode);\n}", "assembly": "; \n; CustomizeObjectLayer::onLiveEdit from 0x10004fc4c to 0x10004fc8c (64 bytes)\n; \n; 1 xrefs:\n; > CustomizeObjectLayer::init @ 0x10004e7c8\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, 0x10004fc4c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10004fc50\nADD             X29, SP, #0x10                                         ; +0x8, 0x10004fc54\nMOV             X19, X0                                                ; +0xc, 0x10004fc58\nMOV             W1, #1                                                 ; +0x10, 0x10004fc5c\nBL              CustomizeObjectLayer__getActiveMode                    ; +0x14, 0x10004fc60\nMOV             X20, X0                                                ; +0x18, 0x10004fc64\nMOV             X0, X19                                                ; +0x1c, 0x10004fc68\nBL              CustomizeObjectLayer__onClose                          ; +0x20, 0x10004fc6c\nBL              GameManager__sharedState                               ; +0x24, 0x10004fc70\nLDR             X8, [X0,#0x200]                                        ; +0x28, 0x10004fc74\nLDR             X0, [X8,#0x36A0]                                       ; +0x2c, 0x10004fc78\nMOV             X1, X20                                                ; +0x30, 0x10004fc7c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x10004fc80\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x38, 0x10004fc84\nB               EditorUI__showLiveColorSelectForModeSpecial            ; +0x3c, 0x10004fc88", "xrefs": ["CustomizeObjectLayer::init @ 0x10004e7c8"], "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"}