; ; cocos2d::CCLayerColor::initWithColor from 0x180051ec0 to 0x180051f0a (74 bytes) ; ; 4 xrefs: ; > @ 0x1800f3e80 ; > @ 0x1800f4408 ; > @ 0x18014cf68 ; > @ 0x1801bc1d8 ; ; 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, 0x180051ec0 push rdi ; +0x5, 0x180051ec5 sub rsp, 20h ; +0x6, 0x180051ec6 mov rbx, rdx ; +0xa, 0x180051eca mov rdi, rcx ; +0xd, 0x180051ecd call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x180051ed0 mov rcx, rax ; +0x15, 0x180051ed5 lea rdx, [rsp+28h+arg_0] ; +0x18, 0x180051ed8 call ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1d, 0x180051edd mov rax, [rdi] ; +0x22, 0x180051ee2 mov rdx, rbx ; +0x25, 0x180051ee5 movss xmm3, [rsp+28h+arg_4] ; +0x28, 0x180051ee8 mov rcx, rdi ; +0x2e, 0x180051eee movss xmm2, [rsp+28h+arg_0] ; +0x31, 0x180051ef1 call qword ptr [rax+410h] ; +0x37, 0x180051ef7 mov rbx, [rsp+28h+arg_8] ; +0x3d, 0x180051efd mov al, 1 ; +0x42, 0x180051f02 add rsp, 20h ; +0x44, 0x180051f04 pop rdi ; +0x48, 0x180051f08 retn ; +0x49, 0x180051f09