// // cocos2d::extension::AssetsManager::deleteVersion from 0x180002960 to 0x180002a00 (160 bytes) // // 2 xrefs: // > @ 0x18002fdf8 // > @ 0x180049168 // // 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::deleteVersion(cocos2d::extension::AssetsManager *this) { __int64 v1; // rax void *v2; // rcx void *Block[2]; // [rsp+20h] [rbp-38h] BYREF __int64 v4; // [rsp+30h] [rbp-28h] unsigned __int64 v5; // [rsp+38h] [rbp-20h] *(_OWORD *)Block = 0; v4 = 0; v5 = 15; LOBYTE(Block[0]) = 0; v1 = cocos2d::CCUserDefault::sharedUserDefault(this); cocos2d::CCUserDefault::setStringForKey(v1, "current-version-code", Block); if ( v5 > 0xF ) { v2 = Block[0]; if ( v5 + 1 >= 0x1000 ) { v2 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v2 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v2); } }