{"type": "func", "start": 6442782656, "end": 6442782787, "name": "cocos2d::CCLayerGradient::setValues", "pseudocode": "// \n// cocos2d::CCLayerGradient::setValues from 0x180050fc0 to 0x180051043 (131 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2184\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 cocos2d::CCLayerGradient::setValues(\n        cocos2d::CCLayerGradient *this,\n        const struct cocos2d::_ccColor3B *a2,\n        GLubyte a3,\n        const struct cocos2d::_ccColor3B *a4,\n        GLubyte a5,\n        struct cocos2d::CCPoint *a6)\n{\n  this->_realColor = *a2;\n  this->_displayedColor = this->_realColor;\n  this->m_cStartOpacity = a3;\n  this->m_endColor = *a4;\n  this->m_cEndOpacity = a5;\n  cocos2d::CCSize::operator=(&this->m_AlongVector, a6);\n  ((void (__fastcall *)(cocos2d::CCLayerGradient *))this->updateColor)(this);\n}", "assembly": "; \n; cocos2d::CCLayerGradient::setValues from 0x180050fc0 to 0x180051043 (131 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2184\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, 0x180050fc0\nsub     rsp, 20h                                                       ; +0x2, 0x180050fc2\nmovzx   eax, word ptr [rdx]                                            ; +0x6, 0x180050fc6\nmov     rbx, rcx                                                       ; +0x9, 0x180050fc9\nmov     [rcx+1A5h], ax                                                 ; +0xc, 0x180050fcc\nmovzx   eax, byte ptr [rdx+2]                                          ; +0x13, 0x180050fd3\nmov     rdx, [rsp+28h+arg_28]                                          ; +0x17, 0x180050fd7\nmov     [rcx+1A7h], al                                                 ; +0x1c, 0x180050fdc\nmovzx   eax, word ptr [rcx+1A5h]                                       ; +0x22, 0x180050fe2\nmov     [rcx+1A2h], ax                                                 ; +0x29, 0x180050fe9\nmovzx   eax, byte ptr [rcx+1A7h]                                       ; +0x30, 0x180050ff0\nmov     [rcx+1A4h], al                                                 ; +0x37, 0x180050ff7\nmov     [rcx+226h], r8b                                                ; +0x3d, 0x180050ffd\nmovzx   eax, word ptr [r9]                                             ; +0x44, 0x180051004\nmov     [rcx+223h], ax                                                 ; +0x48, 0x180051008\nmovzx   eax, byte ptr [r9+2]                                           ; +0x4f, 0x18005100f\nmov     [rcx+225h], al                                                 ; +0x54, 0x180051014\nmovzx   eax, [rsp+28h+arg_20]                                          ; +0x5a, 0x18005101a\nmov     [rcx+227h], al                                                 ; +0x5f, 0x18005101f\nadd     rcx, 228h                                                      ; +0x65, 0x180051025\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x6c, 0x18005102c\nmov     rax, [rbx]                                                     ; +0x71, 0x180051031\nmov     rcx, rbx                                                       ; +0x74, 0x180051034\nadd     rsp, 20h                                                       ; +0x77, 0x180051037\npop     rbx                                                            ; +0x7b, 0x18005103b\njmp     qword ptr [rax+408h]                                           ; +0x7c, 0x18005103c", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b2184"], "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"}