// // cocos2d::extension::AssetsManager::setStoragePath from 0x180002880 to 0x1800028e7 (103 bytes) // // 2 xrefs: // > @ 0x18002fdf8 // > @ 0x180049150 // // 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 // void __fastcall cocos2d::extension::AssetsManager::setStoragePath(cocos2d::extension::AssetsManager *this, char *a2) { size_t v3; // r8 __int64 v4; // rcx char *v5; // rax v3 = -1; do ++v3; while ( a2[v3] ); sub_180003BC0((char *)this + 8, a2, v3); v4 = *((_QWORD *)this + 3); if ( v4 ) { v5 = (char *)this + 8; if ( *((_QWORD *)this + 4) > 0xFu ) v5 = *((char **)this + 1); if ( v5[v4 - 1] != 47 ) sub_1800039A0((char *)this + 8); } }