; ; 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 ; sub rsp, 58h ; +0x0, 0x180002960 mov rax, cs:__security_cookie ; +0x4, 0x180002964 xor rax, rsp ; +0xb, 0x18000296b mov [rsp+58h+var_18], rax ; +0xe, 0x18000296e xorps xmm0, xmm0 ; +0x13, 0x180002973 movups xmmword ptr [rsp+58h+Block], xmm0 ; +0x16, 0x180002976 mov [rsp+58h+var_28], 0 ; +0x1b, 0x18000297b mov [rsp+58h+var_20], 0Fh ; +0x24, 0x180002984 mov byte ptr [rsp+58h+Block], 0 ; +0x2d, 0x18000298d call cs:?sharedUserDefault@CCUserDefault@cocos2d@@SAPEAV12@XZ; cocos2d::CCUserDefault::sharedUserDefault(void) ; +0x32, 0x180002992 mov rcx, rax ; +0x38, 0x180002998 lea r8, [rsp+58h+Block] ; +0x3b, 0x18000299b lea rdx, aCurrentVersion; "current-version-code" ; +0x40, 0x1800029a0 call cs:?setStringForKey@CCUserDefault@cocos2d@@QEAAXPEBDAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCUserDefault::setStringForKey(char const *,std::string const &) ; +0x47, 0x1800029a7 nop ; +0x4d, 0x1800029ad mov rdx, [rsp+58h+var_20] ; +0x4e, 0x1800029ae cmp rdx, 0Fh ; +0x53, 0x1800029b3 jbe short loc_1800029EE ; +0x57, 0x1800029b7 inc rdx ; +0x59, 0x1800029b9 mov rcx, [rsp+58h+Block]; Block ; +0x5c, 0x1800029bc mov rax, rcx ; +0x61, 0x1800029c1 cmp rdx, 1000h ; +0x64, 0x1800029c4 jb short loc_1800029E9 ; +0x6b, 0x1800029cb add rdx, 27h ; ''' ; +0x6d, 0x1800029cd mov rcx, [rcx-8] ; +0x71, 0x1800029d1 sub rax, rcx ; +0x75, 0x1800029d5 add rax, 0FFFFFFFFFFFFFFF8h ; +0x78, 0x1800029d8 cmp rax, 1Fh ; +0x7c, 0x1800029dc jbe short loc_1800029E9 ; +0x80, 0x1800029e0 call cs:_invalid_parameter_noinfo_noreturn ; +0x82, 0x1800029e2 db 0CCh ; +0x88, 0x1800029e8 call j_j_free ; +0x89, 0x1800029e9 mov rcx, [rsp+58h+var_18] ; +0x8e, 0x1800029ee xor rcx, rsp; StackCookie ; +0x93, 0x1800029f3 call __security_check_cookie ; +0x96, 0x1800029f6 add rsp, 58h ; +0x9b, 0x1800029fb retn ; +0x9f, 0x1800029ff