//
// sub_59FD04 from 0x59fd04 to 0x59fd2e (42 bytes)
//
// 4 xrefs:
// > std::vector>::_M_insert_aux @ 0x5a039a
// > std::vector>::_M_insert_aux @ 0x5a03a4
// > cocos2d::extension::AssetsManager::setSearchPath @ 0x5a05cc
// > cocos2d::extension::AssetsManager::setSearchPath @ 0x5a05d6
//
// 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
//
char *__fastcall sub_59FD04(char *a1, char *a2, _DWORD *a3)
{
char *v3; // r3
_DWORD *v4; // r5
v3 = a1;
v4 = a3;
while ( v3 != a2 )
{
if ( v4 )
{
*v4 = *(_DWORD *)v3;
*(_DWORD *)v3 = &unk_ACDDA8;
}
++v4;
v3 += 4;
}
return (char *)a3 + ((v3 - a1) & 0xFFFFFFFC);
}