; ; cocos2d::CCSpriteBatchNode::draw from 0x18008e3a0 to 0x18008e477 (215 bytes) ; ; 7 xrefs: ; > @ 0x1800ec550 ; > @ 0x180103f50 ; > @ 0x180105cb8 ; > @ 0x18013d90c ; > @ 0x18013d940 ; > @ 0x1801438a8 ; > @ 0x1801b5fac ; ; 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 rdi ; +0x0, 0x18008e3a0 sub rsp, 20h ; +0x2, 0x18008e3a2 mov rdi, rcx ; +0x6, 0x18008e3a6 mov rcx, [rcx+148h] ; +0x9, 0x18008e3a9 mov rax, [rcx] ; +0x10, 0x18008e3b0 call qword ptr [rax+48h] ; +0x13, 0x18008e3b3 test eax, eax ; +0x16, 0x18008e3b6 jz loc_18008E471 ; +0x18, 0x18008e3b8 mov ecx, [rdi+0F8h]; this ; +0x1e, 0x18008e3be mov [rsp+28h+arg_0], rbx ; +0x24, 0x18008e3c4 call ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0x29, 0x18008e3c9 mov rax, [rdi] ; +0x2e, 0x18008e3ce mov rcx, rdi ; +0x31, 0x18008e3d1 call qword ptr [rax+278h] ; +0x34, 0x18008e3d4 mov rax, [rdi] ; +0x3a, 0x18008e3da mov rcx, rdi ; +0x3d, 0x18008e3dd call qword ptr [rax+278h] ; +0x40, 0x18008e3e0 mov rcx, rax; this ; +0x46, 0x18008e3e6 call ?use@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::use(void) ; +0x49, 0x18008e3e9 mov rax, [rdi] ; +0x4e, 0x18008e3ee mov rcx, rdi ; +0x51, 0x18008e3f1 call qword ptr [rax+278h] ; +0x54, 0x18008e3f4 mov rcx, rax; this ; +0x5a, 0x18008e3fa call ?setUniformsForBuiltins@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::setUniformsForBuiltins(void) ; +0x5d, 0x18008e3fd mov rbx, [rdi+0D0h] ; +0x62, 0x18008e402 test rbx, rbx ; +0x69, 0x18008e409 jz short loc_18008E44F ; +0x6c, 0x18008e40c mov rbx, [rbx+38h] ; +0x6e, 0x18008e40e mov eax, [rbx] ; +0x72, 0x18008e412 test eax, eax ; +0x74, 0x18008e414 jz short loc_18008E44F ; +0x76, 0x18008e416 mov rbx, [rbx+10h] ; +0x78, 0x18008e418 mov [rsp+28h+arg_8], rsi ; +0x7c, 0x18008e41c lea rsi, [rax-1] ; +0x81, 0x18008e421 lea rsi, [rbx+rsi*8] ; +0x85, 0x18008e425 cmp rbx, rsi ; +0x89, 0x18008e429 ja short loc_18008E44A ; +0x8c, 0x18008e42c xchg ax, ax ; +0x8e, 0x18008e42e mov rcx, [rbx] ; +0x90, 0x18008e430 test rcx, rcx ; +0x93, 0x18008e433 jz short loc_18008E44A ; +0x96, 0x18008e436 mov rax, [rcx] ; +0x98, 0x18008e438 call qword ptr [rax+300h] ; +0x9b, 0x18008e43b add rbx, 8 ; +0xa1, 0x18008e441 cmp rbx, rsi ; +0xa5, 0x18008e445 jbe short loc_18008E430 ; +0xa8, 0x18008e448 mov rsi, [rsp+28h+arg_8] ; +0xaa, 0x18008e44a mov edx, [rdi+154h]; dfactor ; +0xaf, 0x18008e44f mov ecx, [rdi+150h]; sfactor ; +0xb5, 0x18008e455 call ?ccGLBlendFunc@cocos2d@@YAXII@Z; cocos2d::ccGLBlendFunc(uint,uint) ; +0xbb, 0x18008e45b mov rcx, [rdi+148h]; this ; +0xc0, 0x18008e460 call ?drawQuads@CCTextureAtlas@cocos2d@@QEAAXXZ; cocos2d::CCTextureAtlas::drawQuads(void) ; +0xc7, 0x18008e467 mov rbx, [rsp+28h+arg_0] ; +0xcc, 0x18008e46c add rsp, 20h ; +0xd1, 0x18008e471 pop rdi ; +0xd5, 0x18008e475 retn ; +0xd6, 0x18008e476