//
// cocos2d::CCFileUtils::getFullPathForDirectoryAndFilename from 0x100152458 to 0x1001524ac (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x10079a4c0
//
// 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
//
std::string *__usercall cocos2d::CCFileUtils::getFullPathForDirectoryAndFilename@(
__int64 a1@,
const void **a2@,
const void **a3@,
std::string *a4@)
{
std::string *result; // x0
sub_100151EF8(a2, a3, (__int64)a4);
result = (std::string *)(*(__int64 (__fastcall **)(__int64, std::string *))(*(_QWORD *)a1 + 160LL))(a1, a4);
if ( ((unsigned __int8)result & 1) == 0 )
return std::string::assign(a4, "");
return result;
}