//
// cocos2d::extension::AssetsManager::setSearchPath from 0x180002400 to 0x180002467 (103 bytes)
//
// 4 xrefs:
// > cocos2d::extension::AssetsManager::checkUpdate @ 0x180001b01
// > sub_180002DE0 @ 0x180002f23
// > ??> @ 0x18002fdf8
// > ??> @ 0x18004912c
//
// 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
//
// Hidden C++ exception states: #wind=1
void __fastcall cocos2d::extension::AssetsManager::setSearchPath(cocos2d::extension::AssetsManager *this)
{
__int64 v2; // rax
__int64 v3; // rax
__int64 v4; // rax
_QWORD v5[5]; // [rsp+20h] [rbp-28h] BYREF
char v6; // [rsp+50h] [rbp+8h] BYREF
v2 = cocos2d::CCFileUtils::sharedFileUtils();
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 128LL))(v2);
sub_180003750(v5, v3);
sub_180003320(v5, &v6, v5[0], (char *)this + 8);
v4 = cocos2d::CCFileUtils::sharedFileUtils();
(*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v4 + 104LL))(v4, v5);
sub_180003630(v5);
}