; ; cocos2d::CCGridBase::beforeDraw from 0x180022690 to 0x1800226c1 (49 bytes) ; ; 6 xrefs: ; > cocos2d::CCNode::visit @ 0x1800057d2 ; > cocos2d::CCRenderTexture::visit @ 0x1800607c9 ; > cocos2d::CCParticleBatchNode::visit @ 0x180061ee9 ; > cocos2d::CCSpriteBatchNode::visit @ 0x18008f5ca ; > @ 0x1801438a8 ; > @ 0x1801aef68 ; ; 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, 0x180022690 sub rsp, 20h ; +0x2, 0x180022692 mov rbx, rcx ; +0x6, 0x180022696 call ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x180022699 mov rcx, rbx; this ; +0xe, 0x18002269e mov edx, [rax+134h] ; +0x11, 0x1800226a1 mov [rbx+70h], edx ; +0x17, 0x1800226a7 call ?set2DProjection@CCGridBase@cocos2d@@QEAAXXZ; cocos2d::CCGridBase::set2DProjection(void) ; +0x1a, 0x1800226aa mov rdx, [rbx+48h] ; +0x1f, 0x1800226af mov rcx, [rbx+58h] ; +0x23, 0x1800226b3 add rsp, 20h ; +0x27, 0x1800226b7 pop rbx ; +0x2b, 0x1800226bb jmp sub_180022040 ; +0x2c, 0x1800226bc