{"type": "func", "start": 2991852, "end": 2991918, "name": "AchievementManager::resetAchievement", "pseudocode": "// \n// AchievementManager::resetAchievement from 0x2da6ec to 0x2da72e (66 bytes)\n// \n// 1 xrefs:\n// > GameManager::resetAchievement @ 0x32635e\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\nvoid AchievementManager::resetAchievement(AchievementManager *a1, const char *a2)\n{\n  cocos2d::CCDictionary *m_reportedAchievements; // r6\n  _BYTE v3[4]; // [sp+8h] [bp-8h] BYREF\n\n  m_reportedAchievements = a1->m_reportedAchievements;\n  sub_776584((int)v3, (char *)a2);\n  cocos2d::CCDictionary::removeObjectForKey(m_reportedAchievements);\n  sub_774008(v3);\n}", "assembly": "; \n; AchievementManager::resetAchievement from 0x2da6ec to 0x2da72e (66 bytes)\n; \n; 1 xrefs:\n; > GameManager::resetAchievement @ 0x32635e\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            {R0-R6,LR}                                             ; +0x0, 0x2da6ec\nADD             R5, SP, #0x10+var_8                                    ; +0x2, 0x2da6ee\nLDR             R4, =(__stack_chk_guard_ptr - 0x2DA6FE)                ; +0x4, 0x2da6f0\nADD             R2, SP, #0x10+var_C                                    ; +0x6, 0x2da6f2\nLDR.W           R6, [R0,#0x118]                                        ; +0x8, 0x2da6f4\nMOV             R0, R5; int                                            ; +0xc, 0x2da6f8\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x2da6fa\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x2da6fc\nLDR             R3, [R4]                                               ; +0x12, 0x2da6fe\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x14, 0x2da700\nBL              sub_776584                                             ; +0x16, 0x2da702\nMOV             R0, R6; this                                           ; +0x1a, 0x2da706\nMOV             R1, R5                                                 ; +0x1c, 0x2da708\nBL              _ZN7cocos2d12CCDictionary18removeObjectForKeyERKSs; cocos2d::CCDictionary::removeObjectForKey(std::string const&) ; +0x1e, 0x2da70a\nMOV             R0, R5                                                 ; +0x22, 0x2da70e\nBL              sub_774008                                             ; +0x24, 0x2da710\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x28, 0x2da714\nLDR             R3, [R4]                                               ; +0x2a, 0x2da716\nCMP             R2, R3                                                 ; +0x2c, 0x2da718\nBEQ             loc_2DA72A                                             ; +0x2e, 0x2da71a\nBLX             __stack_chk_fail                                       ; +0x30, 0x2da71c\nMOV             R0, R5                                                 ; +0x34, 0x2da720\nBL              sub_774008                                             ; +0x36, 0x2da722\nBL              __cxa_end_cleanup                                      ; +0x3a, 0x2da726\nADD             SP, SP, #0x10                                          ; +0x3e, 0x2da72a\nPOP             {R4-R6,PC}                                             ; +0x40, 0x2da72c", "xrefs": ["GameManager::resetAchievement @ 0x32635e"], "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"}