; ; cocos2d::CCAtlasNode::draw from 0x180001a80 to 0x180001b9d (285 bytes) ; ; 5 xrefs: ; > @ 0x1800e56b0 ; > @ 0x1800eb6b0 ; > @ 0x180105860 ; > @ 0x1801438a8 ; > @ 0x1801ad0d8 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x180001a80 sub rsp, 40h ; +0x2, 0x180001a82 mov rax, cs:__security_cookie ; +0x6, 0x180001a86 xor rax, rsp ; +0xd, 0x180001a8d mov [rsp+48h+var_18], rax ; +0x10, 0x180001a90 mov rbx, rcx ; +0x15, 0x180001a95 mov ecx, [rcx+0F8h]; this ; +0x18, 0x180001a98 call ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x1e, 0x180001a9e mov rax, [rbx] ; +0x23, 0x180001aa3 mov rcx, rbx ; +0x26, 0x180001aa6 call qword ptr [rax+278h] ; +0x29, 0x180001aa9 mov rax, [rbx] ; +0x2f, 0x180001aaf mov rcx, rbx ; +0x32, 0x180001ab2 call qword ptr [rax+278h] ; +0x35, 0x180001ab5 mov rcx, rax; this ; +0x3b, 0x180001abb call ?use@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::use(void) ; +0x3e, 0x180001abe mov rax, [rbx] ; +0x43, 0x180001ac3 mov rcx, rbx ; +0x46, 0x180001ac6 call qword ptr [rax+278h] ; +0x49, 0x180001ac9 mov rcx, rax; this ; +0x4f, 0x180001acf call ?setUniformsForBuiltins@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::setUniformsForBuiltins(void) ; +0x52, 0x180001ad2 mov edx, [rbx+188h]; dfactor ; +0x57, 0x180001ad7 mov ecx, [rbx+184h]; sfactor ; +0x5d, 0x180001add call ?ccGLBlendFunc@cocos2d@@YAXII@Z; cocos2d::ccGLBlendFunc(uint,uint) ; +0x63, 0x180001ae3 movss xmm2, cs:dword_1800E5838 ; +0x68, 0x180001ae8 mov rcx, rbx ; +0x70, 0x180001af0 movzx eax, byte ptr [rbx+14Ah] ; +0x73, 0x180001af3 movd xmm0, eax ; +0x7a, 0x180001afa movzx eax, byte ptr [rbx+14Bh] ; +0x7e, 0x180001afe cvtdq2ps xmm0, xmm0 ; +0x85, 0x180001b05 divss xmm0, xmm2 ; +0x88, 0x180001b08 movss [rsp+48h+var_28], xmm0 ; +0x8c, 0x180001b0c movd xmm0, eax ; +0x92, 0x180001b12 movzx eax, byte ptr [rbx+14Ch] ; +0x96, 0x180001b16 cvtdq2ps xmm0, xmm0 ; +0x9d, 0x180001b1d movd xmm1, eax ; +0xa0, 0x180001b20 movzx eax, byte ptr [rbx+148h] ; +0xa4, 0x180001b24 divss xmm0, xmm2 ; +0xab, 0x180001b2b cvtdq2ps xmm1, xmm1 ; +0xaf, 0x180001b2f movss [rsp+48h+var_24], xmm0 ; +0xb2, 0x180001b32 movd xmm0, eax ; +0xb8, 0x180001b38 mov rax, [rbx] ; +0xbc, 0x180001b3c cvtdq2ps xmm0, xmm0 ; +0xbf, 0x180001b3f divss xmm1, xmm2 ; +0xc2, 0x180001b42 divss xmm0, xmm2 ; +0xc6, 0x180001b46 movss [rsp+48h+var_20], xmm1 ; +0xca, 0x180001b4a movss [rsp+48h+var_1C], xmm0 ; +0xd0, 0x180001b50 call qword ptr [rax+278h] ; +0xd6, 0x180001b56 mov edx, [rbx+190h]; int ; +0xdc, 0x180001b5c lea r8, [rsp+48h+var_28]; float * ; +0xe2, 0x180001b62 mov rcx, rax; this ; +0xe7, 0x180001b67 mov r9d, 1; unsigned int ; +0xea, 0x180001b6a call ?setUniformLocationWith4fv@CCGLProgram@cocos2d@@QEAAXHPEAMI@Z; cocos2d::CCGLProgram::setUniformLocationWith4fv(int,float *,uint) ; +0xf0, 0x180001b70 mov edx, [rbx+18Ch]; unsigned int ; +0xf5, 0x180001b75 xor r8d, r8d; unsigned int ; +0xfb, 0x180001b7b mov rcx, [rbx+178h]; this ; +0xfe, 0x180001b7e call ?drawNumberOfQuads@CCTextureAtlas@cocos2d@@QEAAXII@Z; cocos2d::CCTextureAtlas::drawNumberOfQuads(uint,uint) ; +0x105, 0x180001b85 mov rcx, [rsp+48h+var_18] ; +0x10a, 0x180001b8a xor rcx, rsp; StackCookie ; +0x10f, 0x180001b8f call __security_check_cookie ; +0x112, 0x180001b92 add rsp, 40h ; +0x117, 0x180001b97 pop rbx ; +0x11b, 0x180001b9b retn ; +0x11c, 0x180001b9c