{"type": "func", "start": 4303765424, "end": 4303765496, "name": "AchievementManager::firstSetup", "pseudocode": "// \n// AchievementManager::firstSetup from 0x100863fb0 to 0x100863ff8 (72 bytes)\n// \n// 1 xrefs:\n// > GameManager::firstLoad @ 0x100374dac\n// \n// This function is hookable on this platform (idp: pc, 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:36:42 +0000\n// \n\nvoid __fastcall AchievementManager::firstSetup(__int64 a1)\n{\n  _QWORD *v2; // rax\n  _DWORD *v3; // rdi\n  _QWORD *v4; // r14\n\n  v2 = cocos2d::CCDictionary::create();\n  v3 = *(_DWORD **)(a1 + 352);\n  if ( v3 != (_DWORD *)v2 )\n  {\n    v4 = v2;\n    if ( v2 )\n    {\n      cocos2d::CCObject::retain((__int64)v2);\n      v3 = *(_DWORD **)(a1 + 352);\n    }\n    if ( v3 )\n      cocos2d::CCObject::release(v3);\n    *(_QWORD *)(a1 + 352) = v4;\n  }\n}", "assembly": "; \n; AchievementManager::firstSetup from 0x100863fb0 to 0x100863ff8 (72 bytes)\n; \n; 1 xrefs:\n; > GameManager::firstLoad @ 0x100374dac\n; \n; This function is hookable on this platform (idp: pc, 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:36:42 +0000\n; \npush    rbp                                                            ; +0x0, 0x100863fb0\nmov     rbp, rsp                                                       ; +0x1, 0x100863fb1\npush    r14                                                            ; +0x4, 0x100863fb4\npush    rbx                                                            ; +0x6, 0x100863fb6\nmov     rbx, rdi                                                       ; +0x7, 0x100863fb7\ncall    cocos2d__CCDictionary__create                                  ; +0xa, 0x100863fba\nmov     rdi, [rbx+160h]                                                ; +0xf, 0x100863fbf\ncmp     rdi, rax                                                       ; +0x16, 0x100863fc6\njz      short loc_100863FF3                                            ; +0x19, 0x100863fc9\nmov     r14, rax                                                       ; +0x1b, 0x100863fcb\ntest    rax, rax                                                       ; +0x1e, 0x100863fce\njz      short loc_100863FE2                                            ; +0x21, 0x100863fd1\nmov     rdi, r14                                                       ; +0x23, 0x100863fd3\ncall    cocos2d__CCObject__retain                                      ; +0x26, 0x100863fd6\nmov     rdi, [rbx+160h]                                                ; +0x2b, 0x100863fdb\ntest    rdi, rdi                                                       ; +0x32, 0x100863fe2\njz      short loc_100863FEC                                            ; +0x35, 0x100863fe5\ncall    cocos2d__CCObject__release                                     ; +0x37, 0x100863fe7\nmov     [rbx+160h], r14                                                ; +0x3c, 0x100863fec\npop     rbx                                                            ; +0x43, 0x100863ff3\npop     r14                                                            ; +0x44, 0x100863ff4\npop     rbp                                                            ; +0x46, 0x100863ff6\nretn                                                                   ; +0x47, 0x100863ff7", "xrefs": ["GameManager::firstLoad @ 0x100374dac"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}