{"type": "func", "start": 4301360080, "end": 4301360247, "name": "AchievementBar::create", "pseudocode": "// \n// AchievementBar::create from 0x100618bd0 to 0x100618c77 (167 bytes)\n// \n// 1 xrefs:\n// > AchievementNotifier::notifyAchievement @ 0x1007c2c35\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nAchievementBar *__fastcall AchievementBar::create(const char *a1, const char *a2, const char *a3, bool a4)\n{\n  AchievementBar *v6; // rbx\n\n  v6 = (AchievementBar *)operator new(0x1A0u);\n  cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v6);\n  v6->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AchievementBar_vtbl *)off_100981A40;\n  v6->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100981E30;\n  v6->m_layerColor = nullptr;\n  v6->m_unkUnused = 0;\n  v6->m_nextScene = nullptr;\n  if ( AchievementBar::init(v6, a1, a2, a3, a4) )\n  {\n    cocos2d::CCObject::autorelease(v6);\n  }\n  else\n  {\n    ((void (__fastcall *)(AchievementBar *))v6->~AchievementBar_0)(v6);\n    return nullptr;\n  }\n  return v6;\n}", "assembly": "; \n; AchievementBar::create from 0x100618bd0 to 0x100618c77 (167 bytes)\n; \n; 1 xrefs:\n; > AchievementNotifier::notifyAchievement @ 0x1007c2c35\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100618bd0\nmov     rbp, rsp                                                       ; +0x1, 0x100618bd1\npush    r15                                                            ; +0x4, 0x100618bd4\npush    r14                                                            ; +0x6, 0x100618bd6\npush    r13                                                            ; +0x8, 0x100618bd8\npush    r12                                                            ; +0xa, 0x100618bda\npush    rbx                                                            ; +0xc, 0x100618bdc\npush    rax                                                            ; +0xd, 0x100618bdd\nmov     r12d, ecx                                                      ; +0xe, 0x100618bde\nmov     r14, rdx                                                       ; +0x11, 0x100618be1\nmov     r15, rsi                                                       ; +0x14, 0x100618be4\nmov     r13, rdi                                                       ; +0x17, 0x100618be7\nmov     edi, 1A0h; __sz                                                ; +0x1a, 0x100618bea\ncall    __Znwm; operator new(ulong)                                    ; +0x1f, 0x100618bef\nmov     rbx, rax                                                       ; +0x24, 0x100618bf4\nmov     rdi, rax                                                       ; +0x27, 0x100618bf7\ncall    cocos2d__CCNodeRGBA__CCNodeRGBA                                ; +0x2a, 0x100618bfa\nlea     rax, off_100981A40                                             ; +0x2f, 0x100618bff\nmov     [rbx], rax                                                     ; +0x36, 0x100618c06\nlea     rax, off_100981E30                                             ; +0x39, 0x100618c09\nmov     [rbx+140h], rax                                                ; +0x40, 0x100618c10\nmov     qword ptr [rbx+158h], 0                                        ; +0x47, 0x100618c17\nmov     dword ptr [rbx+160h], 0                                        ; +0x52, 0x100618c22\nmov     qword ptr [rbx+168h], 0                                        ; +0x5c, 0x100618c2c\nmovzx   r8d, r12b                                                      ; +0x67, 0x100618c37\nmov     rdi, rbx                                                       ; +0x6b, 0x100618c3b\nmov     rsi, r13                                                       ; +0x6e, 0x100618c3e\nmov     rdx, r15                                                       ; +0x71, 0x100618c41\nmov     rcx, r14                                                       ; +0x74, 0x100618c44\ncall    AchievementBar__init                                           ; +0x77, 0x100618c47\ntest    al, al                                                         ; +0x7c, 0x100618c4c\njz      short loc_100618C5A                                            ; +0x7e, 0x100618c4e\nmov     rdi, rbx                                                       ; +0x80, 0x100618c50\ncall    cocos2d__CCObject__autorelease                                 ; +0x83, 0x100618c53\njmp     short loc_100618C65                                            ; +0x88, 0x100618c58\nmov     rax, [rbx]                                                     ; +0x8a, 0x100618c5a\nmov     rdi, rbx                                                       ; +0x8d, 0x100618c5d\ncall    qword ptr [rax+10h]                                            ; +0x90, 0x100618c60\nxor     ebx, ebx                                                       ; +0x93, 0x100618c63\nmov     rax, rbx                                                       ; +0x95, 0x100618c65\nadd     rsp, 8                                                         ; +0x98, 0x100618c68\npop     rbx                                                            ; +0x9c, 0x100618c6c\npop     r12                                                            ; +0x9d, 0x100618c6d\npop     r13                                                            ; +0x9f, 0x100618c6f\npop     r14                                                            ; +0xa1, 0x100618c71\npop     r15                                                            ; +0xa3, 0x100618c73\npop     rbp                                                            ; +0xa5, 0x100618c75\nretn                                                                   ; +0xa6, 0x100618c76", "xrefs": ["AchievementNotifier::notifyAchievement @ 0x1007c2c35"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}