//
// TutorialLayer::removeTutorialTexture from 0x42baa8 to 0x42bace (38 bytes)
//
// 2 xrefs:
// > TutorialLayer::onClose @ 0x42bb02
// > TutorialLayer::loadPage @ 0x42bb3e
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void TutorialLayer::removeTutorialTexture(TutorialLayer *a1)
{
const char *m_page; // r1
cocos2d::CCString *v2; // r0
const char *CString; // r4
cocos2d::CCTextureCache *v4; // r0
m_page = (const char *)a1->m_page;
if ( m_page )
{
v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"tutorial_%02d.png", m_page);
CString = cocos2d::CCString::getCString(v2);
v4 = cocos2d::CCTextureCache::sharedTextureCache();
cocos2d::CCTextureCache::removeTextureForKey(v4, CString);
}
}