//
// cocos2d::CCNode::setShaderProgram from 0x180004fb0 to 0x180004ff0 (64 bytes)
//
// 87 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
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCNode::setShaderProgram(cocos2d::CCNode *this, struct cocos2d::CCGLProgram *a2)
{
cocos2d::CCGLProgram *m_pShaderProgram; // rcx
if ( a2 )
cocos2d::CCObject::retain(a2);
m_pShaderProgram = this->m_pShaderProgram;
if ( m_pShaderProgram )
cocos2d::CCObject::release(m_pShaderProgram);
this->m_pShaderProgram = a2;
}