//
// cocos2d::CCFileUtils::fullPathFromRelativeFile from 0x5de91c to 0x5de9be (162 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
//
const char *cocos2d::CCFileUtils::fullPathFromRelativeFile(cocos2d::CCFileUtils *a1, const char *a2, const char *a3)
{
cocos2d::CCString *v5; // r7
int v6; // r0
const char *CString; // r4
const char *v9; // [sp+4h] [bp-Ch] BYREF
const char *v10; // [sp+8h] [bp-8h] BYREF
v9 = a2;
v10 = a3;
sub_776584((int)&v9, (char *)a3);
sub_776584((int)&v10, (char *)&unk_939830);
v5 = (cocos2d::CCString *)cocos2d::CCString::create();
sub_774008(&v10);
v6 = sub_7749FC(&v9, 47, -1);
sub_776158(&v10, &v9, 0, v6 + 1);
sub_774794(&v5->m_sString, &v10);
sub_774008(&v10);
((void (__fastcall *)(const char **, cocos2d::CCFileUtils *, const char *))a1->setFilenameLookupDictionary)(
&v10,
a1,
a2);
sub_77448C(&v5->m_sString, &v10);
sub_774008(&v10);
CString = cocos2d::CCString::getCString(v5);
sub_774008(&v9);
return CString;
}