{"type": "func", "start": 6442524800, "end": 6442524902, "name": "cocos2d::CCDrawNode::draw", "pseudocode": "// \n// cocos2d::CCDrawNode::draw from 0x180012080 to 0x1800120e6 (102 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e69e0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ae38c\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::CCDrawNode::draw(cocos2d::CCDrawNode *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 *)(unsigned int)this->m_eGLServerState, a2);\n  ((void (__fastcall *)(cocos2d::CCDrawNode *))this->getShaderProgram)(this);\n  v3 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCDrawNode *))this->getShaderProgram)(this);\n  cocos2d::CCGLProgram::use(v3);\n  v4 = (cocos2d::CCGLProgram *)((__int64 (__fastcall *)(cocos2d::CCDrawNode *))this->getShaderProgram)(this);\n  cocos2d::CCGLProgram::setUniformsForBuiltins(v4);\n  cocos2d::ccGLBlendFunc(this->m_sBlendFunc.src, this->m_sBlendFunc.dst, v5);\n  cocos2d::CCDrawNode::render(this);\n}", "assembly": "; \n; cocos2d::CCDrawNode::draw from 0x180012080 to 0x1800120e6 (102 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e69e0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ae38c\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, 0x180012080\nsub     rsp, 20h                                                       ; +0x2, 0x180012082\nmov     rbx, rcx                                                       ; +0x6, 0x180012086\nmov     ecx, [rcx+0F8h]; this                                          ; +0x9, 0x180012089\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0xf, 0x18001208f\nmov     rax, [rbx]                                                     ; +0x14, 0x180012094\nmov     rcx, rbx                                                       ; +0x17, 0x180012097\ncall    qword ptr [rax+278h]                                           ; +0x1a, 0x18001209a\nmov     rax, [rbx]                                                     ; +0x20, 0x1800120a0\nmov     rcx, rbx                                                       ; +0x23, 0x1800120a3\ncall    qword ptr [rax+278h]                                           ; +0x26, 0x1800120a6\nmov     rcx, rax; this                                                 ; +0x2c, 0x1800120ac\ncall    ?use@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::use(void) ; +0x2f, 0x1800120af\nmov     rax, [rbx]                                                     ; +0x34, 0x1800120b4\nmov     rcx, rbx                                                       ; +0x37, 0x1800120b7\ncall    qword ptr [rax+278h]                                           ; +0x3a, 0x1800120ba\nmov     rcx, rax; this                                                 ; +0x40, 0x1800120c0\ncall    ?setUniformsForBuiltins@CCGLProgram@cocos2d@@QEAAXXZ; cocos2d::CCGLProgram::setUniformsForBuiltins(void) ; +0x43, 0x1800120c3\nmov     edx, [rbx+174h]; dfactor                                       ; +0x48, 0x1800120c8\nmov     ecx, [rbx+170h]; sfactor                                       ; +0x4e, 0x1800120ce\ncall    ?ccGLBlendFunc@cocos2d@@YAXII@Z; cocos2d::ccGLBlendFunc(uint,uint) ; +0x54, 0x1800120d4\nmov     rcx, rbx; this                                                 ; +0x59, 0x1800120d9\nadd     rsp, 20h                                                       ; +0x5c, 0x1800120dc\npop     rbx                                                            ; +0x60, 0x1800120e0\njmp     ?render@CCDrawNode@cocos2d@@AEAAXXZ; cocos2d::CCDrawNode::render(void) ; +0x61, 0x1800120e1", "xrefs": ["<???> @ 0x1800e69e0", "<???> @ 0x1801438a8", "<???> @ 0x1801ae38c"], "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"}