// // cocos2d::CCString::createWithContentsOfFile from 0x180010300 to 0x180010360 (96 bytes) // // 6 xrefs: // > cocos2d::CCBMFontConfiguration::parseConfigFile @ 0x18004a2f5 // > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x180086afc // > cocos2d::CCGLProgram::initWithVertexShaderFilename @ 0x180086b87 // > @ 0x1801438a8 // > @ 0x1801ae0f8 // > @ 0x1801ae104 // // 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 // struct cocos2d::CCString *__fastcall cocos2d::CCString::createWithContentsOfFile(const char *a1) { struct cocos2d::CCFileUtils *v2; // rax unsigned __int8 *v3; // rdi struct cocos2d::CCString *result; // rax struct cocos2d::CCString *v5; // rbx size_t Size; // [rsp+38h] [rbp+10h] BYREF LODWORD(Size) = 0; v2 = cocos2d::CCFileUtils::sharedFileUtils(); v3 = (unsigned __int8 *)((__int64 (__fastcall *)(struct cocos2d::CCFileUtils *, const char *, const char *, size_t *))v2->addSearchResolutionsOrder)( v2, a1, "rb", &Size); result = cocos2d::CCString::createWithData(v3, (unsigned int)Size); v5 = result; if ( v3 ) { j_j_free_0(v3); return v5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source