{"type": "func", "start": 5369302688, "end": 5369302806, "name": "ColorSelectPopup::onPaste", "pseudocode": "// \n// ColorSelectPopup::onPaste from 0x140090ea0 to 0x140090f16 (118 bytes)\n// \n// 3 xrefs:\n// > ColorSelectPopup::init @ 0x14008e7fb\n// > SetupPulsePopup::init @ 0x140439b1d\n// > <???> @ 0x1406c6fa8\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\n// Merged with: ColorSelectPopup::onPaste, SetupPulsePopup::onPaste\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall ColorSelectPopup::onPaste(__int64 a1)\n{\n  __int64 v2; // rdx\n  __int16 v4; // [rsp+30h] [rbp+8h] BYREF\n  char v5; // [rsp+32h] [rbp+Ah]\n  void *v6; // [rsp+40h] [rbp+18h]\n\n  v2 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v6 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v6);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v2 = qword_1406C2ED8;\n  }\n  v4 = *(_WORD *)(v2 + 944);\n  v5 = *(_BYTE *)(v2 + 946);\n  return (*(__int64 (__fastcall **)(_QWORD, __int16 *))(**(_QWORD **)(a1 + 952) + 1112LL))(*(_QWORD *)(a1 + 952), &v4);\n}", "assembly": "; \n; ColorSelectPopup::onPaste from 0x140090ea0 to 0x140090f16 (118 bytes)\n; \n; 3 xrefs:\n; > ColorSelectPopup::init @ 0x14008e7fb\n; > SetupPulsePopup::init @ 0x140439b1d\n; > <???> @ 0x1406c6fa8\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    rbx                                                            ; +0x0, 0x140090ea0\nsub     rsp, 20h                                                       ; +0x2, 0x140090ea2\nmov     rbx, rcx                                                       ; +0x6, 0x140090ea6\nmov     rdx, cs:qword_1406C2ED8                                        ; +0x9, 0x140090ea9\ntest    rdx, rdx                                                       ; +0x10, 0x140090eb0\njnz     short loc_140090EE4                                            ; +0x13, 0x140090eb3\nmov     ecx, 668h; Size                                                ; +0x15, 0x140090eb5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x140090eba\nmov     [rsp+28h+arg_10], rax                                          ; +0x1f, 0x140090ebf\nmov     rcx, rax                                                       ; +0x24, 0x140090ec4\ncall    sub_14017AB00                                                  ; +0x27, 0x140090ec7\nnop                                                                    ; +0x2c, 0x140090ecc\nmov     cs:qword_1406C2ED8, rax                                        ; +0x2d, 0x140090ecd\nmov     rdx, [rax]                                                     ; +0x34, 0x140090ed4\nmov     rcx, rax                                                       ; +0x37, 0x140090ed7\ncall    qword ptr [rdx+48h]                                            ; +0x3a, 0x140090eda\nmov     rdx, cs:qword_1406C2ED8                                        ; +0x3d, 0x140090edd\nmovzx   eax, word ptr [rdx+3B0h]                                       ; +0x44, 0x140090ee4\nmov     [rsp+28h+arg_0], ax                                            ; +0x4b, 0x140090eeb\nmovzx   eax, byte ptr [rdx+3B2h]                                       ; +0x50, 0x140090ef0\nmov     [rsp+28h+arg_2], al                                            ; +0x57, 0x140090ef7\nmov     rcx, [rbx+3B8h]                                                ; +0x5b, 0x140090efb\nmov     rax, [rcx]                                                     ; +0x62, 0x140090f02\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x65, 0x140090f05\ncall    qword ptr [rax+458h]                                           ; +0x6a, 0x140090f0a\nadd     rsp, 20h                                                       ; +0x70, 0x140090f10\npop     rbx                                                            ; +0x74, 0x140090f14\nretn                                                                   ; +0x75, 0x140090f15", "xrefs": ["ColorSelectPopup::init @ 0x14008e7fb", "SetupPulsePopup::init @ 0x140439b1d", "<???> @ 0x1406c6fa8"], "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"}