{"type": "func", "start": 3900896, "end": 3900982, "name": "AchievementManager::resetAchievement", "pseudocode": "// \n// AchievementManager::resetAchievement from 0x3b85e0 to 0x3b8636 (86 bytes)\n// \n// 1 xrefs:\n// > GameManager::resetAchievement @ 0x4199f6\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:46:21 +0000\n// \n\nint __fastcall AchievementManager::resetAchievement(AchievementManager *this, const char *a2)\n{\n  cocos2d::CCDictionary *v3; // r7\n  size_t v4; // r0\n  int v6[3]; // [sp+0h] [bp-14h] BYREF\n\n  v3 = *((cocos2d::CCDictionary **)this + 70);\n  memset(v6, 0, sizeof(v6));\n  v4 = strlen(a2);\n  std::string::__init(v6, a2, v4);\n  cocos2d::CCDictionary::removeObjectForKey(v3);\n  return std::string::~string((int)v6);\n}", "assembly": "; \n; AchievementManager::resetAchievement from 0x3b85e0 to 0x3b8636 (86 bytes)\n; \n; 1 xrefs:\n; > GameManager::resetAchievement @ 0x4199f6\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:46:21 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x3b85e0\nSUB             SP, SP, #0x14                                          ; +0x2, 0x3b85e2\nLDR             R4, =(__stack_chk_guard_ptr - 0x3B85F2)                ; +0x4, 0x3b85e4\nMOV             R6, R1                                                 ; +0x6, 0x3b85e6\nLDR.W           R7, [R0,#0x118]                                        ; +0x8, 0x3b85e8\nMOV             R0, R1; char *                                         ; +0xc, 0x3b85ec\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x3b85ee\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x3b85f0\nMOV             R5, SP                                                 ; +0x12, 0x3b85f2\nLDR             R3, [R4]                                               ; +0x14, 0x3b85f4\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x16, 0x3b85f6\nMOVS            R3, #0                                                 ; +0x18, 0x3b85f8\nSTR             R3, [SP,#0x14+var_14]                                  ; +0x1a, 0x3b85fa\nSTR             R3, [SP,#0x14+var_10]                                  ; +0x1c, 0x3b85fc\nSTR             R3, [SP,#0x14+var_C]                                   ; +0x1e, 0x3b85fe\nBLX             strlen                                                 ; +0x20, 0x3b8600\nMOV             R1, R6                                                 ; +0x24, 0x3b8604\nMOV             R2, R0                                                 ; +0x26, 0x3b8606\nMOV             R0, SP                                                 ; +0x28, 0x3b8608\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x2a, 0x3b860a\nMOV             R0, R7; this                                           ; +0x2e, 0x3b860e\nMOV             R1, SP                                                 ; +0x30, 0x3b8610\nBL              _ZN7cocos2d12CCDictionary18removeObjectForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::removeObjectForKey(std::string const&) ; +0x32, 0x3b8612\nMOV             R0, SP                                                 ; +0x36, 0x3b8616\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x38, 0x3b8618\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x3c, 0x3b861c\nLDR             R3, [R4]                                               ; +0x3e, 0x3b861e\nCMP             R2, R3                                                 ; +0x40, 0x3b8620\nBEQ             loc_3B8632                                             ; +0x42, 0x3b8622\nBLX             __stack_chk_fail                                       ; +0x44, 0x3b8624\nMOV             R0, R5                                                 ; +0x48, 0x3b8628\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4a, 0x3b862a\nBL              __cxa_end_cleanup                                      ; +0x4e, 0x3b862e\nADD             SP, SP, #0x14                                          ; +0x52, 0x3b8632\nPOP             {R4-R7,PC}                                             ; +0x54, 0x3b8634", "xrefs": ["GameManager::resetAchievement @ 0x4199f6"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}