{"type": "func", "start": 6442591888, "end": 6442591937, "name": "cocos2d::CCGridBase::beforeDraw", "pseudocode": "// \n// cocos2d::CCGridBase::beforeDraw from 0x180022690 to 0x1800226c1 (49 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCNode::visit @ 0x1800057d2\n// > cocos2d::CCRenderTexture::visit @ 0x1800607c9\n// > cocos2d::CCParticleBatchNode::visit @ 0x180061ee9\n// > cocos2d::CCSpriteBatchNode::visit @ 0x18008f5ca\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801aef68\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCGridBase::beforeDraw(cocos2d::CCGridBase *this)\n{\n  this->m_directorProjection = cocos2d::CCDirector::sharedDirector()->m_eProjection;\n  cocos2d::CCGridBase::set2DProjection(this);\n  sub_180022040((__int64)this->m_pGrabber);\n}", "assembly": "; \n; cocos2d::CCGridBase::beforeDraw from 0x180022690 to 0x1800226c1 (49 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCNode::visit @ 0x1800057d2\n; > cocos2d::CCRenderTexture::visit @ 0x1800607c9\n; > cocos2d::CCParticleBatchNode::visit @ 0x180061ee9\n; > cocos2d::CCSpriteBatchNode::visit @ 0x18008f5ca\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801aef68\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x180022690\nsub     rsp, 20h                                                       ; +0x2, 0x180022692\nmov     rbx, rcx                                                       ; +0x6, 0x180022696\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x180022699\nmov     rcx, rbx; this                                                 ; +0xe, 0x18002269e\nmov     edx, [rax+134h]                                                ; +0x11, 0x1800226a1\nmov     [rbx+70h], edx                                                 ; +0x17, 0x1800226a7\ncall    ?set2DProjection@CCGridBase@cocos2d@@QEAAXXZ; cocos2d::CCGridBase::set2DProjection(void) ; +0x1a, 0x1800226aa\nmov     rdx, [rbx+48h]                                                 ; +0x1f, 0x1800226af\nmov     rcx, [rbx+58h]                                                 ; +0x23, 0x1800226b3\nadd     rsp, 20h                                                       ; +0x27, 0x1800226b7\npop     rbx                                                            ; +0x2b, 0x1800226bb\njmp     sub_180022040                                                  ; +0x2c, 0x1800226bc", "xrefs": ["cocos2d::CCNode::visit @ 0x1800057d2", "cocos2d::CCRenderTexture::visit @ 0x1800607c9", "cocos2d::CCParticleBatchNode::visit @ 0x180061ee9", "cocos2d::CCSpriteBatchNode::visit @ 0x18008f5ca", "<???> @ 0x1801438a8", "<???> @ 0x1801aef68"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}