// // cocos2d::CCString::createWithContentsOfFile from 0x1007ab6d0 to 0x1007ab727 (87 bytes) // // 6 xrefs: // > FontObject::parseConfigFile @ 0x10022034e // > GameManager::recountUserStats @ 0x1003856eb // > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x10042aabe // > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x10042ab05 // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x1005d5015 // > LocalLevelManager::tryLoadMainLevelString @ 0x1005f6c65 // // 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 *__fastcall cocos2d::CCString::createWithContentsOfFile(const char *a1) { cocos2d::CCFileUtils *v1; // rax const unsigned __int8 *v2; // rbx cocos2d::CCString *result; // rax unsigned __int8 *v4; // rdi cocos2d::CCString *v5; // rbx size_t __n[2]; // [rsp+0h] [rbp-10h] BYREF __n[0] = 0; v1 = cocos2d::CCFileUtils::sharedFileUtils(); v2 = (const unsigned __int8 *)((__int64 (__fastcall *)(cocos2d::CCFileUtils *, const char *, const char *, size_t *))v1->addSearchResolutionsOrder)( v1, a1, "rb", __n); result = cocos2d::CCString::createWithData(v2, __n[0]); if ( v2 ) { v4 = (unsigned __int8 *)v2; v5 = result; operator delete[](v4); return v5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source