; ; cocos2d::CCAtlasNode::draw from 0x180001a30 to 0x180001b58 (296 bytes) ; ; 5 xrefs: ; > @ 0x1800eb6f0 ; > @ 0x1800f1760 ; > @ 0x18010bf50 ; > @ 0x18014cf68 ; > @ 0x1801b70e4 ; ; 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:15 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x180001a30 push rdi ; +0x5, 0x180001a35 sub rsp, 40h ; +0x6, 0x180001a36 mov rax, cs:__security_cookie ; +0xa, 0x180001a3a xor rax, rsp ; +0x11, 0x180001a41 mov [rsp+48h+var_18], rax ; +0x14, 0x180001a44 mov rdi, rcx ; +0x19, 0x180001a49 mov ecx, [rcx+0F8h]; this ; +0x1c, 0x180001a4c call ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x22, 0x180001a52 mov rax, [rdi] ; +0x27, 0x180001a57 mov rcx, rdi ; +0x2a, 0x180001a5a call qword ptr [rax+288h] ; +0x2d, 0x180001a5d mov rax, [rdi] ; +0x33, 0x180001a63 mov rcx, rdi ; +0x36, 0x180001a66 call qword ptr [rax+288h] ; +0x39, 0x180001a69 mov rcx, rax; this ; +0x3f, 0x180001a6f call ?use@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::use(void) ; +0x42, 0x180001a72 mov rax, [rdi] ; +0x47, 0x180001a77 mov rcx, rdi ; +0x4a, 0x180001a7a call qword ptr [rax+288h] ; +0x4d, 0x180001a7d mov rcx, rax; this ; +0x53, 0x180001a83 call ?setUniformsForBuiltins@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::setUniformsForBuiltins(void) ; +0x56, 0x180001a86 mov edx, [rdi+188h]; dfactor ; +0x5b, 0x180001a8b mov ecx, [rdi+184h]; sfactor ; +0x61, 0x180001a91 call ?ccGLBlendFunc@cocos2d@@YAXII@Z; cocos2d::ccGLBlendFunc(uint,uint) ; +0x67, 0x180001a97 movss xmm2, cs:dword_1800EB878 ; +0x6c, 0x180001a9c mov rcx, rdi ; +0x74, 0x180001aa4 movzx eax, byte ptr [rdi+14Ah] ; +0x77, 0x180001aa7 mov ebx, [rdi+190h] ; +0x7e, 0x180001aae movd xmm0, eax ; +0x84, 0x180001ab4 movzx eax, byte ptr [rdi+14Bh] ; +0x88, 0x180001ab8 cvtdq2ps xmm0, xmm0 ; +0x8f, 0x180001abf divss xmm0, xmm2 ; +0x92, 0x180001ac2 movss [rsp+48h+var_28], xmm0 ; +0x96, 0x180001ac6 movd xmm0, eax ; +0x9c, 0x180001acc movzx eax, byte ptr [rdi+14Ch] ; +0xa0, 0x180001ad0 cvtdq2ps xmm0, xmm0 ; +0xa7, 0x180001ad7 movd xmm1, eax ; +0xaa, 0x180001ada movzx eax, byte ptr [rdi+148h] ; +0xae, 0x180001ade divss xmm0, xmm2 ; +0xb5, 0x180001ae5 cvtdq2ps xmm1, xmm1 ; +0xb9, 0x180001ae9 movss [rsp+48h+var_24], xmm0 ; +0xbc, 0x180001aec movd xmm0, eax ; +0xc2, 0x180001af2 mov rax, [rdi] ; +0xc6, 0x180001af6 cvtdq2ps xmm0, xmm0 ; +0xc9, 0x180001af9 divss xmm1, xmm2 ; +0xcc, 0x180001afc divss xmm0, xmm2 ; +0xd0, 0x180001b00 movss [rsp+48h+var_20], xmm1 ; +0xd4, 0x180001b04 movss [rsp+48h+var_1C], xmm0 ; +0xda, 0x180001b0a call qword ptr [rax+288h] ; +0xe0, 0x180001b10 mov r9d, 1; unsigned int ; +0xe6, 0x180001b16 lea r8, [rsp+48h+var_28]; float * ; +0xec, 0x180001b1c mov rcx, rax; this ; +0xf1, 0x180001b21 mov edx, ebx; int ; +0xf4, 0x180001b24 call ?setUniformLocationWith4fv@CCGLProgram@cocos2d@@QEAAXHPEAMI@Z; cocos2d::CCGLProgram::setUniformLocationWith4fv(int,float *,uint) ; +0xf6, 0x180001b26 mov edx, [rdi+18Ch]; unsigned int ; +0xfb, 0x180001b2b xor r8d, r8d; unsigned int ; +0x101, 0x180001b31 mov rcx, [rdi+178h]; this ; +0x104, 0x180001b34 call ?drawNumberOfQuads@CCTextureAtlas@cocos2d@@QEAAXII@Z; cocos2d::CCTextureAtlas::drawNumberOfQuads(uint,uint) ; +0x10b, 0x180001b3b mov rcx, [rsp+48h+var_18] ; +0x110, 0x180001b40 xor rcx, rsp; StackCookie ; +0x115, 0x180001b45 call __security_check_cookie ; +0x118, 0x180001b48 mov rbx, [rsp+48h+arg_8] ; +0x11d, 0x180001b4d add rsp, 40h ; +0x122, 0x180001b52 pop rdi ; +0x126, 0x180001b56 retn ; +0x127, 0x180001b57