{"type": "func", "start": 6442471344, "end": 6442471408, "name": "cocos2d::CCNode::setShaderProgram", "pseudocode": "// \n// cocos2d::CCNode::setShaderProgram from 0x180004fb0 to 0x180004ff0 (64 bytes)\n// \n// 87 xrefs:\n// > <???> @ 0x1800e5660\n// > <???> @ 0x1800e5cc0\n// > <???> @ 0x1800e6030\n// > <???> @ 0x1800e6990\n// > <???> @ 0x1800e6e98\n// > <???> @ 0x1800eb660\n// > <???> @ 0x1800ebb00\n// > <???> @ 0x1800ebfd8\n// > <???> @ 0x1800ec500\n// > <???> @ 0x1800ecb58\n// > <???> @ 0x1800ed170\n// > <???> @ 0x1800ed630\n// > <???> @ 0x1800edb68\n// > <???> @ 0x1800ee0d0\n// > <???> @ 0x1800ee6a8\n// > <???> @ 0x1800eeb68\n// > <???> @ 0x1800eeef0\n// > <???> @ 0x1800ef270\n// > <???> @ 0x1800ef5f8\n// > <???> @ 0x1800ef978\n// > <???> @ 0x1800efcf8\n// > <???> @ 0x1800f0098\n// > <???> @ 0x1800f0438\n// > <???> @ 0x1800f07d8\n// > <???> @ 0x1800f0b78\n// > <???> @ 0x1800f0f18\n// > <???> @ 0x1800f12b8\n// > <???> @ 0x1800f1658\n// > <???> @ 0x1800f19f8\n// > <???> @ 0x1800f1d88\n// > <???> @ 0x1800f2110\n// > <???> @ 0x1800f2498\n// > <???> @ 0x1800f2820\n// > <???> @ 0x1800f2ba8\n// > <???> @ 0x1800f2f30\n// > <???> @ 0x1800f32b8\n// > <???> @ 0x1800f3640\n// > <???> @ 0x1800f39c0\n// > <???> @ 0x1800f3d50\n// > <???> @ 0x1800f40e8\n// > <???> @ 0x1800f4480\n// > <???> @ 0x1800f4818\n// > <???> @ 0x1800f4bb0\n// > <???> @ 0x1800f4f48\n// > <???> @ 0x1800f52f8\n// > <???> @ 0x1800f5680\n// > <???> @ 0x1800f5a10\n// > <???> @ 0x1800f5da0\n// > <???> @ 0x1800f6130\n// > <???> @ 0x1800f64c0\n// > <???> @ 0x1800f6850\n// > <???> @ 0x1800f6be0\n// > <???> @ 0x1800f6f78\n// > <???> @ 0x1800f74e0\n// > <???> @ 0x1800f7908\n// > <???> @ 0x1800f7d50\n// > <???> @ 0x1800f8198\n// > <???> @ 0x1800f85e0\n// > <???> @ 0x1800f8a40\n// > <???> @ 0x1800f8ea0\n// > <???> @ 0x1800f92f0\n// > <???> @ 0x1800f96b8\n// > <???> @ 0x1800f9ad0\n// > <???> @ 0x1800f9ee0\n// > <???> @ 0x1800fa310\n// > <???> @ 0x1800fa980\n// > <???> @ 0x1800faff0\n// > <???> @ 0x1800fb660\n// > <???> @ 0x1800fbcd0\n// > <???> @ 0x1800fc340\n// > <???> @ 0x1800fc9b0\n// > <???> @ 0x1800fd020\n// > <???> @ 0x1800fd690\n// > <???> @ 0x1800fdd00\n// > <???> @ 0x1800fe370\n// > <???> @ 0x1800fe9e0\n// > <???> @ 0x1800ff228\n// > <???> @ 0x1800ffcc8\n// > <???> @ 0x180103a10\n// > <???> @ 0x180103f00\n// > <???> @ 0x180105438\n// > <???> @ 0x180105810\n// > <???> @ 0x180105c68\n// > <???> @ 0x1801060d0\n// > <???> @ 0x180106a08\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad624\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::CCNode::setShaderProgram(cocos2d::CCNode *this, struct cocos2d::CCGLProgram *a2)\n{\n  cocos2d::CCGLProgram *m_pShaderProgram; // rcx\n\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n  m_pShaderProgram = this->m_pShaderProgram;\n  if ( m_pShaderProgram )\n    cocos2d::CCObject::release(m_pShaderProgram);\n  this->m_pShaderProgram = a2;\n}", "assembly": "; \n; cocos2d::CCNode::setShaderProgram from 0x180004fb0 to 0x180004ff0 (64 bytes)\n; \n; 87 xrefs:\n; > <???> @ 0x1800e5660\n; > <???> @ 0x1800e5cc0\n; > <???> @ 0x1800e6030\n; > <???> @ 0x1800e6990\n; > <???> @ 0x1800e6e98\n; > <???> @ 0x1800eb660\n; > <???> @ 0x1800ebb00\n; > <???> @ 0x1800ebfd8\n; > <???> @ 0x1800ec500\n; > <???> @ 0x1800ecb58\n; > <???> @ 0x1800ed170\n; > <???> @ 0x1800ed630\n; > <???> @ 0x1800edb68\n; > <???> @ 0x1800ee0d0\n; > <???> @ 0x1800ee6a8\n; > <???> @ 0x1800eeb68\n; > <???> @ 0x1800eeef0\n; > <???> @ 0x1800ef270\n; > <???> @ 0x1800ef5f8\n; > <???> @ 0x1800ef978\n; > <???> @ 0x1800efcf8\n; > <???> @ 0x1800f0098\n; > <???> @ 0x1800f0438\n; > <???> @ 0x1800f07d8\n; > <???> @ 0x1800f0b78\n; > <???> @ 0x1800f0f18\n; > <???> @ 0x1800f12b8\n; > <???> @ 0x1800f1658\n; > <???> @ 0x1800f19f8\n; > <???> @ 0x1800f1d88\n; > <???> @ 0x1800f2110\n; > <???> @ 0x1800f2498\n; > <???> @ 0x1800f2820\n; > <???> @ 0x1800f2ba8\n; > <???> @ 0x1800f2f30\n; > <???> @ 0x1800f32b8\n; > <???> @ 0x1800f3640\n; > <???> @ 0x1800f39c0\n; > <???> @ 0x1800f3d50\n; > <???> @ 0x1800f40e8\n; > <???> @ 0x1800f4480\n; > <???> @ 0x1800f4818\n; > <???> @ 0x1800f4bb0\n; > <???> @ 0x1800f4f48\n; > <???> @ 0x1800f52f8\n; > <???> @ 0x1800f5680\n; > <???> @ 0x1800f5a10\n; > <???> @ 0x1800f5da0\n; > <???> @ 0x1800f6130\n; > <???> @ 0x1800f64c0\n; > <???> @ 0x1800f6850\n; > <???> @ 0x1800f6be0\n; > <???> @ 0x1800f6f78\n; > <???> @ 0x1800f74e0\n; > <???> @ 0x1800f7908\n; > <???> @ 0x1800f7d50\n; > <???> @ 0x1800f8198\n; > <???> @ 0x1800f85e0\n; > <???> @ 0x1800f8a40\n; > <???> @ 0x1800f8ea0\n; > <???> @ 0x1800f92f0\n; > <???> @ 0x1800f96b8\n; > <???> @ 0x1800f9ad0\n; > <???> @ 0x1800f9ee0\n; > <???> @ 0x1800fa310\n; > <???> @ 0x1800fa980\n; > <???> @ 0x1800faff0\n; > <???> @ 0x1800fb660\n; > <???> @ 0x1800fbcd0\n; > <???> @ 0x1800fc340\n; > <???> @ 0x1800fc9b0\n; > <???> @ 0x1800fd020\n; > <???> @ 0x1800fd690\n; > <???> @ 0x1800fdd00\n; > <???> @ 0x1800fe370\n; > <???> @ 0x1800fe9e0\n; > <???> @ 0x1800ff228\n; > <???> @ 0x1800ffcc8\n; > <???> @ 0x180103a10\n; > <???> @ 0x180103f00\n; > <???> @ 0x180105438\n; > <???> @ 0x180105810\n; > <???> @ 0x180105c68\n; > <???> @ 0x1801060d0\n; > <???> @ 0x180106a08\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad624\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180004fb0\npush    rdi                                                            ; +0x5, 0x180004fb5\nsub     rsp, 20h                                                       ; +0x6, 0x180004fb6\nmov     rbx, rdx                                                       ; +0xa, 0x180004fba\nmov     rdi, rcx                                                       ; +0xd, 0x180004fbd\ntest    rdx, rdx                                                       ; +0x10, 0x180004fc0\njz      short loc_180004FCD                                            ; +0x13, 0x180004fc3\nmov     rcx, rdx; this                                                 ; +0x15, 0x180004fc5\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x18, 0x180004fc8\nmov     rcx, [rdi+0F0h]; this                                          ; +0x1d, 0x180004fcd\ntest    rcx, rcx                                                       ; +0x24, 0x180004fd4\njz      short loc_180004FDE                                            ; +0x27, 0x180004fd7\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x29, 0x180004fd9\nmov     [rdi+0F0h], rbx                                                ; +0x2e, 0x180004fde\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x180004fe5\nadd     rsp, 20h                                                       ; +0x3a, 0x180004fea\npop     rdi                                                            ; +0x3e, 0x180004fee\nretn                                                                   ; +0x3f, 0x180004fef", "xrefs": ["<???> @ 0x1800e5660", "<???> @ 0x1800e5cc0", "<???> @ 0x1800e6030", "<???> @ 0x1800e6990", "<???> @ 0x1800e6e98", "<???> @ 0x1800eb660", "<???> @ 0x1800ebb00", "<???> @ 0x1800ebfd8", "<???> @ 0x1800ec500", "<???> @ 0x1800ecb58", "<???> @ 0x1800ed170", "<???> @ 0x1800ed630", "<???> @ 0x1800edb68", "<???> @ 0x1800ee0d0", "<???> @ 0x1800ee6a8", "<???> @ 0x1800eeb68", "<???> @ 0x1800eeef0", "<???> @ 0x1800ef270", "<???> @ 0x1800ef5f8", "<???> @ 0x1800ef978", "<???> @ 0x1800efcf8", "<???> @ 0x1800f0098", "<???> @ 0x1800f0438", "<???> @ 0x1800f07d8", "<???> @ 0x1800f0b78", "<???> @ 0x1800f0f18", "<???> @ 0x1800f12b8", "<???> @ 0x1800f1658", "<???> @ 0x1800f19f8", "<???> @ 0x1800f1d88", "<???> @ 0x1800f2110", "<???> @ 0x1800f2498", "<???> @ 0x1800f2820", "<???> @ 0x1800f2ba8", "<???> @ 0x1800f2f30", "<???> @ 0x1800f32b8", "<???> @ 0x1800f3640", "<???> @ 0x1800f39c0", "<???> @ 0x1800f3d50", "<???> @ 0x1800f40e8", "<???> @ 0x1800f4480", "<???> @ 0x1800f4818", "<???> @ 0x1800f4bb0", "<???> @ 0x1800f4f48", "<???> @ 0x1800f52f8", "<???> @ 0x1800f5680", "<???> @ 0x1800f5a10", "<???> @ 0x1800f5da0", "<???> @ 0x1800f6130", "<???> @ 0x1800f64c0", "<???> @ 0x1800f6850", "<???> @ 0x1800f6be0", "<???> @ 0x1800f6f78", "<???> @ 0x1800f74e0", "<???> @ 0x1800f7908", "<???> @ 0x1800f7d50", "<???> @ 0x1800f8198", "<???> @ 0x1800f85e0", "<???> @ 0x1800f8a40", "<???> @ 0x1800f8ea0", "<???> @ 0x1800f92f0", "<???> @ 0x1800f96b8", "<???> @ 0x1800f9ad0", "<???> @ 0x1800f9ee0", "<???> @ 0x1800fa310", "<???> @ 0x1800fa980", "<???> @ 0x1800faff0", "<???> @ 0x1800fb660", "<???> @ 0x1800fbcd0", "<???> @ 0x1800fc340", "<???> @ 0x1800fc9b0", "<???> @ 0x1800fd020", "<???> @ 0x1800fd690", "<???> @ 0x1800fdd00", "<???> @ 0x1800fe370", "<???> @ 0x1800fe9e0", "<???> @ 0x1800ff228", "<???> @ 0x1800ffcc8", "<???> @ 0x180103a10", "<???> @ 0x180103f00", "<???> @ 0x180105438", "<???> @ 0x180105810", "<???> @ 0x180105c68", "<???> @ 0x1801060d0", "<???> @ 0x180106a08", "<???> @ 0x1801438a8", "<???> @ 0x1801ad624"], "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"}