{"type": "func", "start": 4299295468, "end": 4299295684, "name": "ColorSelectPopup::ColorSelectPopup", "pseudocode": "// \n// ColorSelectPopup::ColorSelectPopup from 0x100420aec to 0x100420bc4 (216 bytes)\n// \n// 1 xrefs:\n// > ColorSelectPopup::create @ 0x10041c400\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\nColorSelectPopup *__fastcall ColorSelectPopup::ColorSelectPopup(ColorSelectPopup *a1)\n{\n  ColorSelectPopup *result; // x0\n\n  result = (ColorSelectPopup *)SetupTriggerPopup::SetupTriggerPopup(a1);\n  result->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ColorSelectPopup_vtbl *)off_100823CB0;\n  result->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100824290;\n  result->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100824300;\n  result->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100824318;\n  result->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_100824338;\n  result->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_100824358;\n  result->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100824380;\n  result->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_100824400;\n  result->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_100824420;\n  result->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_100824468;\n  result->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)off_100824480;\n  result->cocos2d::extension::ColorPickerDelegate::__vftable = (cocos2d::extension::ColorPickerDelegate_vtbl *)&off_1008244A0;\n  result->GJSpecialColorSelectDelegate::__vftable = (GJSpecialColorSelectDelegate_vtbl *)&off_1008244B8;\n  result->m_colorPicker = nullptr;\n  result->m_unk3c0 = 0;\n  result->m_opacityLabel = nullptr;\n  *(_OWORD *)&result->m_fadeTimeSlider = 0u;\n  *(_OWORD *)&result->m_currentColorSprite = 0u;\n  result->m_blending = 0;\n  *(_OWORD *)&result->m_delegate = 0u;\n  result->m_opacity = 1.0;\n  result->m_colorID = 0;\n  result->m_initializing = 0;\n  result->m_copyColorID = 0;\n  result->m_copyOpacity = 0;\n  *(CCTextInputNode **)((char *)&result->m_colorInput + 6) = nullptr;\n  *(_OWORD *)&result->m_colorAction = 0u;\n  result->m_hsv = (cocos2d::ccHSVValue)xmmword_10086EC20;\n  result->m_fadeTimeInput = nullptr;\n  result->m_showCopyObjects = 0;\n  return result;\n}", "assembly": "; \n; ColorSelectPopup::ColorSelectPopup from 0x100420aec to 0x100420bc4 (216 bytes)\n; \n; 1 xrefs:\n; > ColorSelectPopup::create @ 0x10041c400\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,#-0x10+var_s0]!                          ; +0x0, 0x100420aec\nMOV             X29, SP                                                ; +0x4, 0x100420af0\nBL              SetupTriggerPopup__SetupTriggerPopup                   ; +0x8, 0x100420af4\nADRL            X8, off_100823CB0                                      ; +0xc, 0x100420af8\nSTR             X8, [X0]                                               ; +0x14, 0x100420b00\nADD             X9, X8, #(off_100824290 - 0x100823CB0)                 ; +0x18, 0x100420b04\nADD             X10, X8, #(off_100824300 - 0x100823CB0)                ; +0x1c, 0x100420b08\nSTP             X9, X10, [X0,#0x140]                                   ; +0x20, 0x100420b0c\nADD             X9, X8, #(off_100824318 - 0x100823CB0)                 ; +0x24, 0x100420b10\nADD             X10, X8, #(off_100824338 - 0x100823CB0)                ; +0x28, 0x100420b14\nSTP             X9, X10, [X0,#0x150]                                   ; +0x2c, 0x100420b18\nADD             X9, X8, #(off_100824358 - 0x100823CB0)                 ; +0x30, 0x100420b1c\nSTR             X9, [X0,#0x160]                                        ; +0x34, 0x100420b20\nADD             X9, X8, #(off_100824380 - 0x100823CB0)                 ; +0x38, 0x100420b24\nSTR             X9, [X0,#0x198]                                        ; +0x3c, 0x100420b28\nADD             X9, X8, #(off_100824400 - 0x100823CB0)                 ; +0x40, 0x100420b2c\nSTR             X9, [X0,#0x1B0]                                        ; +0x44, 0x100420b30\nADD             X9, X8, #(off_100824420 - 0x100823CB0)                 ; +0x48, 0x100420b34\nSTR             X9, [X0,#0x278]                                        ; +0x4c, 0x100420b38\nADD             X9, X8, #(off_100824468 - 0x100823CB0)                 ; +0x50, 0x100420b3c\nSTR             X9, [X0,#0x280]                                        ; +0x54, 0x100420b40\nADD             X9, X8, #(off_100824480 - 0x100823CB0)                 ; +0x58, 0x100420b44\nSTR             X9, [X0,#0x288]                                        ; +0x5c, 0x100420b48\nADD             X9, X8, #(off_1008244A0 - 0x100823CB0)                 ; +0x60, 0x100420b4c\nSTR             X9, [X0,#0x3B0]                                        ; +0x64, 0x100420b50\nADD             X8, X8, #(off_1008244B8 - 0x100823CB0)                 ; +0x68, 0x100420b54\nSTR             X8, [X0,#0x3B8]                                        ; +0x6c, 0x100420b58\nSTR             XZR, [X0,#0x3C0]                                       ; +0x70, 0x100420b5c\nSTRB            WZR, [X0,#0x3C8]                                       ; +0x74, 0x100420b60\nADD             X8, X0, #0x3D0                                         ; +0x78, 0x100420b64\nADD             X9, X0, #0x418                                         ; +0x7c, 0x100420b68\nSTR             XZR, [X0,#0x3D0]                                       ; +0x80, 0x100420b6c\nMOVI            V0.16B, #0                                             ; +0x84, 0x100420b70\nSTUR            Q0, [X8,#8]                                            ; +0x88, 0x100420b74\nSTR             Q0, [X0,#0x400]                                        ; +0x8c, 0x100420b78\nSTR             WZR, [X0,#0x428]                                       ; +0x90, 0x100420b7c\nSTR             Q0, [X9]                                               ; +0x94, 0x100420b80\nMOV             W8, #0x3F800000                                        ; +0x98, 0x100420b84\nSTR             W8, [X0,#0x42C]                                        ; +0x9c, 0x100420b88\nADD             X8, X0, #0x430                                         ; +0xa0, 0x100420b8c\nSTR             WZR, [X0,#0x448]                                       ; +0xa4, 0x100420b90\nSTRB            WZR, [X0,#0x44C]                                       ; +0xa8, 0x100420b94\nSTR             WZR, [X0,#0x450]                                       ; +0xac, 0x100420b98\nSTRB            WZR, [X0,#0x454]                                       ; +0xb0, 0x100420b9c\nSTUR            XZR, [X8,#0xE]                                         ; +0xb4, 0x100420ba0\nSTR             Q0, [X0,#0x430]                                        ; +0xb8, 0x100420ba4\nADRP            X8, #xmmword_10086EC20@PAGE                            ; +0xbc, 0x100420ba8\nLDR             Q0, [X8,#xmmword_10086EC20@PAGEOFF]                    ; +0xc0, 0x100420bac\nSTR             Q0, [X0,#0x460]                                        ; +0xc4, 0x100420bb0\nSTR             XZR, [X0,#0x488]                                       ; +0xc8, 0x100420bb4\nSTRB            WZR, [X0,#0x4A0]                                       ; +0xcc, 0x100420bb8\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0xd0, 0x100420bbc\nRET                                                                    ; +0xd4, 0x100420bc0", "xrefs": ["ColorSelectPopup::create @ 0x10041c400"], "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"}