; ; cocos2d::CCLayerGradient::initWithColor from 0x180052050 to 0x1800520ae (94 bytes) ; ; 3 xrefs: ; > @ 0x1800f4428 ; > @ 0x18014cf68 ; > @ 0x1801bc208 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:21:45 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x180052050 mov [rsp+arg_10], rsi ; +0x5, 0x180052055 mov [rsp+arg_18], rdi ; +0xa, 0x18005205a push r14 ; +0xf, 0x18005205f sub rsp, 20h ; +0x11, 0x180052061 mov rbx, [rcx] ; +0x15, 0x180052065 mov r14, rcx ; +0x18, 0x180052068 movss xmm2, cs:dword_1800ED380 ; +0x1b, 0x18005206b lea rcx, [rsp+28h+arg_0] ; +0x23, 0x180052073 xorps xmm1, xmm1 ; +0x28, 0x180052078 mov rdi, r8 ; +0x2b, 0x18005207b mov rsi, rdx ; +0x2e, 0x18005207e call kmVec2Fill ; +0x31, 0x180052081 mov r9, rax ; +0x36, 0x180052086 mov r8, rdi ; +0x39, 0x180052089 mov rdx, rsi ; +0x3c, 0x18005208c mov rcx, r14 ; +0x3f, 0x18005208f call qword ptr [rbx+420h] ; +0x42, 0x180052092 mov rbx, [rsp+28h+arg_8] ; +0x48, 0x180052098 mov rsi, [rsp+28h+arg_10] ; +0x4d, 0x18005209d mov rdi, [rsp+28h+arg_18] ; +0x52, 0x1800520a2 add rsp, 20h ; +0x57, 0x1800520a7 pop r14 ; +0x5b, 0x1800520ab retn ; +0x5d, 0x1800520ad