{"type": "func", "start": 6443050960, "end": 6443051105, "name": "cocos2d::CCSpriteBatchNode::visit", "pseudocode": "// \n// cocos2d::CCSpriteBatchNode::visit from 0x1800927d0 to 0x180092861 (145 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800f2678\n// > <???> @ 0x18010a630\n// > <???> @ 0x18010c3c0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c0480\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:22:08 +0000\n// \n\nvoid __fastcall cocos2d::CCSpriteBatchNode::visit(cocos2d::CCSpriteBatchNode *this)\n{\n  cocos2d::CCGridBase *v2; // rcx\n  cocos2d::CCGridBase *v3; // rcx\n\n  if ( (*(unsigned int (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 72LL))(*((_QWORD *)this + 41))\n    && *((_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    (*(void (__fastcall **)(cocos2d::CCSpriteBatchNode *))(*(_QWORD *)this + 592LL))(this);\n    cocos2d::CCNode::transform(this);\n    (*(void (__fastcall **)(cocos2d::CCSpriteBatchNode *))(*(_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  }\n}", "assembly": "; \n; cocos2d::CCSpriteBatchNode::visit from 0x1800927d0 to 0x180092861 (145 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800f2678\n; > <???> @ 0x18010a630\n; > <???> @ 0x18010c3c0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c0480\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:22:08 +0000\n; \npush    rbx                                                            ; +0x0, 0x1800927d0\nsub     rsp, 20h                                                       ; +0x2, 0x1800927d2\nmov     rbx, rcx                                                       ; +0x6, 0x1800927d6\nmov     rcx, [rcx+148h]                                                ; +0x9, 0x1800927d9\nmov     rax, [rcx]                                                     ; +0x10, 0x1800927e0\ncall    qword ptr [rax+48h]                                            ; +0x13, 0x1800927e3\ntest    eax, eax                                                       ; +0x16, 0x1800927e6\njz      short loc_18009285B                                            ; +0x18, 0x1800927e8\ncmp     byte ptr [rbx+11Eh], 0                                         ; +0x1a, 0x1800927ea\njz      short loc_18009285B                                            ; +0x21, 0x1800927f1\ncall    kmGLPushMatrix                                                 ; +0x23, 0x1800927f3\nmov     rcx, [rbx+0C8h]; this                                          ; +0x28, 0x1800927f8\ntest    rcx, rcx                                                       ; +0x2f, 0x1800927ff\njz      short loc_180092817                                            ; +0x32, 0x180092802\ncmp     byte ptr [rcx+38h], 0                                          ; +0x34, 0x180092804\njz      short loc_180092817                                            ; +0x38, 0x180092808\ncall    ?beforeDraw@CCGridBase@cocos2d@@QEAAXXZ; cocos2d::CCGridBase::beforeDraw(void) ; +0x3a, 0x18009280a\nmov     rcx, rbx; this                                                 ; +0x3f, 0x18009280f\ncall    ?transformAncestors@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::transformAncestors(void) ; +0x42, 0x180092812\nmov     rax, [rbx]                                                     ; +0x47, 0x180092817\nmov     rcx, rbx                                                       ; +0x4a, 0x18009281a\ncall    qword ptr [rax+250h]                                           ; +0x4d, 0x18009281d\nmov     rcx, rbx; this                                                 ; +0x53, 0x180092823\ncall    ?transform@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::transform(void) ; +0x56, 0x180092826\nmov     rax, [rbx]                                                     ; +0x5b, 0x18009282b\nmov     rcx, rbx                                                       ; +0x5e, 0x18009282e\ncall    qword ptr [rax+2E0h]                                           ; +0x61, 0x180092831\nmov     rcx, [rbx+0C8h]; this                                          ; +0x67, 0x180092837\ntest    rcx, rcx                                                       ; +0x6e, 0x18009283e\njz      short loc_180092851                                            ; +0x71, 0x180092841\ncmp     byte ptr [rcx+38h], 0                                          ; +0x73, 0x180092843\njz      short loc_180092851                                            ; +0x77, 0x180092847\nmov     rdx, rbx; struct cocos2d::CCNode *                             ; +0x79, 0x180092849\ncall    ?afterDraw@CCGridBase@cocos2d@@QEAAXPEAVCCNode@2@@Z; cocos2d::CCGridBase::afterDraw(cocos2d::CCNode *) ; +0x7c, 0x18009284c\nadd     rsp, 20h                                                       ; +0x81, 0x180092851\npop     rbx                                                            ; +0x85, 0x180092855\njmp     kmGLPopMatrix                                                  ; +0x86, 0x180092856\nadd     rsp, 20h                                                       ; +0x8b, 0x18009285b\npop     rbx                                                            ; +0x8f, 0x18009285f\nretn                                                                   ; +0x90, 0x180092860", "xrefs": ["<???> @ 0x1800f2678", "<???> @ 0x18010a630", "<???> @ 0x18010c3c0", "<???> @ 0x18014cf68", "<???> @ 0x1801c0480"], "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"}