{"type": "func", "start": 8649356, "end": 8649516, "name": "CustomizeObjectLayer::onClose", "pseudocode": "// \n// CustomizeObjectLayer::onClose from 0x83fa8c to 0x83fb2c (160 bytes)\n// \n// 7 xrefs:\n// > CustomizeObjectLayer::onBreakApart @ 0x83fb48\n// > CustomizeObjectLayer::keyBackClicked @ 0x83fb74\n// > CustomizeObjectLayer::onLiveEdit @ 0x840f14\n// > CustomizeObjectLayer::recreateLayer @ 0x84411c\n// > <???> @ 0xa47c0\n// > CustomizeObjectLayer::init @ 0x841f60\n// > <???> @ 0x122db08\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::onClose(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)\n{\n  CCTextInputNode *m_textInput; // x0\n  GameManager *v4; // x0\n\n  a1->m_customColorInput->m_delegate = nullptr;\n  a1->m_customColorInput->onClickTrackNode(a1->m_customColorInput, 0);\n  m_textInput = a1->m_textInput;\n  if ( m_textInput )\n  {\n    m_textInput->onClickTrackNode(m_textInput, 0);\n    a1->m_textInput->m_delegate = nullptr;\n  }\n  GameManager::sharedState()->m_currentColorChannel = a1->m_customColorChannel;\n  v4 = GameManager::sharedState();\n  EditorUI::updateObjectInfoLabel(v4->m_levelEditorLayer->m_editorUI);\n  a1->setKeypadEnabled(a1, 0);\n  a1->removeFromParentAndCleanup(a1, 1);\n}", "assembly": "; \n; CustomizeObjectLayer::onClose from 0x83fa8c to 0x83fb2c (160 bytes)\n; \n; 7 xrefs:\n; > CustomizeObjectLayer::onBreakApart @ 0x83fb48\n; > CustomizeObjectLayer::keyBackClicked @ 0x83fb74\n; > CustomizeObjectLayer::onLiveEdit @ 0x840f14\n; > CustomizeObjectLayer::recreateLayer @ 0x84411c\n; > <???> @ 0xa47c0\n; > CustomizeObjectLayer::init @ 0x841f60\n; > <???> @ 0x122db08\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,#var_20]!                                ; +0x0, 0x83fa8c\nMOV             W1, #0                                                 ; +0x4, 0x83fa90\nMOV             X29, SP                                                ; +0x8, 0x83fa94\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x83fa98\nMOV             X19, X0                                                ; +0x10, 0x83fa9c\nLDR             X0, [X0,#0x318]                                        ; +0x14, 0x83faa0\nSTR             XZR, [X0,#0x200]                                       ; +0x18, 0x83faa4\nLDR             X2, [X19,#0x318]                                       ; +0x1c, 0x83faa8\nMOV             X0, X2                                                 ; +0x20, 0x83faac\nLDR             X2, [X2]                                               ; +0x24, 0x83fab0\nLDR             X2, [X2,#0x478]                                        ; +0x28, 0x83fab4\nBLR             X2                                                     ; +0x2c, 0x83fab8\nLDR             X0, [X19,#0x320]                                       ; +0x30, 0x83fabc\nCBZ             X0, loc_83FADC                                         ; +0x34, 0x83fac0\nLDR             X2, [X0]                                               ; +0x38, 0x83fac4\nMOV             W1, #0                                                 ; +0x3c, 0x83fac8\nLDR             X2, [X2,#0x478]                                        ; +0x40, 0x83facc\nBLR             X2                                                     ; +0x44, 0x83fad0\nLDR             X0, [X19,#0x320]; this                                 ; +0x48, 0x83fad4\nSTR             XZR, [X0,#0x200]                                       ; +0x4c, 0x83fad8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x50, 0x83fadc\nLDR             W1, [X19,#0x2D4]                                       ; +0x54, 0x83fae0\nSTR             W1, [X0,#0x358]                                        ; +0x58, 0x83fae4\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x5c, 0x83fae8\nLDR             X0, [X0,#0x1E0]                                        ; +0x60, 0x83faec\nLDR             X0, [X0,#0x3880]; this                                 ; +0x64, 0x83faf0\nBL              _ZN8EditorUI21updateObjectInfoLabelEv; EditorUI::updateObjectInfoLabel(void) ; +0x68, 0x83faf4\nLDR             X2, [X19]                                              ; +0x6c, 0x83faf8\nMOV             X0, X19                                                ; +0x70, 0x83fafc\nMOV             W1, #0                                                 ; +0x74, 0x83fb00\nLDR             X2, [X2,#0x420]                                        ; +0x78, 0x83fb04\nBLR             X2                                                     ; +0x7c, 0x83fb08\nLDR             X2, [X19]                                              ; +0x80, 0x83fb0c\nMOV             X0, X19                                                ; +0x84, 0x83fb10\nMOV             W1, #1                                                 ; +0x88, 0x83fb14\nLDR             X2, [X2,#0x200]                                        ; +0x8c, 0x83fb18\nBLR             X2                                                     ; +0x90, 0x83fb1c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x94, 0x83fb20\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x98, 0x83fb24\nRET                                                                    ; +0x9c, 0x83fb28", "xrefs": ["CustomizeObjectLayer::onBreakApart @ 0x83fb48", "CustomizeObjectLayer::keyBackClicked @ 0x83fb74", "CustomizeObjectLayer::onLiveEdit @ 0x840f14", "CustomizeObjectLayer::recreateLayer @ 0x84411c", "<???> @ 0xa47c0", "CustomizeObjectLayer::init @ 0x841f60", "<???> @ 0x122db08"], "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"}