// // cocos2d::CCTextureCache::textureForKey from 0x800cb8 to 0x800d32 (122 bytes) // // 3 xrefs: // > GameManager::loadIcon @ 0x41d73e // > sub_7E10F8 @ 0x7e1104 // > cocos2d::CCSprite::setTexture @ 0x7f10d6 // // 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 // int __fastcall cocos2d::CCTextureCache::textureForKey(cocos2d::CCTextureCache *this, const char *a2, int a3, int a4) { int v6; // r4 size_t v7; // r0 int v8; // r4 cocos2d::CCFileUtils *v9; // r0 int v10; // r8 int v11; // r0 cocos2d::CCTextureCache *v13; // [sp+0h] [bp-10h] BYREF const char *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; v6 = *((_DWORD *)this + 13); v13 = nullptr; v14 = nullptr; v15 = 0; v7 = strlen(a2); std::string::__init((int *)&v13, a2, v7); v8 = cocos2d::CCDictionary::objectForKey(v6, (int)&v13); v9 = (cocos2d::CCFileUtils *)std::string::~string((int)&v13); if ( !v8 ) { v10 = *((_DWORD *)this + 13); v11 = cocos2d::CCFileUtils::sharedFileUtils(v9); (*(void (__fastcall **)(cocos2d::CCTextureCache **, int, const char *, _DWORD))(*(_DWORD *)v11 + 24))( &v13, v11, a2, 0); v8 = cocos2d::CCDictionary::objectForKey(v10, (int)&v13); std::string::~string((int)&v13); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source