//
// cocos2d::CCFileUtils::setFilenameLookupDictionary from 0xd760e0 to 0xd76194 (180 bytes)
//
// 3 xrefs:
// > ??> @ 0x71620
// > ??> @ 0x152d918
// > ??> @ 0x152ddd8
//
// 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 13:08:03 +0000
//
_DWORD *__fastcall cocos2d::CCFileUtils::setFilenameLookupDictionary(
cocos2d::CCFileUtils *this,
cocos2d::CCDictionary *a2)
{
__int64 v4; // x20
char *v5; // x22
_DWORD *result; // x0
v4 = *((_QWORD *)this + 12);
v5 = (char *)this + 88;
if ( v4 )
{
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)this + 88,
*(__int64 **)v4);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(__int64)v5,
*(__int64 **)(v4 + 8));
if ( (*(_BYTE *)(v4 + 56) & 1) != 0 )
operator delete(*(void **)(v4 + 72));
if ( (*(_BYTE *)(v4 + 32) & 1) != 0 )
operator delete(*(void **)(v4 + 48));
operator delete((void *)v4);
}
result = *((_DWORD **)this + 1);
*((_QWORD *)this + 13) = 0;
*((_QWORD *)this + 11) = (char *)this + 96;
*((_QWORD *)this + 12) = 0;
if ( result )
result = cocos2d::CCObject::release(result);
*((_QWORD *)this + 1) = a2;
if ( a2 )
return (_DWORD *)cocos2d::CCObject::retain((__int64)a2);
return result;
}