//
// cocos2d::CCGLProgram::initWithVertexShaderFilename from 0x5e4068 to 0x5e40e0 (120 bytes)
//
// 0 xrefs:
//
// 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
//
bool cocos2d::CCGLProgram::initWithVertexShaderFilename(cocos2d::CCGLProgram *a1, const char *a2, const char *a3)
{
cocos2d::CCFileUtils *v6; // r0
cocos2d::CCString *v7; // r0
const char *CString; // r7
cocos2d::CCFileUtils *v9; // r0
cocos2d::CCString *v10; // r0
const char *v11; // r6
cocos2d::CCString *v13[3]; // [sp+0h] [bp-Ch] BYREF
v13[0] = (cocos2d::CCString *)a1;
v13[1] = (cocos2d::CCString *)a2;
v13[2] = (cocos2d::CCString *)a3;
v6 = cocos2d::CCFileUtils::sharedFileUtils();
((void (__fastcall *)(cocos2d::CCString **, cocos2d::CCFileUtils *, const char *, _DWORD))v6->createCCArrayWithContentsOfFile)(
v13,
v6,
a2,
0);
v7 = cocos2d::CCString::createWithContentsOfFile((const char *)v13[0]);
CString = cocos2d::CCString::getCString(v7);
sub_774008(v13);
v9 = cocos2d::CCFileUtils::sharedFileUtils();
((void (__fastcall *)(cocos2d::CCString **, cocos2d::CCFileUtils *, const char *, _DWORD))v9->createCCArrayWithContentsOfFile)(
v13,
v9,
a3,
0);
v10 = cocos2d::CCString::createWithContentsOfFile((const char *)v13[0]);
v11 = cocos2d::CCString::getCString(v10);
sub_774008(v13);
return cocos2d::CCGLProgram::initWithVertexShaderByteArray(a1, CString, v11);
}