// // cocos2d::CCFileUtilsAndroid::init from 0x7eb508 to 0x7eb57a (114 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:59 +0000 // int __fastcall cocos2d::CCFileUtilsAndroid::init(cocos2d::CCFileUtilsAndroid *this) { unsigned int v2; // r2 char *v3; // r3 int v4; // r3 if ( (*((_BYTE *)this + 32) & 1) != 0 ) { v2 = *((_DWORD *)this + 8) & 0xFFFFFFFE; if ( v2 - 1 <= 6 ) { std::string::__grow_by_and_replace( (int)this + 32, v2 - 1, 8 - v2, *((_DWORD *)this + 9), 0, *((_DWORD *)this + 9), 7u, "assets/"); return cocos2d::CCFileUtils::init(this); } v3 = *((char **)this + 10); } else { v3 = (char *)this + 33; } strcpy(v3, "assets/"); if ( (*((_BYTE *)this + 32) & 1) != 0 ) v4 = 7; else v4 = 14; if ( (*((_BYTE *)this + 32) & 1) != 0 ) *((_DWORD *)this + 9) = v4; else *((_BYTE *)this + 32) = v4; return cocos2d::CCFileUtils::init(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source