{"type": "func", "start": 6442854880, "end": 6442855014, "name": "cocos2d::CCRenderTexture::visit", "pseudocode": "// \n// cocos2d::CCRenderTexture::visit from 0x1800629e0 to 0x180062a66 (134 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180100450\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd750\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:51 +0000\n// \n\nvoid __fastcall cocos2d::CCRenderTexture::visit(cocos2d::CCRenderTexture *this)\n{\n  cocos2d::CCGridBase *v2; // rcx\n  cocos2d::CCGridBase *v3; // rcx\n\n  if ( *((_BYTE *)this + 286) )\n  {\n    kmGLPushMatrix();\n    v2 = *((cocos2d::CCGridBase **)this + 25);\n    if ( v2 && *((_BYTE *)v2 + 56) )\n    {\n      cocos2d::CCGridBase::beforeDraw(v2);\n      cocos2d::CCNode::transformAncestors(this);\n    }\n    cocos2d::CCNode::transform(this);\n    (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 40) + 744LL))(*((_QWORD *)this + 40));\n    (*(void (__fastcall **)(cocos2d::CCRenderTexture *))(*(_QWORD *)this + 736LL))(this);\n    v3 = *((cocos2d::CCGridBase **)this + 25);\n    if ( v3 )\n    {\n      if ( *((_BYTE *)v3 + 56) )\n        cocos2d::CCGridBase::afterDraw(v3, this);\n    }\n    kmGLPopMatrix();\n    *((_DWORD *)this + 12) = 0;\n  }\n}", "assembly": "; \n; cocos2d::CCRenderTexture::visit from 0x1800629e0 to 0x180062a66 (134 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180100450\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd750\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:51 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800629e0\nsub     rsp, 20h                                                       ; +0x2, 0x1800629e2\ncmp     byte ptr [rcx+11Eh], 0                                         ; +0x6, 0x1800629e6\nmov     rbx, rcx                                                       ; +0xd, 0x1800629ed\njz      short loc_180062A60                                            ; +0x10, 0x1800629f0\ncall    kmGLPushMatrix                                                 ; +0x12, 0x1800629f2\nmov     rcx, [rbx+0C8h]; this                                          ; +0x17, 0x1800629f7\ntest    rcx, rcx                                                       ; +0x1e, 0x1800629fe\njz      short loc_180062A16                                            ; +0x21, 0x180062a01\ncmp     byte ptr [rcx+38h], 0                                          ; +0x23, 0x180062a03\njz      short loc_180062A16                                            ; +0x27, 0x180062a07\ncall    ?beforeDraw@CCGridBase@cocos2d@@QEAAXXZ; cocos2d::CCGridBase::beforeDraw(void) ; +0x29, 0x180062a09\nmov     rcx, rbx; this                                                 ; +0x2e, 0x180062a0e\ncall    ?transformAncestors@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::transformAncestors(void) ; +0x31, 0x180062a11\nmov     rcx, rbx; this                                                 ; +0x36, 0x180062a16\ncall    ?transform@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::transform(void) ; +0x39, 0x180062a19\nmov     rcx, [rbx+140h]                                                ; +0x3e, 0x180062a1e\nmov     rax, [rcx]                                                     ; +0x45, 0x180062a25\ncall    qword ptr [rax+2E8h]                                           ; +0x48, 0x180062a28\nmov     rax, [rbx]                                                     ; +0x4e, 0x180062a2e\nmov     rcx, rbx                                                       ; +0x51, 0x180062a31\ncall    qword ptr [rax+2E0h]                                           ; +0x54, 0x180062a34\nmov     rcx, [rbx+0C8h]; this                                          ; +0x5a, 0x180062a3a\ntest    rcx, rcx                                                       ; +0x61, 0x180062a41\njz      short loc_180062A54                                            ; +0x64, 0x180062a44\ncmp     byte ptr [rcx+38h], 0                                          ; +0x66, 0x180062a46\njz      short loc_180062A54                                            ; +0x6a, 0x180062a4a\nmov     rdx, rbx; struct cocos2d::CCNode *                             ; +0x6c, 0x180062a4c\ncall    ?afterDraw@CCGridBase@cocos2d@@QEAAXPEAVCCNode@2@@Z; cocos2d::CCGridBase::afterDraw(cocos2d::CCNode *) ; +0x6f, 0x180062a4f\ncall    kmGLPopMatrix                                                  ; +0x74, 0x180062a54\nmov     dword ptr [rbx+30h], 0                                         ; +0x79, 0x180062a59\nadd     rsp, 20h                                                       ; +0x80, 0x180062a60\npop     rbx                                                            ; +0x84, 0x180062a64\nretn                                                                   ; +0x85, 0x180062a65", "xrefs": ["<???> @ 0x180100450", "<???> @ 0x18014cf68", "<???> @ 0x1801bd750"], "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"}