// // cocos2d::CCString::createWithContentsOfFile from 0xad3c3c to 0xad3cd8 (156 bytes) // // 7 xrefs: // > FontObject::parseConfigFile @ 0x56a9d0 // > GameManager::recountUserStats @ 0x5f9c44 // > LocalLevelManager::tryLoadMainLevelString @ 0x7ea3b8 // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0xae4e70 // > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0xb10cf0 // > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0xb10d30 // > @ 0x908b8 // // 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 // cocos2d::CCString *cocos2d::CCString::createWithContentsOfFile(const char *a1) { cocos2d::CCFileUtils *v1; // x0 unsigned __int8 *v2; // x20 cocos2d::CCString *v3; // x21 unsigned __int8 *v6; // [xsp+50h] [xbp+50h] BYREF v6 = nullptr; v1 = cocos2d::CCFileUtils::sharedFileUtils(); v2 = (unsigned __int8 *)((__int64 (__fastcall *)(cocos2d::CCFileUtils *, const char *, char *, unsigned __int8 **))v1->addSearchResolutionsOrder)( v1, a1, "rb", &v6); v3 = cocos2d::CCString::createWithData(v2, (unsigned __int64)v6); if ( v2 ) operator delete[](v2); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source