//
// cocos2d::extension::AssetsManager::deleteVersion from 0xd098c0 to 0xd0994c (140 bytes)
//
// 1 xrefs:
// > ??> @ 0xc5b00
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:06:58 +0000
//
__int64 __fastcall cocos2d::extension::AssetsManager::deleteVersion(cocos2d::extension::AssetsManager *this)
{
__int64 v1; // x0
_QWORD v3[2]; // [xsp+20h] [xbp+20h] BYREF
void *v4; // [xsp+30h] [xbp+30h]
v1 = cocos2d::CCUserDefault::sharedUserDefault(_stack_chk_guard);
v3[0] = 0;
v3[1] = 0;
v4 = nullptr;
cocos2d::CCUserDefault::setStringForKey(v1, "current-version-code", v3);
if ( (v3[0] & 1) != 0 )
operator delete(v4);
return _stack_chk_guard;
}