{"type": "func", "start": 9479864, "end": 9479964, "name": "ColorSelectLiveOverlay::closeColorSelect", "pseudocode": "// \n// ColorSelectLiveOverlay::closeColorSelect from 0x90a6b8 to 0x90a71c (100 bytes)\n// \n// 5 xrefs:\n// > EditorUI::closeLiveColorSelect @ 0x68d0ec\n// > ColorSelectLiveOverlay::keyBackClicked @ 0x90a720\n// > <???> @ 0x9c5d0\n// > ColorSelectLiveOverlay::init @ 0x90bd80\n// > <???> @ 0x122d590\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; // x2\n  ColorSelectDelegate *m_delegate; // x0\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 0x90a6b8 to 0x90a71c (100 bytes)\n; \n; 5 xrefs:\n; > EditorUI::closeLiveColorSelect @ 0x68d0ec\n; > ColorSelectLiveOverlay::keyBackClicked @ 0x90a720\n; > <???> @ 0x9c5d0\n; > ColorSelectLiveOverlay::init @ 0x90bd80\n; > <???> @ 0x122d590\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, 0x90a6b8\nCMP             X1, XZR                                                ; +0x4, 0x90a6bc\nMOV             W1, #0                                                 ; +0x8, 0x90a6c0\nMOV             X29, SP                                                ; +0xc, 0x90a6c4\nLDR             X2, [X0]                                               ; +0x10, 0x90a6c8\nCSET            W3, NE                                                 ; +0x14, 0x90a6cc\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x18, 0x90a6d0\nMOV             X19, X0                                                ; +0x1c, 0x90a6d4\nSTRB            W3, [X0,#0x339]                                        ; +0x20, 0x90a6d8\nLDR             X2, [X2,#0x420]                                        ; +0x24, 0x90a6dc\nBLR             X2                                                     ; +0x28, 0x90a6e0\nLDR             X0, [X19,#0x2C0]                                       ; +0x2c, 0x90a6e4\nCBZ             X0, loc_90A6FC                                         ; +0x30, 0x90a6e8\nLDR             X2, [X0]                                               ; +0x34, 0x90a6ec\nMOV             X1, X19                                                ; +0x38, 0x90a6f0\nLDR             X2, [X2]                                               ; +0x3c, 0x90a6f4\nBLR             X2                                                     ; +0x40, 0x90a6f8\nLDR             X2, [X19]                                              ; +0x44, 0x90a6fc\nMOV             X0, X19                                                ; +0x48, 0x90a700\nMOV             W1, #1                                                 ; +0x4c, 0x90a704\nLDR             X2, [X2,#0x200]                                        ; +0x50, 0x90a708\nBLR             X2                                                     ; +0x54, 0x90a70c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x58, 0x90a710\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x5c, 0x90a714\nRET                                                                    ; +0x60, 0x90a718", "xrefs": ["EditorUI::closeLiveColorSelect @ 0x68d0ec", "ColorSelectLiveOverlay::keyBackClicked @ 0x90a720", "<???> @ 0x9c5d0", "ColorSelectLiveOverlay::init @ 0x90bd80", "<???> @ 0x122d590"], "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"}