{"type": "func", "start": 6442786896, "end": 6442786990, "name": "cocos2d::CCLayerGradient::initWithColor", "pseudocode": "// \n// cocos2d::CCLayerGradient::initWithColor from 0x180052050 to 0x1800520ae (94 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f4428\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc208\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 11:21:45 +0000\n// \n\nbool __fastcall cocos2d::CCLayerGradient::initWithColor(\n        cocos2d::CCLayerGradient *this,\n        const struct cocos2d::_ccColor4B *a2,\n        const struct cocos2d::_ccColor4B *a3)\n{\n  __int64 v3; // rbx\n  float *v7; // rax\n  float v9; // [rsp+30h] [rbp+8h] BYREF\n\n  v3 = *(_QWORD *)this;\n  v7 = kmVec2Fill(&v9, 0.0, -1.0);\n  return (*(bool (__fastcall **)(cocos2d::CCLayerGradient *, const struct cocos2d::_ccColor4B *, const struct cocos2d::_ccColor4B *, float *))(v3 + 1056))(\n           this,\n           a2,\n           a3,\n           v7);\n}", "assembly": "; \n; cocos2d::CCLayerGradient::initWithColor from 0x180052050 to 0x1800520ae (94 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f4428\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc208\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 11:21:45 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180052050\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180052055\nmov     [rsp+arg_18], rdi                                              ; +0xa, 0x18005205a\npush    r14                                                            ; +0xf, 0x18005205f\nsub     rsp, 20h                                                       ; +0x11, 0x180052061\nmov     rbx, [rcx]                                                     ; +0x15, 0x180052065\nmov     r14, rcx                                                       ; +0x18, 0x180052068\nmovss   xmm2, cs:dword_1800ED380                                       ; +0x1b, 0x18005206b\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x23, 0x180052073\nxorps   xmm1, xmm1                                                     ; +0x28, 0x180052078\nmov     rdi, r8                                                        ; +0x2b, 0x18005207b\nmov     rsi, rdx                                                       ; +0x2e, 0x18005207e\ncall    kmVec2Fill                                                     ; +0x31, 0x180052081\nmov     r9, rax                                                        ; +0x36, 0x180052086\nmov     r8, rdi                                                        ; +0x39, 0x180052089\nmov     rdx, rsi                                                       ; +0x3c, 0x18005208c\nmov     rcx, r14                                                       ; +0x3f, 0x18005208f\ncall    qword ptr [rbx+420h]                                           ; +0x42, 0x180052092\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x48, 0x180052098\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x4d, 0x18005209d\nmov     rdi, [rsp+28h+arg_18]                                          ; +0x52, 0x1800520a2\nadd     rsp, 20h                                                       ; +0x57, 0x1800520a7\npop     r14                                                            ; +0x5b, 0x1800520ab\nretn                                                                   ; +0x5d, 0x1800520ad", "xrefs": ["<???> @ 0x1800f4428", "<???> @ 0x18014cf68", "<???> @ 0x1801bc208"], "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"}