{"type": "func", "start": 4303382912, "end": 4303382967, "name": "ColorSelectPopup::onCopy", "pseudocode": "// \n// ColorSelectPopup::onCopy from 0x100806980 to 0x1008069b7 (55 bytes)\n// \n// 1 xrefs:\n// > ColorSelectPopup::init @ 0x100804575\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::onCopy(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 v2; // rcx\n  __int16 v3; // dx\n\n  result = GameManager::sharedState();\n  v2 = *(_QWORD *)(a1 + 1032);\n  v3 = *(_WORD *)(v2 + 472);\n  *(_BYTE *)(result + 962) = *(_BYTE *)(v2 + 474);\n  *(_WORD *)(result + 960) = v3;\n  return result;\n}", "assembly": "; \n; ColorSelectPopup::onCopy from 0x100806980 to 0x1008069b7 (55 bytes)\n; \n; 1 xrefs:\n; > ColorSelectPopup::init @ 0x100804575\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, 0x100806980\nmov     rbp, rsp                                                       ; +0x1, 0x100806981\npush    rbx                                                            ; +0x4, 0x100806984\npush    rax                                                            ; +0x5, 0x100806985\nmov     rbx, rdi                                                       ; +0x6, 0x100806986\ncall    GameManager__sharedState                                       ; +0x9, 0x100806989\nmov     rcx, [rbx+408h]                                                ; +0xe, 0x10080698e\nmovzx   edx, word ptr [rcx+1D8h]                                       ; +0x15, 0x100806995\nmovzx   ecx, byte ptr [rcx+1DAh]                                       ; +0x1c, 0x10080699c\nmov     [rax+3C2h], cl                                                 ; +0x23, 0x1008069a3\nmov     [rax+3C0h], dx                                                 ; +0x29, 0x1008069a9\nadd     rsp, 8                                                         ; +0x30, 0x1008069b0\npop     rbx                                                            ; +0x34, 0x1008069b4\npop     rbp                                                            ; +0x35, 0x1008069b5\nretn                                                                   ; +0x36, 0x1008069b6", "xrefs": ["ColorSelectPopup::init @ 0x100804575"], "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"}