; ; cocos2d::CCLayerColor::init from 0x180051cd0 to 0x180051d16 (70 bytes) ; ; 4 xrefs: ; > @ 0x1800f3ac0 ; > @ 0x18014cf68 ; > @ 0x1801bc16c ; > @ 0x1801bc178 ; ; 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 ; push rbx ; +0x0, 0x180051cd0 sub rsp, 20h ; +0x2, 0x180051cd2 mov rbx, rcx ; +0x6, 0x180051cd6 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x180051cd9 mov rcx, rax ; +0xe, 0x180051cde lea rdx, [rsp+28h+arg_8] ; +0x11, 0x180051ce1 call ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x16, 0x180051ce6 mov rax, [rbx] ; +0x1b, 0x180051ceb lea rdx, [rsp+28h+arg_0] ; +0x1e, 0x180051cee movss xmm3, [rsp+28h+arg_C] ; +0x23, 0x180051cf3 mov rcx, rbx ; +0x29, 0x180051cf9 movss xmm2, [rsp+28h+arg_8] ; +0x2c, 0x180051cfc mov [rsp+28h+arg_0], 0 ; +0x32, 0x180051d02 call qword ptr [rax+410h] ; +0x3a, 0x180051d0a add rsp, 20h ; +0x40, 0x180051d10 pop rbx ; +0x44, 0x180051d14 retn ; +0x45, 0x180051d15