{"type": "func", "start": 3760152, "end": 3760212, "name": "AchievementManager::dataLoaded", "pseudocode": "// \n// AchievementManager::dataLoaded from 0x396018 to 0x396054 (60 bytes)\n// \n// 1 xrefs:\n// > GameManager::dataLoaded @ 0x41c586\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:20 +0000\n// \n\ncocos2d::CCDictionary *__fastcall AchievementManager::dataLoaded(GameToolbox **this, DS_Dictionary *a2)\n{\n  cocos2d::CCDictionary *result; // r0\n  cocos2d::CCDictionary *v4; // r2\n  GameToolbox *v5; // r4\n\n  result = (cocos2d::CCDictionary *)DS_Dictionary::getDictForKey(a2, \"reportedAchievements\", 0);\n  v5 = result;\n  if ( *(this + 70) )\n    return (cocos2d::CCDictionary *)GameToolbox::mergeDictsSaveLargestInt(*(this + 70), result, v4);\n  if ( result )\n  {\n    cocos2d::CCObject::retain(result);\n    result = *(this + 70);\n    if ( result )\n      result = (cocos2d::CCDictionary *)cocos2d::CCObject::release(result);\n    *(this + 70) = v5;\n  }\n  return result;\n}", "assembly": "; \n; AchievementManager::dataLoaded from 0x396018 to 0x396054 (60 bytes)\n; \n; 1 xrefs:\n; > GameManager::dataLoaded @ 0x41c586\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:20 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x396018\nMOV             R5, R0                                                 ; +0x2, 0x39601a\nMOV             R0, R1; this                                           ; +0x4, 0x39601c\nLDR             R1, =(aReportedachiev - 0x396026); \"reportedAchievements\" ; +0x6, 0x39601e\nMOVS            R2, #0; bool                                           ; +0x8, 0x396020\nADD             R1, PC; \"reportedAchievements\"                         ; +0xa, 0x396022\nBL              _ZN13DS_Dictionary13getDictForKeyEPKcb; DS_Dictionary::getDictForKey(char const*,bool) ; +0xc, 0x396024\nLDR.W           R3, [R5,#0x118]                                        ; +0x10, 0x396028\nMOV             R4, R0                                                 ; +0x14, 0x39602c\nCBNZ            R3, loc_396046                                         ; +0x16, 0x39602e\nCBZ             R0, locret_396052                                      ; +0x18, 0x396030\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x1a, 0x396032\nLDR.W           R0, [R5,#0x118]; this                                  ; +0x1e, 0x396036\nCBZ             R0, loc_396040                                         ; +0x22, 0x39603a\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x24, 0x39603c\nSTR.W           R4, [R5,#0x118]                                        ; +0x28, 0x396040\nPOP             {R3-R5,PC}                                             ; +0x2c, 0x396044\nMOV             R0, R3; this                                           ; +0x2e, 0x396046\nMOV             R1, R4; cocos2d::CCDictionary *                        ; +0x30, 0x396048\nPOP.W           {R3-R5,LR}                                             ; +0x32, 0x39604a\nB.W             _ZN11GameToolbox24mergeDictsSaveLargestIntEPN7cocos2d12CCDictionaryES2_; GameToolbox::mergeDictsSaveLargestInt(cocos2d::CCDictionary *,cocos2d::CCDictionary *) ; +0x36, 0x39604e\nPOP             {R3-R5,PC}                                             ; +0x3a, 0x396052", "xrefs": ["GameManager::dataLoaded @ 0x41c586"], "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"}