; ; cocos2d::CCGridBase::afterDraw from 0x1800225c0 to 0x180022687 (199 bytes) ; ; 6 xrefs: ; > cocos2d::CCNode::visit @ 0x18000589b ; > cocos2d::CCRenderTexture::visit @ 0x18006080f ; > cocos2d::CCParticleBatchNode::visit @ 0x180061f1f ; > cocos2d::CCSpriteBatchNode::visit @ 0x18008f60c ; > @ 0x1801438a8 ; > @ 0x1801aef5c ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x1800225c0 push rdi ; +0x5, 0x1800225c5 sub rsp, 20h ; +0x6, 0x1800225c6 mov rdi, rdx ; +0xa, 0x1800225ca mov rbx, rcx ; +0xd, 0x1800225cd mov rdx, [rcx+48h] ; +0x10, 0x1800225d0 mov rcx, [rcx+58h] ; +0x14, 0x1800225d4 call sub_180022000 ; +0x18, 0x1800225d8 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1d, 0x1800225dd mov edx, [rbx+70h] ; +0x22, 0x1800225e2 mov rcx, rax ; +0x25, 0x1800225e5 call ?setProjection@CCDirector@cocos2d@@QEAAXW4ccDirectorProjection@2@@Z; cocos2d::CCDirector::setProjection(cocos2d::ccDirectorProjection) ; +0x28, 0x1800225e8 mov rax, [rdi] ; +0x2d, 0x1800225ed mov rcx, rdi ; +0x30, 0x1800225f0 call qword ptr [rax+288h] ; +0x33, 0x1800225f3 cmp byte ptr [rax+5Ch], 0 ; +0x39, 0x1800225f9 jz short loc_180022662 ; +0x3d, 0x1800225fd mov rax, [rdi] ; +0x3f, 0x1800225ff mov rcx, rdi ; +0x42, 0x180022602 call qword ptr [rax+120h] ; +0x45, 0x180022605 mov rdx, rax ; +0x4b, 0x18002260b lea rcx, [rsp+28h+arg_0] ; +0x4e, 0x18002260e call ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0x53, 0x180022613 movss xmm1, [rsp+28h+arg_4] ; +0x58, 0x180022618 xorps xmm2, xmm2 ; +0x5e, 0x18002261e movss xmm0, [rsp+28h+arg_0] ; +0x61, 0x180022621 call kmGLTranslatef ; +0x67, 0x180022627 mov rax, [rdi] ; +0x6c, 0x18002262c mov rcx, rdi ; +0x6f, 0x18002262f call qword ptr [rax+288h] ; +0x72, 0x180022632 mov rcx, rax; this ; +0x78, 0x180022638 call ?locate@CCCamera@cocos2d@@QEAAXXZ; cocos2d::CCCamera::locate(void) ; +0x7b, 0x18002263b movss xmm1, [rsp+28h+arg_4] ; +0x80, 0x180022640 xorps xmm2, xmm2 ; +0x86, 0x180022646 movss xmm0, [rsp+28h+arg_0] ; +0x89, 0x180022649 xorps xmm1, cs:xmmword_1800E61C0 ; +0x8f, 0x18002264f xorps xmm0, cs:xmmword_1800E61C0 ; +0x96, 0x180022656 call kmGLTranslatef ; +0x9d, 0x18002265d mov rcx, [rbx+48h] ; +0xa2, 0x180022662 mov rax, [rcx] ; +0xa6, 0x180022666 call qword ptr [rax+60h] ; +0xa9, 0x180022669 mov ecx, eax; this ; +0xac, 0x18002266c call ?ccGLBindTexture2D@cocos2d@@YAXI@Z; cocos2d::ccGLBindTexture2D(uint) ; +0xae, 0x18002266e mov rax, [rbx] ; +0xb3, 0x180022673 mov rcx, rbx ; +0xb6, 0x180022676 mov rbx, [rsp+28h+arg_8] ; +0xb9, 0x180022679 add rsp, 20h ; +0xbe, 0x18002267e pop rdi ; +0xc2, 0x180022682 jmp qword ptr [rax+48h] ; +0xc3, 0x180022683