{"type": "func", "start": 6442461488, "end": 6442461531, "name": "cocos2d::extension::AssetsManager::getVersion", "pseudocode": "// \n// cocos2d::extension::AssetsManager::getVersion from 0x180002930 to 0x18000295b (43 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x18004915c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall cocos2d::extension::AssetsManager::getVersion(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rax\n\n  v3 = cocos2d::CCUserDefault::sharedUserDefault();\n  cocos2d::CCUserDefault::getStringForKey(v3, a2, \"current-version-code\");\n  return a2;\n}", "assembly": "; \n; cocos2d::extension::AssetsManager::getVersion from 0x180002930 to 0x18000295b (43 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x18004915c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x180002930\nsub     rsp, 30h                                                       ; +0x2, 0x180002932\nmov     rbx, rdx                                                       ; +0x6, 0x180002936\ncall    cs:?sharedUserDefault@CCUserDefault@cocos2d@@SAPEAV12@XZ; cocos2d::CCUserDefault::sharedUserDefault(void) ; +0x9, 0x180002939\nlea     r8, aCurrentVersion; \"current-version-code\"                    ; +0xf, 0x18000293f\nmov     rdx, rbx                                                       ; +0x16, 0x180002946\nmov     rcx, rax                                                       ; +0x19, 0x180002949\ncall    cs:?getStringForKey@CCUserDefault@cocos2d@@QEAA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEBD@Z; cocos2d::CCUserDefault::getStringForKey(char const *) ; +0x1c, 0x18000294c\nmov     rax, rbx                                                       ; +0x22, 0x180002952\nadd     rsp, 30h                                                       ; +0x25, 0x180002955\npop     rbx                                                            ; +0x29, 0x180002959\nretn                                                                   ; +0x2a, 0x18000295a", "xrefs": ["<???> @ 0x18002fdf8", "<???> @ 0x18004915c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}