//
// cocos2d::extension::AssetsManager::checkStoragePath from 0x59fd34 to 0x59fd64 (48 bytes)
//
// 2 xrefs:
// > cocos2d::extension::AssetsManager::setStoragePath @ 0x59fdba
// > cocos2d::extension::AssetsManager::AssetsManager @ 0x59ff0c
//
// 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
//
int __fastcall cocos2d::extension::AssetsManager::checkStoragePath(int this)
{
int v1; // r5
int v2; // r4
int v3; // r6
v1 = this;
v2 = *(_DWORD *)(*(_DWORD *)(this + 4) - 12);
if ( v2 )
{
v3 = this + 4;
this = sub_775170(this + 4);
if ( *(_BYTE *)(v2 + *(_DWORD *)(v1 + 4) - 1) != 47 )
return sub_774544(v3, "/");
}
return this;
}