//
// cocos2d::CCTextureCache::snapshotTextures from 0x800c24 to 0x800cb4 (144 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:20 +0000
//
cocos2d::CCDictionary *__fastcall cocos2d::CCTextureCache::snapshotTextures(
cocos2d::CCTextureCache *this,
int a2,
int a3,
int a4)
{
cocos2d::CCDictionary *v5; // r7
int v6; // r3
int v8; // r4
int v9; // r5
size_t v10; // r0
cocos2d::CCObject *v11; // r10
int v12; // r3
cocos2d::CCTextureCache *v13; // [sp+0h] [bp-10h] BYREF
int v14; // [sp+4h] [bp-Ch]
int v15; // [sp+8h] [bp-8h]
int v16; // [sp+Ch] [bp-4h]
v13 = this;
v14 = a2;
v15 = a3;
v16 = a4;
v5 = (cocos2d::CCDictionary *)operator new(0x3Cu);
cocos2d::CCDictionary::CCDictionary(v5);
v6 = *((_DWORD *)this + 13);
if ( v6 )
{
v8 = *(_DWORD *)(v6 + 52);
if ( v8 )
v9 = *(_DWORD *)(v8 + 272);
else
v9 = 0;
while ( v8 )
{
v13 = nullptr;
v14 = 0;
v15 = 0;
v10 = strlen((const char *)v8);
v11 = *(cocos2d::CCObject **)(v8 + 260);
std::string::__init((int *)&v13, (const void *)v8, v10);
cocos2d::CCDictionary::setObject((int)v5, v11, (int)&v13);
std::string::~string((int)&v13);
if ( v9 )
v12 = *(_DWORD *)(v9 + 272);
else
v12 = 0;
v8 = v9;
v9 = v12;
}
}
cocos2d::CCObject::autorelease(v5);
return v5;
}