//
// sub_1004DD1A0 from 0x1004dd1a0 to 0x1004dd229 (137 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009553a8
//
// 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 __fastcall sub_1004DD1A0(__int64 a1)
{
cocos2d::CCString *v1; // rax
const char *CString; // rbx
cocos2d::CCTextureCache *v3; // rax
char v4; // [rsp+0h] [rbp-10h]
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1056LL))(a1 - 336, 0);
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 296) + 568LL))(*(_QWORD *)(a1 + 296), 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 336) + 512LL))(a1 - 336, 1);
if ( *(_DWORD *)(a1 + 304) )
{
v1 = (cocos2d::CCString *)sub_1007AB580("tutorial_%02d.png", v4);
CString = cocos2d::CCString::getCString(v1);
v3 = cocos2d::CCTextureCache::sharedTextureCache();
cocos2d::CCTextureCache::removeTextureForKey(v3, CString);
}
}