//
// cocos2d::CCTextureCache::dumpCachedTextureInfo from 0x8008d6 to 0x80091a (68 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:19 +0000
//
int __fastcall cocos2d::CCTextureCache::dumpCachedTextureInfo(int this)
{
int v1; // r3
int v2; // r3
int v3; // r4
cocos2d::CCTexture2D *v4; // r5
int v5; // r2
v1 = *(_DWORD *)(this + 52);
if ( v1 )
{
v2 = *(_DWORD *)(v1 + 52);
if ( v2 )
v3 = *(_DWORD *)(v2 + 272);
else
v3 = 0;
while ( v2 )
{
v4 = *(cocos2d::CCTexture2D **)(v2 + 260);
cocos2d::CCTexture2D::bitsPerPixelForFormat(v4);
(*(void (__fastcall **)(cocos2d::CCTexture2D *))(*(_DWORD *)v4 + 44))(v4);
this = (*(int (__fastcall **)(cocos2d::CCTexture2D *))(*(_DWORD *)v4 + 48))(v4);
if ( v3 )
v5 = *(_DWORD *)(v3 + 272);
else
v5 = 0;
v2 = v3;
v3 = v5;
}
}
return this;
}