{"type": "func", "start": 3760112, "end": 3760152, "name": "AchievementManager::firstSetup", "pseudocode": "// \n// AchievementManager::firstSetup from 0x395ff0 to 0x396018 (40 bytes)\n// \n// 1 xrefs:\n// > GameManager::firstLoad @ 0x41808e\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::CCObject *__fastcall AchievementManager::firstSetup(cocos2d::CCObject **this)\n{\n  cocos2d::CCObject *result; // r0\n  cocos2d::CCObject *v3; // r5\n\n  result = (cocos2d::CCObject *)cocos2d::CCDictionary::create((cocos2d::CCDictionary *)this);\n  v3 = result;\n  if ( *(this + 70) != result )\n  {\n    if ( result )\n      cocos2d::CCObject::retain(result);\n    result = *(this + 70);\n    if ( result )\n      result = (cocos2d::CCObject *)cocos2d::CCObject::release(result);\n    *(this + 70) = v3;\n  }\n  return result;\n}", "assembly": "; \n; AchievementManager::firstSetup from 0x395ff0 to 0x396018 (40 bytes)\n; \n; 1 xrefs:\n; > GameManager::firstLoad @ 0x41808e\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, 0x395ff0\nMOV             R4, R0                                                 ; +0x2, 0x395ff2\nBL              _ZN7cocos2d12CCDictionary6createEv; cocos2d::CCDictionary::create(void) ; +0x4, 0x395ff4\nLDR.W           R3, [R4,#0x118]                                        ; +0x8, 0x395ff8\nCMP             R3, R0                                                 ; +0xc, 0x395ffc\nMOV             R5, R0                                                 ; +0xe, 0x395ffe\nBEQ             locret_396016                                          ; +0x10, 0x396000\nCBZ             R0, loc_396008                                         ; +0x12, 0x396002\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x14, 0x396004\nLDR.W           R0, [R4,#0x118]; this                                  ; +0x18, 0x396008\nCBZ             R0, loc_396012                                         ; +0x1c, 0x39600c\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x1e, 0x39600e\nSTR.W           R5, [R4,#0x118]                                        ; +0x22, 0x396012\nPOP             {R3-R5,PC}                                             ; +0x26, 0x396016", "xrefs": ["GameManager::firstLoad @ 0x41808e"], "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"}