//
// TutorialLayer::removeTutorialTexture from 0x9003cc to 0x900408 (60 bytes)
//
// 3 xrefs:
// > TutorialLayer::onClose @ 0x900460
// > TutorialLayer::loadPage @ 0x9004cc
// > ??> @ 0x52ee8
//
// 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 12:57:06 +0000
//
__int64 __fastcall TutorialLayer::removeTutorialTexture(__int64 this)
{
const char *v1; // x1
cocos2d::CCString *v2; // x0
cocos2d::CCTextureCache *v3; // x0
char *CString; // [xsp+18h] [xbp+18h]
v1 = (const char *)*(unsigned int *)(this + 672);
if ( (_DWORD)v1 )
{
v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"tutorial_%02d.png", v1);
CString = (char *)cocos2d::CCString::getCString(v2);
v3 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache((cocos2d::CCTextureCache *)CString);
return cocos2d::CCTextureCache::removeTextureForKey(v3, CString);
}
return this;
}