{"type": "func", "start": 4302263856, "end": 4302264023, "name": "AchievementBar::create", "pseudocode": "// \n// AchievementBar::create from 0x1006f5630 to 0x1006f56d7 (167 bytes)\n// \n// 1 xrefs:\n// > AchievementNotifier::notifyAchievement @ 0x1008aa4c5\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:35:53 +0000\n// \n\n_QWORD *__fastcall AchievementBar::create(__int64 a1, __int64 a2, __int64 a3, unsigned __int8 a4)\n{\n  _QWORD *v6; // rbx\n\n  v6 = operator new(0x1A0u);\n  cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v6);\n  *v6 = off_100B955A0;\n  v6[40] = off_100B959A0;\n  v6[43] = 0;\n  *((_DWORD *)v6 + 88) = 0;\n  v6[45] = 0;\n  if ( (unsigned __int8)AchievementBar::init(v6, a1, a2, a3, a4) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v6);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v6 + 16LL))(v6);\n    return nullptr;\n  }\n  return v6;\n}", "assembly": "; \n; AchievementBar::create from 0x1006f5630 to 0x1006f56d7 (167 bytes)\n; \n; 1 xrefs:\n; > AchievementNotifier::notifyAchievement @ 0x1008aa4c5\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:35:53 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006f5630\nmov     rbp, rsp                                                       ; +0x1, 0x1006f5631\npush    r15                                                            ; +0x4, 0x1006f5634\npush    r14                                                            ; +0x6, 0x1006f5636\npush    r13                                                            ; +0x8, 0x1006f5638\npush    r12                                                            ; +0xa, 0x1006f563a\npush    rbx                                                            ; +0xc, 0x1006f563c\npush    rax                                                            ; +0xd, 0x1006f563d\nmov     r12d, ecx                                                      ; +0xe, 0x1006f563e\nmov     r14, rdx                                                       ; +0x11, 0x1006f5641\nmov     r15, rsi                                                       ; +0x14, 0x1006f5644\nmov     r13, rdi                                                       ; +0x17, 0x1006f5647\nmov     edi, 1A0h; __sz                                                ; +0x1a, 0x1006f564a\ncall    __Znwm; operator new(ulong)                                    ; +0x1f, 0x1006f564f\nmov     rbx, rax                                                       ; +0x24, 0x1006f5654\nmov     rdi, rax                                                       ; +0x27, 0x1006f5657\ncall    cocos2d__CCNodeRGBA__CCNodeRGBA                                ; +0x2a, 0x1006f565a\nlea     rax, off_100B955A0                                             ; +0x2f, 0x1006f565f\nmov     [rbx], rax                                                     ; +0x36, 0x1006f5666\nlea     rax, off_100B959A0                                             ; +0x39, 0x1006f5669\nmov     [rbx+140h], rax                                                ; +0x40, 0x1006f5670\nmov     qword ptr [rbx+158h], 0                                        ; +0x47, 0x1006f5677\nmov     dword ptr [rbx+160h], 0                                        ; +0x52, 0x1006f5682\nmov     qword ptr [rbx+168h], 0                                        ; +0x5c, 0x1006f568c\nmovzx   r8d, r12b                                                      ; +0x67, 0x1006f5697\nmov     rdi, rbx                                                       ; +0x6b, 0x1006f569b\nmov     rsi, r13                                                       ; +0x6e, 0x1006f569e\nmov     rdx, r15                                                       ; +0x71, 0x1006f56a1\nmov     rcx, r14                                                       ; +0x74, 0x1006f56a4\ncall    AchievementBar__init                                           ; +0x77, 0x1006f56a7\ntest    al, al                                                         ; +0x7c, 0x1006f56ac\njz      short loc_1006F56BA                                            ; +0x7e, 0x1006f56ae\nmov     rdi, rbx                                                       ; +0x80, 0x1006f56b0\ncall    cocos2d__CCObject__autorelease                                 ; +0x83, 0x1006f56b3\njmp     short loc_1006F56C5                                            ; +0x88, 0x1006f56b8\nmov     rax, [rbx]                                                     ; +0x8a, 0x1006f56ba\nmov     rdi, rbx                                                       ; +0x8d, 0x1006f56bd\ncall    qword ptr [rax+10h]                                            ; +0x90, 0x1006f56c0\nxor     ebx, ebx                                                       ; +0x93, 0x1006f56c3\nmov     rax, rbx                                                       ; +0x95, 0x1006f56c5\nadd     rsp, 8                                                         ; +0x98, 0x1006f56c8\npop     rbx                                                            ; +0x9c, 0x1006f56cc\npop     r12                                                            ; +0x9d, 0x1006f56cd\npop     r13                                                            ; +0x9f, 0x1006f56cf\npop     r14                                                            ; +0xa1, 0x1006f56d1\npop     r15                                                            ; +0xa3, 0x1006f56d3\npop     rbp                                                            ; +0xa5, 0x1006f56d5\nretn                                                                   ; +0xa6, 0x1006f56d6", "xrefs": ["AchievementNotifier::notifyAchievement @ 0x1008aa4c5"], "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"}