{"type": "func", "start": 4302470080, "end": 4302470142, "name": "ColorSelectPopup::onPaste", "pseudocode": "// \n// ColorSelectPopup::onPaste from 0x100727bc0 to 0x100727bfe (62 bytes)\n// \n// 1 xrefs:\n// > ColorSelectPopup::init @ 0x10072579f\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::onPaste(ColorSelectPopup *a1, cocos2d::CCObject *a2)\n{\n  __int64 v2; // rax\n  GameManager *v3; // rax\n  __int16 v4; // cx\n  int v5; // [rsp+0h] [rbp-Ch] BYREF\n\n  v5 = HIDWORD(v2);\n  v3 = GameManager::sharedState();\n  v4 = *(_WORD *)&v3->m_copiedColor.r;\n  BYTE2(v5) = v3->m_copiedColor.b;\n  LOWORD(v5) = v4;\n  ((void (__fastcall *)(cocos2d::extension::CCControlColourPicker *, int *))a1->m_colorPicker->setColorValue)(\n    a1->m_colorPicker,\n    &v5);\n}", "assembly": "; \n; ColorSelectPopup::onPaste from 0x100727bc0 to 0x100727bfe (62 bytes)\n; \n; 1 xrefs:\n; > ColorSelectPopup::init @ 0x10072579f\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, 0x100727bc0\nmov     rbp, rsp                                                       ; +0x1, 0x100727bc1\npush    rbx                                                            ; +0x4, 0x100727bc4\npush    rax                                                            ; +0x5, 0x100727bc5\nmov     rbx, rdi                                                       ; +0x6, 0x100727bc6\ncall    GameManager__sharedState                                       ; +0x9, 0x100727bc9\nmovzx   ecx, word ptr [rax+390h]                                       ; +0xe, 0x100727bce\nmovzx   eax, byte ptr [rax+392h]                                       ; +0x15, 0x100727bd5\nmov     [rbp+var_A], al                                                ; +0x1c, 0x100727bdc\nmov     [rbp+var_C], cx                                                ; +0x1f, 0x100727bdf\nmov     rdi, [rbx+3C0h]                                                ; +0x23, 0x100727be3\nmov     rax, [rdi]                                                     ; +0x2a, 0x100727bea\nlea     rsi, [rbp+var_C]                                               ; +0x2d, 0x100727bed\ncall    qword ptr [rax+540h]                                           ; +0x31, 0x100727bf1\nadd     rsp, 8                                                         ; +0x37, 0x100727bf7\npop     rbx                                                            ; +0x3b, 0x100727bfb\npop     rbp                                                            ; +0x3c, 0x100727bfc\nretn                                                                   ; +0x3d, 0x100727bfd", "xrefs": ["ColorSelectPopup::init @ 0x10072579f"], "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"}