//
// cocos2d::VolatileTexture::VolatileTexture from 0xda5d94 to 0xda5efc (360 bytes)
//
// 3 xrefs:
// > cocos2d::VolatileTexture::findVolotileTexture @ 0xda5f64
// > ??> @ 0x55af8
// > ??> @ 0xceef0
//
// This function is hookable on this platform (idp: arm, 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 13:08:32 +0000
//
// Alternative name is '_ZN7cocos2d15VolatileTextureC1EPNS_11CCTexture2DE'
__int64 __fastcall cocos2d::VolatileTexture::VolatileTexture(cocos2d::VolatileTexture *this, cocos2d::CCTexture2D *a2)
{
__int64 v3; // x2
_QWORD *v4; // x0
__int64 v5; // x2
float v7; // [xsp+50h] [xbp+50h] BYREF
__int64 v8; // [xsp+58h] [xbp+58h]
v3 = _stack_chk_guard;
*(_QWORD *)this = a2;
*((_QWORD *)this + 1) = 0;
*((_DWORD *)this + 4) = 0;
*((_QWORD *)this + 3) = 0;
v8 = v3;
cocos2d::CCSize::CCSize((cocos2d::VolatileTexture *)((char *)this + 32));
*((_DWORD *)this + 10) = 0;
*((_QWORD *)this + 6) = 0;
*((_QWORD *)this + 7) = 0;
*((_QWORD *)this + 8) = 0;
std::string::__init((__int64 *)this + 6, &byte_11B8890, 0);
*((_DWORD *)this + 18) = 1;
cocos2d::CCSize::CCSize((cocos2d::VolatileTexture *)((char *)this + 92));
*((_DWORD *)this + 25) = 1;
*((_DWORD *)this + 26) = 1;
*((_QWORD *)this + 14) = 0;
*((_QWORD *)this + 15) = 0;
*((_QWORD *)this + 16) = 0;
std::string::__init((__int64 *)this + 14, &byte_11B8890, 0);
*((_QWORD *)this + 17) = 0;
*((_QWORD *)this + 18) = 0;
*((_QWORD *)this + 19) = 0;
std::string::__init((__int64 *)this + 17, &byte_11B8890, 0);
*((_DWORD *)this + 40) = 0;
cocos2d::CCSize::CCSize(&v7, 0.0, 0.0);
cocos2d::CCSize::operator=((float *)this + 23, &v7);
*((_DWORD *)this + 19) = 9729;
*((_DWORD *)this + 20) = 9729;
*((_DWORD *)this + 21) = 33071;
*((_DWORD *)this + 22) = 33071;
v4 = (_QWORD *)operator new(0x18u);
v4[2] = this;
v4[1] = &cocos2d::VolatileTexture::textures;
v5 = cocos2d::VolatileTexture::textures;
*v4 = cocos2d::VolatileTexture::textures;
cocos2d::VolatileTexture::textures = (__int64)v4;
*(_QWORD *)(v5 + 8) = v4;
return ++qword_1562358;
}