// // cocos2d::CCFileUtils::getNewFilename from 0x7e756c to 0x7e75ec (128 bytes) // // 0 xrefs: // // 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:00:55 +0000 // cocos2d::CCFileUtils *__fastcall cocos2d::CCFileUtils::getNewFilename( cocos2d::CCFileUtils *this, const char *a2, const char *a3, int a4) { char *CString; // r5 int v6; // r7 size_t v7; // r0 cocos2d::CCString *v8; // r7 size_t v9; // r0 cocos2d::CCFileUtils *v11; // [sp+0h] [bp-10h] BYREF const char *v12; // [sp+4h] [bp-Ch] const char *v13; // [sp+8h] [bp-8h] int v14; // [sp+Ch] [bp-4h] v11 = this; v12 = a2; v13 = a3; v14 = a4; CString = (char *)a3; v6 = *((_DWORD *)a2 + 1); if ( v6 ) { v11 = nullptr; v12 = nullptr; v13 = nullptr; v7 = strlen(a3); std::string::__init((int *)&v11, CString, v7); v8 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v6, (int)&v11); std::string::~string((int)&v11); if ( v8 ) { if ( cocos2d::CCString::length(v8) ) CString = cocos2d::CCString::getCString(v8); } } *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; v9 = strlen(CString); std::string::__init((int *)this, CString, v9); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source