{"type": "func", "start": 6442525280, "end": 6442525382, "name": "cocos2d::CCDrawNode::draw", "pseudocode": "// \n// cocos2d::CCDrawNode::draw from 0x180012260 to 0x1800122c6 (102 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800eca38\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b8440\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:22 +0000\n// \n\nvoid __fastcall cocos2d::CCDrawNode::draw(GLenum *this, float a2)\n{\n  cocos2d::CCGLProgram *v3; // rax\n  cocos2d::CCGLProgram *v4; // rax\n  unsigned int v5; // r8d\n\n  cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)*(this + 62), a2);\n  (*(void (__fastcall **)(GLenum *))(*(_QWORD *)this + 648LL))(this);\n  v3 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(GLenum *))(*(_QWORD *)this + 648LL))(this);\n  cocos2d::CCGLProgram::use(v3);\n  v4 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(GLenum *))(*(_QWORD *)this + 648LL))(this);\n  cocos2d::CCGLProgram::setUniformsForBuiltins(v4);\n  cocos2d::ccGLBlendFunc(*(this + 92), *(this + 93), v5);\n  cocos2d::CCDrawNode::render((cocos2d::CCDrawNode *)this);\n}", "assembly": "; \n; cocos2d::CCDrawNode::draw from 0x180012260 to 0x1800122c6 (102 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800eca38\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b8440\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:22 +0000\n; \npush    rbx                                                            ; +0x0, 0x180012260\nsub     rsp, 20h                                                       ; +0x2, 0x180012262\nmov     rbx, rcx                                                       ; +0x6, 0x180012266\nmov     ecx, [rcx+0F8h]; this                                          ; +0x9, 0x180012269\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0xf, 0x18001226f\nmov     rax, [rbx]                                                     ; +0x14, 0x180012274\nmov     rcx, rbx                                                       ; +0x17, 0x180012277\ncall    qword ptr [rax+288h]                                           ; +0x1a, 0x18001227a\nmov     rax, [rbx]                                                     ; +0x20, 0x180012280\nmov     rcx, rbx                                                       ; +0x23, 0x180012283\ncall    qword ptr [rax+288h]                                           ; +0x26, 0x180012286\nmov     rcx, rax; this                                                 ; +0x2c, 0x18001228c\ncall    ?use@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::use(void) ; +0x2f, 0x18001228f\nmov     rax, [rbx]                                                     ; +0x34, 0x180012294\nmov     rcx, rbx                                                       ; +0x37, 0x180012297\ncall    qword ptr [rax+288h]                                           ; +0x3a, 0x18001229a\nmov     rcx, rax; this                                                 ; +0x40, 0x1800122a0\ncall    ?setUniformsForBuiltins@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::setUniformsForBuiltins(void) ; +0x43, 0x1800122a3\nmov     edx, [rbx+174h]; dfactor                                       ; +0x48, 0x1800122a8\nmov     ecx, [rbx+170h]; sfactor                                       ; +0x4e, 0x1800122ae\ncall    ?ccGLBlendFunc@cocos2d@@YAXII@Z; cocos2d::ccGLBlendFunc(uint,uint) ; +0x54, 0x1800122b4\nmov     rcx, rbx; this                                                 ; +0x59, 0x1800122b9\nadd     rsp, 20h                                                       ; +0x5c, 0x1800122bc\npop     rbx                                                            ; +0x60, 0x1800122c0\njmp     ?render@CCDrawNode@cocos2d@@AEAAXXZ; cocos2d::CCDrawNode::render(void) ; +0x61, 0x1800122c1", "xrefs": ["<???> @ 0x1800eca38", "<???> @ 0x18014cf68", "<???> @ 0x1801b8440"], "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"}