; ; cocos2d::CCLayer::CCLayer from 0x180050850 to 0x180050919 (201 bytes) ; ; 5 xrefs: ; > cocos2d::CCLayerMultiplex::CCLayerMultiplex @ 0x180050a69 ; > cocos2d::CCLayerRGBA::CCLayerRGBA @ 0x180050ae9 ; > cocos2d::CCLayer::create @ 0x18005153d ; > @ 0x18014cf68 ; > @ 0x1801bbf8c ; ; 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_0], rcx ; +0x0, 0x180050850 push rbx ; +0x5, 0x180050855 sub rsp, 20h ; +0x6, 0x180050856 mov rbx, rcx ; +0xa, 0x18005085a call ??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void) ; +0xd, 0x18005085d nop ; +0x12, 0x180050862 lea rax, ??_7CCLayer@cocos2d@@6BCCNode@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCNode'} ; +0x13, 0x180050863 mov [rbx], rax ; +0x1a, 0x18005086a lea rax, ??_7CCLayer@cocos2d@@6BCCTouchDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x1d, 0x18005086d mov [rbx+140h], rax ; +0x24, 0x180050874 lea rax, ??_7CCLayer@cocos2d@@6BCCAccelerometerDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x2b, 0x18005087b mov [rbx+148h], rax ; +0x32, 0x180050882 lea rax, ??_7CCLayer@cocos2d@@6BCCKeypadDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x39, 0x180050889 mov [rbx+150h], rax ; +0x40, 0x180050890 lea rax, ??_7CCLayer@cocos2d@@6BCCKeyboardDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x47, 0x180050897 mov [rbx+158h], rax ; +0x4e, 0x18005089e lea rax, ??_7CCLayer@cocos2d@@6BCCMouseDelegate@1@@; const cocos2d::CCLayer::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x55, 0x1800508a5 mov [rbx+160h], rax ; +0x5c, 0x1800508ac mov dword ptr [rbx+168h], 0 ; +0x63, 0x1800508b3 mov byte ptr [rbx+16Ch], 0 ; +0x6d, 0x1800508bd xor eax, eax ; +0x74, 0x1800508c4 mov [rbx+170h], rax ; +0x76, 0x1800508c6 mov [rbx+178h], rax ; +0x7d, 0x1800508cd mov [rbx+180h], rax ; +0x84, 0x1800508d4 mov [rbx+188h], rax ; +0x8b, 0x1800508db mov [rbx+190h], eax ; +0x92, 0x1800508e2 mov byte ptr [rbx+11Fh], 1 ; +0x98, 0x1800508e8 movss xmm1, cs:dword_1800EC358 ; +0x9f, 0x1800508ef movaps xmm2, xmm1 ; +0xa7, 0x1800508f7 lea rcx, [rsp+28h+arg_8] ; +0xaa, 0x1800508fa call kmVec2Fill ; +0xaf, 0x1800508ff mov rdx, rax; struct cocos2d::CCPoint * ; +0xb4, 0x180050904 mov rcx, rbx; this ; +0xb7, 0x180050907 call ?setAnchorPoint@CCNode@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCNode::setAnchorPoint(cocos2d::CCPoint const &) ; +0xba, 0x18005090a nop ; +0xbf, 0x18005090f mov rax, rbx ; +0xc0, 0x180050910 add rsp, 20h ; +0xc3, 0x180050913 pop rbx ; +0xc7, 0x180050917 retn ; +0xc8, 0x180050918