{"type": "func", "start": 6565896, "end": 6565972, "name": "AchievementManager::firstSetup", "pseudocode": "// \n// AchievementManager::firstSetup from 0x643008 to 0x643054 (76 bytes)\n// \n// 2 xrefs:\n// > GameManager::firstLoad @ 0x71fbf4\n// > <???> @ 0x6b590\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:50:18 +0000\n// \n\ncocos2d::CCObject *__fastcall AchievementManager::firstSetup(cocos2d::CCObject **this)\n{\n  cocos2d::CCObject *result; // x0\n  cocos2d::CCObject *v3; // x19\n  cocos2d::CCObject *v4; // x1\n\n  result = (cocos2d::CCObject *)cocos2d::CCDictionary::create((cocos2d::CCDictionary *)this);\n  v3 = result;\n  v4 = *(this + 44);\n  if ( result != v4 )\n  {\n    if ( result )\n    {\n      result = (cocos2d::CCObject *)cocos2d::CCObject::retain(result);\n      v4 = *(this + 44);\n    }\n    if ( v4 )\n      result = (cocos2d::CCObject *)cocos2d::CCObject::release(v4);\n    *(this + 44) = v3;\n  }\n  return result;\n}", "assembly": "; \n; AchievementManager::firstSetup from 0x643008 to 0x643054 (76 bytes)\n; \n; 2 xrefs:\n; > GameManager::firstLoad @ 0x71fbf4\n; > <???> @ 0x6b590\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:50:18 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x643008\nMOV             X29, SP                                                ; +0x4, 0x64300c\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x643010\nMOV             X20, X0                                                ; +0xc, 0x643014\nBL              _ZN7cocos2d12CCDictionary6createEv; cocos2d::CCDictionary::create(void) ; +0x10, 0x643018\nMOV             X19, X0                                                ; +0x14, 0x64301c\nLDR             X1, [X20,#0x160]                                       ; +0x18, 0x643020\nCMP             X0, X1                                                 ; +0x1c, 0x643024\nB.EQ            loc_643048                                             ; +0x20, 0x643028\nCBZ             X0, loc_643038                                         ; +0x24, 0x64302c\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x28, 0x643030\nLDR             X1, [X20,#0x160]                                       ; +0x2c, 0x643034\nCBZ             X1, loc_643044                                         ; +0x30, 0x643038\nMOV             X0, X1; this                                           ; +0x34, 0x64303c\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x38, 0x643040\nSTR             X19, [X20,#0x160]                                      ; +0x3c, 0x643044\nLDP             X19, X20, [SP,#var_s10]                                ; +0x40, 0x643048\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x44, 0x64304c\nRET                                                                    ; +0x48, 0x643050", "xrefs": ["GameManager::firstLoad @ 0x71fbf4", "<???> @ 0x6b590"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}