{"type": "func", "start": 4299293756, "end": 4299293840, "name": "ColorSelectPopup::show", "pseudocode": "// \n// ColorSelectPopup::show from 0x10042043c to 0x100420490 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008241b8\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 ColorSelectPopup::show(ColorSelectPopup *a1)\n{\n  cocos2d::extension::CCControlColourPicker *m_colorPicker; // x8\n  int v3; // w1\n\n  a1->m_initializing = 1;\n  m_colorPicker = a1->m_colorPicker;\n  v3 = *(unsigned __int16 *)&m_colorPicker->m_rgb.r | (m_colorPicker->m_rgb.b << 16);\n  *(_WORD *)&a1->m_originalColor.r = *(_WORD *)&m_colorPicker->m_rgb.r;\n  a1->m_originalColor.b = BYTE2(v3);\n  ((void (__fastcall *)(ColorSelectPopup *))a1->colorValueChanged)(a1);\n  a1->m_initializing = 0;\n  SetupTriggerPopup::show(a1);\n}", "assembly": "; \n; ColorSelectPopup::show from 0x10042043c to 0x100420490 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008241b8\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, 0x10042043c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100420440\nADD             X29, SP, #0x10                                         ; +0x8, 0x100420444\nMOV             X19, X0                                                ; +0xc, 0x100420448\nMOV             W8, #1                                                 ; +0x10, 0x10042044c\nSTRB            W8, [X0,#0x44C]                                        ; +0x14, 0x100420450\nLDR             X8, [X0,#0x3C0]                                        ; +0x18, 0x100420454\nLDRB            W9, [X8,#0x1DA]                                        ; +0x1c, 0x100420458\nLDRH            W8, [X8,#0x1D8]                                        ; +0x20, 0x10042045c\nORR             X1, X8, X9,LSL#16                                      ; +0x24, 0x100420460\nSTRH            W1, [X0,#0x3F8]                                        ; +0x28, 0x100420464\nUBFX            X8, X1, #0x10, #0x10                                   ; +0x2c, 0x100420468\nSTRB            W8, [X0,#0x3FA]                                        ; +0x30, 0x10042046c\nLDR             X8, [X0]                                               ; +0x34, 0x100420470\nLDR             X8, [X8,#0x5C0]                                        ; +0x38, 0x100420474\nBLR             X8                                                     ; +0x3c, 0x100420478\nSTRB            WZR, [X19,#0x44C]                                      ; +0x40, 0x10042047c\nMOV             X0, X19                                                ; +0x44, 0x100420480\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x100420484\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x100420488\nB               SetupTriggerPopup__show                                ; +0x50, 0x10042048c", "xrefs": ["<???> @ 0x1008241b8"], "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"}