{"type": "func", "start": 4302482768, "end": 4302482854, "name": "ColorSelectPopup::show", "pseudocode": "// \n// ColorSelectPopup::show from 0x10072ad50 to 0x10072ada6 (86 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10098adc8\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; // rax\n  int v2; // ecx\n  int b; // esi\n\n  a1->m_initializing = 1;\n  m_colorPicker = a1->m_colorPicker;\n  v2 = *(unsigned __int16 *)&m_colorPicker->m_rgb.r;\n  b = m_colorPicker->m_rgb.b;\n  a1->m_originalColor.b = b;\n  *(_WORD *)&a1->m_originalColor.r = v2;\n  ((void (__fastcall *)(ColorSelectPopup *, _QWORD))a1->colorValueChanged)(a1, v2 | (unsigned int)(b << 16));\n  a1->m_initializing = 0;\n  SetupTriggerPopup::show(a1);\n}", "assembly": "; \n; ColorSelectPopup::show from 0x10072ad50 to 0x10072ada6 (86 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10098adc8\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\npush    rbp                                                            ; +0x0, 0x10072ad50\nmov     rbp, rsp                                                       ; +0x1, 0x10072ad51\npush    rbx                                                            ; +0x4, 0x10072ad54\npush    rax                                                            ; +0x5, 0x10072ad55\nmov     rbx, rdi                                                       ; +0x6, 0x10072ad56\nmov     byte ptr [rdi+44Ch], 1                                         ; +0x9, 0x10072ad59\nmov     rax, [rdi+3C0h]                                                ; +0x10, 0x10072ad60\nmovzx   ecx, word ptr [rax+1D8h]                                       ; +0x17, 0x10072ad67\nmovzx   esi, byte ptr [rax+1DAh]                                       ; +0x1e, 0x10072ad6e\nmov     [rdi+3FAh], sil                                                ; +0x25, 0x10072ad75\nshl     esi, 10h                                                       ; +0x2c, 0x10072ad7c\nor      esi, ecx                                                       ; +0x2f, 0x10072ad7f\nmov     [rdi+3F8h], cx                                                 ; +0x31, 0x10072ad81\nmov     rax, [rdi]                                                     ; +0x38, 0x10072ad88\ncall    qword ptr [rax+5C0h]                                           ; +0x3b, 0x10072ad8b\nmov     byte ptr [rbx+44Ch], 0                                         ; +0x41, 0x10072ad91\nmov     rdi, rbx                                                       ; +0x48, 0x10072ad98\nadd     rsp, 8                                                         ; +0x4b, 0x10072ad9b\npop     rbx                                                            ; +0x4f, 0x10072ad9f\npop     rbp                                                            ; +0x50, 0x10072ada0\njmp     SetupTriggerPopup__show                                        ; +0x51, 0x10072ada1", "xrefs": ["<???> @ 0x10098adc8"], "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"}