{"type": "func", "start": 4303382976, "end": 4303383038, "name": "ColorSelectPopup::onPaste", "pseudocode": "// \n// ColorSelectPopup::onPaste from 0x1008069c0 to 0x1008069fe (62 bytes)\n// \n// 1 xrefs:\n// > ColorSelectPopup::init @ 0x1008045a2\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::onPaste(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rax\n  __int16 v3; // cx\n  int v5; // [rsp+0h] [rbp-Ch] BYREF\n\n  v5 = HIDWORD(v1);\n  v2 = GameManager::sharedState();\n  v3 = *(_WORD *)(v2 + 960);\n  BYTE2(v5) = *(_BYTE *)(v2 + 962);\n  LOWORD(v5) = v3;\n  return (*(__int64 (__fastcall **)(_QWORD, int *))(**(_QWORD **)(a1 + 1032) + 1360LL))(*(_QWORD *)(a1 + 1032), &v5);\n}", "assembly": "; \n; ColorSelectPopup::onPaste from 0x1008069c0 to 0x1008069fe (62 bytes)\n; \n; 1 xrefs:\n; > ColorSelectPopup::init @ 0x1008045a2\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, 0x1008069c0\nmov     rbp, rsp                                                       ; +0x1, 0x1008069c1\npush    rbx                                                            ; +0x4, 0x1008069c4\npush    rax                                                            ; +0x5, 0x1008069c5\nmov     rbx, rdi                                                       ; +0x6, 0x1008069c6\ncall    GameManager__sharedState                                       ; +0x9, 0x1008069c9\nmovzx   ecx, word ptr [rax+3C0h]                                       ; +0xe, 0x1008069ce\nmovzx   eax, byte ptr [rax+3C2h]                                       ; +0x15, 0x1008069d5\nmov     [rbp+var_A], al                                                ; +0x1c, 0x1008069dc\nmov     [rbp+var_C], cx                                                ; +0x1f, 0x1008069df\nmov     rdi, [rbx+408h]                                                ; +0x23, 0x1008069e3\nmov     rax, [rdi]                                                     ; +0x2a, 0x1008069ea\nlea     rsi, [rbp+var_C]                                               ; +0x2d, 0x1008069ed\ncall    qword ptr [rax+550h]                                           ; +0x31, 0x1008069f1\nadd     rsp, 8                                                         ; +0x37, 0x1008069f7\npop     rbx                                                            ; +0x3b, 0x1008069fb\npop     rbp                                                            ; +0x3c, 0x1008069fc\nretn                                                                   ; +0x3d, 0x1008069fd", "xrefs": ["ColorSelectPopup::init @ 0x1008045a2"], "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"}