// // cocos2d::CCParticleSystem::setTexture from 0x18006b540 to 0x18006b5a7 (103 bytes) // // 4 xrefs: // > cocos2d::CCParticleSystemQuad::setTextureWithRect @ 0x18006ceff // > @ 0x180105a68 // > @ 0x18014cf68 // > @ 0x1801bdf90 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:21:54 +0000 // void __fastcall cocos2d::CCParticleSystem::setTexture(cocos2d::CCParticleSystem *this, struct cocos2d::CCTexture2D *a2) { cocos2d::CCObject *v4; // rcx __int64 v5; // rax if ( *((struct cocos2d::CCTexture2D **)this + 44) != a2 ) { if ( a2 ) cocos2d::CCObject::retain(a2); v4 = *((cocos2d::CCObject **)this + 44); if ( v4 ) cocos2d::CCObject::release(v4); v5 = *((_QWORD *)this - 40); *((_QWORD *)this + 44) = a2; (*(void (__fastcall **)(char *))(v5 + 1600))((char *)this - 320); } }