{"type": "func", "start": 4303385072, "end": 4303385146, "name": "ColorSelectPopup::onSelectSpecialColor", "pseudocode": "// \n// ColorSelectPopup::onSelectSpecialColor from 0x1008071f0 to 0x10080723a (74 bytes)\n// \n// 2 xrefs:\n// > ColorSelectPopup::init @ 0x10080548c\n// > ColorSelectPopup::init @ 0x100805b92\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:36:40 +0000\n// \n\n__int64 __fastcall ColorSelectPopup::onSelectSpecialColor(__int64 a1, __int64 a2)\n{\n  char *v2; // r14\n  unsigned int v3; // eax\n\n  v2 = GJSpecialColorSelect::create(*(_DWORD *)(a1 + 1176), a1 + 1024, 1u);\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  (*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v2 + 72LL))(v2, v3);\n  return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v2 + 1312LL))(v2);\n}", "assembly": "; \n; ColorSelectPopup::onSelectSpecialColor from 0x1008071f0 to 0x10080723a (74 bytes)\n; \n; 2 xrefs:\n; > ColorSelectPopup::init @ 0x10080548c\n; > ColorSelectPopup::init @ 0x100805b92\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:36:40 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008071f0\nmov     rbp, rsp                                                       ; +0x1, 0x1008071f1\npush    r14                                                            ; +0x4, 0x1008071f4\npush    rbx                                                            ; +0x6, 0x1008071f6\nmov     rbx, rsi                                                       ; +0x7, 0x1008071f7\nmov     eax, [rdi+498h]                                                ; +0xa, 0x1008071fa\nlea     rsi, [rdi+400h]                                                ; +0x10, 0x100807200\nmov     edi, eax                                                       ; +0x17, 0x100807207\nmov     edx, 1                                                         ; +0x19, 0x100807209\ncall    GJSpecialColorSelect__create                                   ; +0x1e, 0x10080720e\nmov     r14, rax                                                       ; +0x23, 0x100807213\nmov     rax, [rbx]                                                     ; +0x26, 0x100807216\nmov     rdi, rbx                                                       ; +0x29, 0x100807219\ncall    qword ptr [rax+40h]                                            ; +0x2c, 0x10080721c\nmov     rcx, [r14]                                                     ; +0x2f, 0x10080721f\nmov     rdi, r14                                                       ; +0x32, 0x100807222\nmov     esi, eax                                                       ; +0x35, 0x100807225\ncall    qword ptr [rcx+48h]                                            ; +0x37, 0x100807227\nmov     rax, [r14]                                                     ; +0x3a, 0x10080722a\nmov     rdi, r14                                                       ; +0x3d, 0x10080722d\npop     rbx                                                            ; +0x40, 0x100807230\npop     r14                                                            ; +0x41, 0x100807231\npop     rbp                                                            ; +0x43, 0x100807233\njmp     qword ptr [rax+520h]                                           ; +0x44, 0x100807234", "xrefs": ["ColorSelectPopup::init @ 0x10080548c", "ColorSelectPopup::init @ 0x100805b92"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}