{"type": "func", "start": 5038208, "end": 5038262, "name": "ColorSelectLiveOverlay::closeColorSelect", "pseudocode": "// \n// ColorSelectLiveOverlay::closeColorSelect from 0x4ce080 to 0x4ce0b6 (54 bytes)\n// \n// 2 xrefs:\n// > EditorUI::closeLiveColorSelect @ 0x37fe7e\n// > ColorSelectLiveOverlay::keyBackClicked @ 0x4ce0b8\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 ColorSelectLiveOverlay::closeColorSelect(ColorSelectLiveOverlay *a1, cocos2d::CCObject *a2)\n{\n  ColorSelectLiveOverlay_vtbl *v2; // r3\n  ColorSelectDelegate *m_delegate; // r0\n\n  v2 = a1->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  a1->m_closeButtonPressed = a2 != nullptr;\n  ((void (*)(void))v2->setKeypadEnabled)();\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    m_delegate->colorSelectClosed(m_delegate, a1);\n  a1->removeFromParentAndCleanup(a1, 1);\n}", "assembly": "; \n; ColorSelectLiveOverlay::closeColorSelect from 0x4ce080 to 0x4ce0b6 (54 bytes)\n; \n; 2 xrefs:\n; > EditorUI::closeLiveColorSelect @ 0x37fe7e\n; > ColorSelectLiveOverlay::keyBackClicked @ 0x4ce0b8\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\nLDR             R3, [R0]                                               ; +0x0, 0x4ce080\nADDS            R1, #0                                                 ; +0x2, 0x4ce082\nPUSH            {R4,LR}                                                ; +0x4, 0x4ce084\nIT NE                                                                  ; +0x6, 0x4ce086\nMOVNE           R1, #1                                                 ; +0x8, 0x4ce088\nMOV             R4, R0                                                 ; +0xa, 0x4ce08a\nSTRB.W          R1, [R0,#0x26D]                                        ; +0xc, 0x4ce08c\nLDR.W           R3, [R3,#0x210]                                        ; +0x10, 0x4ce090\nMOVS            R1, #0                                                 ; +0x14, 0x4ce094\nBLX             R3                                                     ; +0x16, 0x4ce096\nLDR.W           R0, [R4,#0x220]                                        ; +0x18, 0x4ce098\nCBZ             R0, loc_4CE0A6                                         ; +0x1c, 0x4ce09c\nLDR             R3, [R0]                                               ; +0x1e, 0x4ce09e\nMOV             R1, R4                                                 ; +0x20, 0x4ce0a0\nLDR             R3, [R3]                                               ; +0x22, 0x4ce0a2\nBLX             R3                                                     ; +0x24, 0x4ce0a4\nLDR             R3, [R4]                                               ; +0x26, 0x4ce0a6\nMOV             R0, R4                                                 ; +0x28, 0x4ce0a8\nMOVS            R1, #1                                                 ; +0x2a, 0x4ce0aa\nPOP.W           {R4,LR}                                                ; +0x2c, 0x4ce0ac\nLDR.W           R3, [R3,#0x100]                                        ; +0x30, 0x4ce0b0\nBX              R3                                                     ; +0x34, 0x4ce0b4", "xrefs": ["EditorUI::closeLiveColorSelect @ 0x37fe7e", "ColorSelectLiveOverlay::keyBackClicked @ 0x4ce0b8"], "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"}