{"type": "func", "start": 4297500428, "end": 4297500596, "name": "AchievementBar::create", "pseudocode": "// \n// AchievementBar::create from 0x10026a70c to 0x10026a7b4 (168 bytes)\n// \n// 1 xrefs:\n// > AchievementNotifier::notifyAchievement @ 0x100216664\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 *v8; // x19\n\n  v8 = (AchievementBar *)operator new(0x1A0u);\n  cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v8);\n  v8->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AchievementBar_vtbl *)&off_1007D28D0;\n  v8->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007D2CC0;\n  v8->m_layerColor = nullptr;\n  v8->m_unkUnused = 0;\n  v8->m_nextScene = nullptr;\n  if ( AchievementBar::init(v8, a1, a2, a3, a4) )\n  {\n    cocos2d::CCObject::autorelease(v8);\n  }\n  else\n  {\n    ((void (__fastcall *)(AchievementBar *))v8->~AchievementBar_0)(v8);\n    return nullptr;\n  }\n  return v8;\n}", "assembly": "; \n; AchievementBar::create from 0x10026a70c to 0x10026a7b4 (168 bytes)\n; \n; 1 xrefs:\n; > AchievementNotifier::notifyAchievement @ 0x100216664\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\nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x0, 0x10026a70c\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x10026a710\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10026a714\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10026a718\nADD             X29, SP, #0x30                                         ; +0x10, 0x10026a71c\nMOV             X20, X3                                                ; +0x14, 0x10026a720\nMOV             X21, X2                                                ; +0x18, 0x10026a724\nMOV             X22, X1                                                ; +0x1c, 0x10026a728\nMOV             X23, X0                                                ; +0x20, 0x10026a72c\nMOV             W0, #0x1A0; __sz                                       ; +0x24, 0x10026a730\nBL              __Znwm; operator new(ulong)                            ; +0x28, 0x10026a734\nMOV             X19, X0                                                ; +0x2c, 0x10026a738\nBL              cocos2d__CCNodeRGBA__CCNodeRGBA                        ; +0x30, 0x10026a73c\nADRL            X8, off_1007D28D0                                      ; +0x34, 0x10026a740\nSTR             X8, [X19]                                              ; +0x3c, 0x10026a748\nADD             X8, X8, #(off_1007D2CC0 - 0x1007D28D0)                 ; +0x40, 0x10026a74c\nSTR             X8, [X19,#0x140]                                       ; +0x44, 0x10026a750\nSTR             XZR, [X19,#0x158]                                      ; +0x48, 0x10026a754\nSTR             WZR, [X19,#0x160]                                      ; +0x4c, 0x10026a758\nSTR             XZR, [X19,#0x168]                                      ; +0x50, 0x10026a75c\nMOV             X0, X19                                                ; +0x54, 0x10026a760\nMOV             X1, X23                                                ; +0x58, 0x10026a764\nMOV             X2, X22                                                ; +0x5c, 0x10026a768\nMOV             X3, X21                                                ; +0x60, 0x10026a76c\nMOV             X4, X20                                                ; +0x64, 0x10026a770\nBL              AchievementBar__init                                   ; +0x68, 0x10026a774\nCBZ             W0, loc_10026A788                                      ; +0x6c, 0x10026a778\nMOV             X0, X19                                                ; +0x70, 0x10026a77c\nBL              cocos2d__CCObject__autorelease                         ; +0x74, 0x10026a780\nB               loc_10026A79C                                          ; +0x78, 0x10026a784\nLDR             X8, [X19]                                              ; +0x7c, 0x10026a788\nLDR             X8, [X8,#0x10]                                         ; +0x80, 0x10026a78c\nMOV             X0, X19                                                ; +0x84, 0x10026a790\nBLR             X8                                                     ; +0x88, 0x10026a794\nMOV             X19, #0                                                ; +0x8c, 0x10026a798\nMOV             X0, X19                                                ; +0x90, 0x10026a79c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x94, 0x10026a7a0\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x98, 0x10026a7a4\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x9c, 0x10026a7a8\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0xa0, 0x10026a7ac\nRET                                                                    ; +0xa4, 0x10026a7b0", "xrefs": ["AchievementNotifier::notifyAchievement @ 0x100216664"], "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"}