{"type": "func", "start": 6442593216, "end": 6442593265, "name": "cocos2d::CCGridBase::beforeDraw", "pseudocode": "// \n// cocos2d::CCGridBase::beforeDraw from 0x180022bc0 to 0x180022bf1 (49 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCNode::visit @ 0x1800058d2\n// > cocos2d::CCRenderTexture::visit @ 0x180062a09\n// > cocos2d::CCParticleBatchNode::visit @ 0x180064309\n// > cocos2d::CCSpriteBatchNode::visit @ 0x18009280a\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b904c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:28 +0000\n// \n\nvoid __fastcall cocos2d::CCGridBase::beforeDraw(cocos2d::CCGridBase *this)\n{\n  *((_DWORD *)this + 28) = *((_DWORD *)cocos2d::CCDirector::sharedDirector() + 79);\n  cocos2d::CCGridBase::set2DProjection(this);\n  cocos2d::CCGrabber::beforeRender(*((_QWORD *)this + 11));\n}", "assembly": "; \n; cocos2d::CCGridBase::beforeDraw from 0x180022bc0 to 0x180022bf1 (49 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCNode::visit @ 0x1800058d2\n; > cocos2d::CCRenderTexture::visit @ 0x180062a09\n; > cocos2d::CCParticleBatchNode::visit @ 0x180064309\n; > cocos2d::CCSpriteBatchNode::visit @ 0x18009280a\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b904c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:28 +0000\n; \npush    rbx                                                            ; +0x0, 0x180022bc0\nsub     rsp, 20h                                                       ; +0x2, 0x180022bc2\nmov     rbx, rcx                                                       ; +0x6, 0x180022bc6\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x180022bc9\nmov     rcx, rbx; this                                                 ; +0xe, 0x180022bce\nmov     edx, [rax+13Ch]                                                ; +0x11, 0x180022bd1\nmov     [rbx+70h], edx                                                 ; +0x17, 0x180022bd7\ncall    ?set2DProjection@CCGridBase@cocos2d@@QEAAXXZ; cocos2d::CCGridBase::set2DProjection(void) ; +0x1a, 0x180022bda\nmov     rdx, [rbx+48h]                                                 ; +0x1f, 0x180022bdf\nmov     rcx, [rbx+58h]                                                 ; +0x23, 0x180022be3\nadd     rsp, 20h                                                       ; +0x27, 0x180022be7\npop     rbx                                                            ; +0x2b, 0x180022beb\njmp     cocos2d__CCGrabber__beforeRender                               ; +0x2c, 0x180022bec", "xrefs": ["cocos2d::CCNode::visit @ 0x1800058d2", "cocos2d::CCRenderTexture::visit @ 0x180062a09", "cocos2d::CCParticleBatchNode::visit @ 0x180064309", "cocos2d::CCSpriteBatchNode::visit @ 0x18009280a", "<???> @ 0x18014cf68", "<???> @ 0x1801b904c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}