// // cocos2d::CCFileUtils::removeFullPath from 0x7e99a4 to 0x7e9a40 (156 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:57 +0000 // void __fastcall cocos2d::CCFileUtils::removeFullPath(cocos2d::CCFileUtils *this, const char *a2) { size_t v4; // r0 int *v5; // r4 int *v6; // r3 int *i; // r2 int *v8; // r0 int v9[3]; // [sp+0h] [bp-14h] BYREF memset(v9, 0, sizeof(v9)); v4 = strlen(a2); std::string::__init(v9, a2, v4); v5 = std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::find( (int)this + 44, (unsigned __int8 *)v9); std::string::~string((int)v9); if ( v5 != (int *)((char *)this + 48) ) { v6 = (int *)v5[1]; if ( v6 ) { while ( *v6 ) v6 = (int *)*v6; } else { for ( i = v5; ; i = (int *)i[2] ) { v6 = (int *)i[2]; if ( i == (int *)*v6 ) break; } } v8 = *((int **)this + 12); if ( *((int **)this + 11) == v5 ) *((_DWORD *)this + 11) = v6; --*((_DWORD *)this + 13); std::__tree_remove *>(v8, v5); std::string::~string((int)(v5 + 7)); std::string::~string((int)(v5 + 4)); operator delete(v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source