{"type": "func", "start": 5678116, "end": 5679060, "name": "AchievementManager::achievementForUnlock", "pseudocode": "// \n// AchievementManager::achievementForUnlock from 0x56a424 to 0x56a7d4 (944 bytes)\n// \n// 7 xrefs:\n// > GJGarageLayer::titleForUnlock @ 0x7911f0\n// > GJGarageLayer::descriptionForUnlock @ 0x7913c0\n// > GJGarageLayer::achievementForUnlock @ 0x791598\n// > ItemInfoPopup::init @ 0x794e98\n// > GameStatsManager::getItemUnlockStateLite @ 0x7bc634\n// > GameStatsManager::generateItemUnlockableData @ 0x7bc980\n// > <???> @ 0xab570\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\n__int64 __usercall AchievementManager::achievementForUnlock@<X0>(\n        __int64 a1@<X0>,\n        signed int a2@<W1>,\n        int a3@<W2>,\n        __int64 a4@<X8>)\n{\n  size_t v7; // x24\n  size_t v8; // x21\n  size_t v9; // x24\n  cocos2d::CCDictionary *v10; // x25\n  cocos2d::CCString *v11; // x0\n  char *CString; // x0\n  char *v13; // x0\n  int *v15; // x0\n  int *v16; // x0\n  int *v17; // x0\n  __int16 v18; // w2\n  char v19; // w0\n  unsigned int *v20; // x2\n  int v21; // w1\n  std::string v22; // [xsp+60h] [xbp+60h] BYREF\n  size_t v23; // [xsp+68h] [xbp+68h] BYREF\n  unsigned __int64 v24; // [xsp+70h] [xbp+70h]\n  char *v25; // [xsp+78h] [xbp+78h]\n  _QWORD v26[63]; // [xsp+80h] [xbp+80h] BYREF\n\n  v24 = 500;\n  v23 = 0;\n  v25 = (char *)v26;\n  switch ( a3 )\n  {\n    case 1:\n      v15 = (int *)\"icon_\";\n      goto LABEL_17;\n    case 2:\n      v16 = (int *)\"color_\";\n      goto LABEL_19;\n    case 3:\n      v17 = (int *)\"color2_\";\n      goto LABEL_21;\n    case 4:\n      v15 = &dword_E9EBC8;\n      goto LABEL_17;\n    case 5:\n      v15 = &dword_E9EBD0;\n      goto LABEL_17;\n    case 6:\n      v15 = &dword_E9EBD8;\n      goto LABEL_17;\n    case 7:\n      v15 = &dword_E9EBE0;\n      goto LABEL_17;\n    case 8:\n      v16 = &dword_E9EBE8;\n      goto LABEL_19;\n    case 9:\n      v17 = &dword_E9EBF0;\nLABEL_21:\n      v23 = 7;\n      LODWORD(v26[0]) = *v17;\n      v18 = *((_WORD *)v17 + 2);\n      v19 = *((_BYTE *)v17 + 6);\n      WORD2(v26[0]) = v18;\n      BYTE6(v26[0]) = v19;\n      break;\n    case 10:\n      v23 = 8;\n      v26[0] = *(_QWORD *)\"special_\";\n      break;\n    case 11:\n      v16 = &dword_E9EC08;\n      goto LABEL_19;\n    case 12:\n      v15 = &dword_E9EC28;\nLABEL_17:\n      v23 = 5;\n      LODWORD(v26[0]) = *v15;\n      BYTE4(v26[0]) = *((_BYTE *)v15 + 4);\n      break;\n    case 13:\n      v16 = &dword_E9EC10;\nLABEL_19:\n      v23 = 6;\n      LODWORD(v26[0]) = *v16;\n      WORD2(v26[0]) = *((_WORD *)v16 + 2);\n      break;\n    case 14:\n      v23 = 8;\n      v26[0] = *(_QWORD *)\"jetpack_\";\n      break;\n    case 15:\n      v23 = 11;\n      qmemcpy(v26, \"shipstreak_\", 11);\n      break;\n    default:\n      v23 = 2;\n      LOWORD(v26[0]) = 24352;\n      break;\n  }\n  if ( a2 <= 9 )\n  {\n    v7 = v23;\n    v8 = v23 + 1;\n    if ( v23 + 1 > v24 )\n      fmt::internal::Array<char,500ul>::grow(&v23, v23 + 1);\n    v23 = v8;\n    v25[v7] = aAssertionFaile_0[72];\n  }\n  fmt::BasicWriter<char>::FormatInt<int,fmt::IntFormatSpec<int,fmt::TypeSpec<(char)0>,char>>(&v23, a2);\n  v9 = v23;\n  v10 = *(cocos2d::CCDictionary **)(a1 + 336);\n  if ( v24 < v23 + 1 )\n    fmt::internal::Array<char,500ul>::grow(&v23, v23 + 1);\n  v25[v9] = 0;\n  sub_D153B8((int)&v22, v25);\n  v11 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v10, &v22);\n  CString = (char *)cocos2d::CCString::getCString(v11);\n  sub_D153B8(a4, CString);\n  v13 = (char *)v22.m_data.m_data - 24;\n  if ( (__int64 *)v22.m_data.m_data - 3 != &qword_124B6B0 )\n  {\n    if ( &pthread_create )\n    {\n      v20 = (unsigned int *)((char *)v22.m_data.m_data - 8);\n      do\n        v21 = __ldaxr(v20);\n      while ( __stlxr(v21 - 1, v20) );\n    }\n    else\n    {\n      v21 = *((_DWORD *)v22.m_data.m_data - 2);\n      *((_DWORD *)v22.m_data.m_data - 2) = v21 - 1;\n    }\n    if ( v21 <= 0 )\n      operator delete(v13);\n  }\n  if ( v25 != (char *)v26 && v25 )\n    operator delete[](v25);\n  return a4;\n}", "assembly": "; \n; AchievementManager::achievementForUnlock from 0x56a424 to 0x56a7d4 (944 bytes)\n; \n; 7 xrefs:\n; > GJGarageLayer::titleForUnlock @ 0x7911f0\n; > GJGarageLayer::descriptionForUnlock @ 0x7913c0\n; > GJGarageLayer::achievementForUnlock @ 0x791598\n; > ItemInfoPopup::init @ 0x794e98\n; > GameStatsManager::getItemUnlockStateLite @ 0x7bc634\n; > GameStatsManager::generateItemUnlockableData @ 0x7bc980\n; > <???> @ 0xab570\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\nSUB             SP, SP, #0x230                                         ; +0x0, 0x56a424\nSUB             W2, W2, #1; switch 15 cases                            ; +0x4, 0x56a428\nCMP             W2, #0xE                                               ; +0x8, 0x56a42c\nSTP             X29, X30, [SP,#0x230+var_280]!                         ; +0xc, 0x56a430\nMOV             X29, SP                                                ; +0x10, 0x56a434\nSTP             X19, X20, [SP,#0x280+var_270]                          ; +0x14, 0x56a438\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0x18, 0x56a43c\nADD             X19, X29, #0x280+var_218                               ; +0x1c, 0x56a440\nSTP             X21, X22, [SP,#0x280+var_260]                          ; +0x20, 0x56a444\nSTP             X23, X24, [SP,#0x280+var_250]                          ; +0x24, 0x56a448\nLDR             X4, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x56a44c\nADD             X3, X19, #0x18                                         ; +0x2c, 0x56a450\nSTR             X25, [SP,#0x280+var_240]                               ; +0x30, 0x56a454\nMOV             X25, X0                                                ; +0x34, 0x56a458\nMOV             X0, #0x1F4                                             ; +0x38, 0x56a45c\nSTR             X0, [X19,#8]                                           ; +0x3c, 0x56a460\nLDR             X0, [X4]                                               ; +0x40, 0x56a464\nMOV             X23, X8                                                ; +0x44, 0x56a468\nSTR             XZR, [X19]                                             ; +0x48, 0x56a46c\nMOV             W22, W1                                                ; +0x4c, 0x56a470\nSTR             X0, [X29,#0x280+var_8]                                 ; +0x50, 0x56a474\nSTR             X3, [X19,#0x10]                                        ; +0x54, 0x56a478\nB.LS            loc_56A5A0                                             ; +0x58, 0x56a47c\nMOV             X0, #2; jumptable 000000000056A5B4 default case        ; +0x5c, 0x56a480\nSTR             X0, [X19]                                              ; +0x60, 0x56a484\nADRL            X0, word_E9EC40                                        ; +0x64, 0x56a488\nLDRH            W0, [X0]                                               ; +0x6c, 0x56a490\nSTRH            W0, [X19,#0x18]                                        ; +0x70, 0x56a494\nCMP             W22, #9                                                ; +0x74, 0x56a498\nB.GT            loc_56A4C8                                             ; +0x78, 0x56a49c\nLDR             X24, [X19]                                             ; +0x7c, 0x56a4a0\nLDR             X0, [X19,#8]                                           ; +0x80, 0x56a4a4\nADD             X21, X24, #1                                           ; +0x84, 0x56a4a8\nCMP             X21, X0                                                ; +0x88, 0x56a4ac\nB.HI            loc_56A5B8                                             ; +0x8c, 0x56a4b0\nADRP            X1, #(aAssertionFaile_0+0x48)@PAGE; \"0\"                ; +0x90, 0x56a4b4\nLDR             X0, [X19,#0x10]                                        ; +0x94, 0x56a4b8\nSTR             X21, [X19]                                             ; +0x98, 0x56a4bc\nLDRB            W1, [X1,#(aAssertionFaile_0+0x48)@PAGEOFF]; \"0\"        ; +0x9c, 0x56a4c0\nSTRB            W1, [X0,X24]                                           ; +0xa0, 0x56a4c4\nADD             X21, X29, #0x280+var_228                               ; +0xa4, 0x56a4c8\nMOV             X0, X19                                                ; +0xa8, 0x56a4cc\nMOV             W1, W22                                                ; +0xac, 0x56a4d0\nMOV             X2, X21                                                ; +0xb0, 0x56a4d4\nSTR             W22, [X21]                                             ; +0xb4, 0x56a4d8\nBL              _ZN3fmt11BasicWriterIcE9FormatIntIiNS_13IntFormatSpecIiNS_8TypeSpecILc0EEEcEEEEvT_RKT0_; fmt::BasicWriter<char>::FormatInt<int,fmt::IntFormatSpec<int,fmt::TypeSpec<(char)0>,char>>(int,fmt::IntFormatSpec<int,fmt::TypeSpec<(char)0>,char> const&) ; +0xb8, 0x56a4dc\nLDR             X24, [X19]                                             ; +0xbc, 0x56a4e0\nLDR             X0, [X19,#8]                                           ; +0xc0, 0x56a4e4\nADD             X1, X24, #1                                            ; +0xc4, 0x56a4e8\nLDR             X25, [X25,#0x150]                                      ; +0xc8, 0x56a4ec\nCMP             X0, X1                                                 ; +0xcc, 0x56a4f0\nB.CS            loc_56A500                                             ; +0xd0, 0x56a4f4\nMOV             X0, X19                                                ; +0xd4, 0x56a4f8\nBL              _ZN3fmt8internal5ArrayIcLm500EE4growEm; fmt::internal::Array<char,500ul>::grow(ulong) ; +0xd8, 0x56a4fc\nLDR             X1, [X19,#0x10]                                        ; +0xdc, 0x56a500\nADD             X22, X29, #0x280+var_220                               ; +0xe0, 0x56a504\nMOV             X0, X22; int                                           ; +0xe4, 0x56a508\nADD             X2, X29, #0x280+var_230                                ; +0xe8, 0x56a50c\nSTRB            WZR, [X1,X24]                                          ; +0xec, 0x56a510\nLDR             X1, [X19,#0x10]; char *                                ; +0xf0, 0x56a514\nBL              sub_D153B8                                             ; +0xf4, 0x56a518\nMOV             X0, X25                                                ; +0xf8, 0x56a51c\nMOV             X1, X22                                                ; +0xfc, 0x56a520\nBL              _ZN7cocos2d12CCDictionary11valueForKeyERKSs; cocos2d::CCDictionary::valueForKey(std::string const&) ; +0x100, 0x56a524\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x104, 0x56a528\nMOV             X1, X0; char *                                         ; +0x108, 0x56a52c\nMOV             X2, X21                                                ; +0x10c, 0x56a530\nMOV             X0, X23; int                                           ; +0x110, 0x56a534\nBL              sub_D153B8                                             ; +0x114, 0x56a538\nADRP            X1, #off_122EFE8@PAGE                                  ; +0x118, 0x56a53c\nLDR             X2, [X22]                                              ; +0x11c, 0x56a540\nSUB             X0, X2, #0x18; p                                       ; +0x120, 0x56a544\nLDR             X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0           ; +0x124, 0x56a548\nCMP             X0, X1                                                 ; +0x128, 0x56a54c\nB.NE            loc_56A740                                             ; +0x12c, 0x56a550\nLDR             X0, [X19,#0x10]; p                                     ; +0x130, 0x56a554\nADD             X19, X19, #0x18                                        ; +0x134, 0x56a558\nCMP             X0, X19                                                ; +0x138, 0x56a55c\nB.EQ            loc_56A56C                                             ; +0x13c, 0x56a560\nCBZ             X0, loc_56A56C                                         ; +0x140, 0x56a564\nBL              _ZdaPv; operator delete[](void *)                      ; +0x144, 0x56a568\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x148, 0x56a56c\nMOV             X0, X23                                                ; +0x14c, 0x56a570\nLDR             X2, [X29,#0x280+var_8]                                 ; +0x150, 0x56a574\nLDR             X1, [X20]                                              ; +0x154, 0x56a578\nCMP             X2, X1                                                 ; +0x158, 0x56a57c\nB.NE            loc_56A784                                             ; +0x15c, 0x56a580\nLDP             X19, X20, [SP,#0x280+var_270]                          ; +0x160, 0x56a584\nLDP             X21, X22, [SP,#0x280+var_260]                          ; +0x164, 0x56a588\nLDP             X23, X24, [SP,#0x280+var_250]                          ; +0x168, 0x56a58c\nLDR             X25, [SP,#0x280+var_240]                               ; +0x16c, 0x56a590\nLDP             X29, X30, [SP+0x280+var_280],#0x50                     ; +0x170, 0x56a594\nADD             SP, SP, #0x230                                         ; +0x174, 0x56a598\nRET                                                                    ; +0x178, 0x56a59c\nADRL            X0, jpt_56A5B4                                         ; +0x17c, 0x56a5a0\nLDRB            W0, [X0,W2,UXTW]                                       ; +0x184, 0x56a5a8\nADR             X1, loc_56A5B8                                         ; +0x188, 0x56a5ac\nADD             X0, X1, W0,SXTB#2                                      ; +0x18c, 0x56a5b0\nBR              X0; switch jump                                        ; +0x190, 0x56a5b4\nMOV             X0, X19                                                ; +0x194, 0x56a5b8\nMOV             X1, X21                                                ; +0x198, 0x56a5bc\nBL              _ZN3fmt8internal5ArrayIcLm500EE4growEm; fmt::internal::Array<char,500ul>::grow(ulong) ; +0x19c, 0x56a5c0\nB               loc_56A4B4                                             ; +0x1a0, 0x56a5c4\nADRP            X0, #aShipstreak@PAGE; jumptable 000000000056A5B4 case 15 ; +0x1a4, 0x56a5c8\nMOV             X1, X19                                                ; +0x1a8, 0x56a5cc\nADD             X0, X0, #aShipstreak@PAGEOFF; \"shipstreak_\"            ; +0x1ac, 0x56a5d0\nMOV             X2, #0xB                                               ; +0x1b0, 0x56a5d4\nSTR             X2, [X1],#0x18                                         ; +0x1b4, 0x56a5d8\nLDR             X2, [X0]; \"shipstreak_\"                                ; +0x1b8, 0x56a5dc\nSTR             X2, [X19,#0x18]                                        ; +0x1bc, 0x56a5e0\nLDRH            W2, [X0,#(aShipstreak+8 - 0xE9EC30)]; \"ak_\"            ; +0x1c0, 0x56a5e4\nLDRB            W0, [X0,#(aShipstreak+0xA - 0xE9EC30)]; \"_\"            ; +0x1c4, 0x56a5e8\nSTRH            W2, [X1,#8]                                            ; +0x1c8, 0x56a5ec\nSTRB            W0, [X1,#0xA]                                          ; +0x1cc, 0x56a5f0\nB               loc_56A498                                             ; +0x1d0, 0x56a5f4\nADRP            X0, #aIcon@PAGE; jumptable 000000000056A5B4 case 1     ; +0x1d4, 0x56a5f8\nMOV             X1, X19                                                ; +0x1d8, 0x56a5fc\nADD             X0, X0, #aIcon@PAGEOFF; \"icon_\"                        ; +0x1dc, 0x56a600\nMOV             X2, #5                                                 ; +0x1e0, 0x56a604\nSTR             X2, [X1],#0x18                                         ; +0x1e4, 0x56a608\nLDR             W2, [X0]; \"icon_\" ...                                  ; +0x1e8, 0x56a60c\nSTR             W2, [X19,#0x18]                                        ; +0x1ec, 0x56a610\nLDRB            W0, [X0,#4]; \"_\" ...                                   ; +0x1f0, 0x56a614\nSTRB            W0, [X1,#4]                                            ; +0x1f4, 0x56a618\nB               loc_56A498                                             ; +0x1f8, 0x56a61c\nADRP            X0, #aColor@PAGE; jumptable 000000000056A5B4 case 2    ; +0x1fc, 0x56a620\nMOV             X1, X19                                                ; +0x200, 0x56a624\nADD             X0, X0, #aColor@PAGEOFF; \"color_\"                      ; +0x204, 0x56a628\nMOV             X2, #6                                                 ; +0x208, 0x56a62c\nSTR             X2, [X1],#0x18                                         ; +0x20c, 0x56a630\nLDR             W2, [X0]; \"color_\" ...                                 ; +0x210, 0x56a634\nSTR             W2, [X19,#0x18]                                        ; +0x214, 0x56a638\nLDRH            W0, [X0,#4]; \"r_\" ...                                  ; +0x218, 0x56a63c\nSTRH            W0, [X1,#4]                                            ; +0x21c, 0x56a640\nB               loc_56A498                                             ; +0x220, 0x56a644\nADRP            X0, #aColor2_0@PAGE; jumptable 000000000056A5B4 case 3 ; +0x224, 0x56a648\nMOV             X1, X19                                                ; +0x228, 0x56a64c\nADD             X0, X0, #aColor2_0@PAGEOFF; \"color2_\"                  ; +0x22c, 0x56a650\nMOV             X2, #7                                                 ; +0x230, 0x56a654\nSTR             X2, [X1],#0x18                                         ; +0x234, 0x56a658\nLDR             W2, [X0]; \"color2_\" ...                                ; +0x238, 0x56a65c\nSTR             W2, [X19,#0x18]                                        ; +0x23c, 0x56a660\nLDRH            W2, [X0,#4]; \"r2_\" ...                                 ; +0x240, 0x56a664\nLDRB            W0, [X0,#6]; \"_\" ...                                   ; +0x244, 0x56a668\nSTRH            W2, [X1,#4]                                            ; +0x248, 0x56a66c\nSTRB            W0, [X1,#6]                                            ; +0x24c, 0x56a670\nB               loc_56A498                                             ; +0x250, 0x56a674\nADRP            X0, #dword_E9EBC8@PAGE; jumptable 000000000056A5B4 case 4 ; +0x254, 0x56a678\nMOV             X1, X19                                                ; +0x258, 0x56a67c\nADD             X0, X0, #dword_E9EBC8@PAGEOFF                          ; +0x25c, 0x56a680\nB               loc_56A604                                             ; +0x260, 0x56a684\nADRP            X0, #dword_E9EBD0@PAGE; jumptable 000000000056A5B4 case 5 ; +0x264, 0x56a688\nMOV             X1, X19                                                ; +0x268, 0x56a68c\nADD             X0, X0, #dword_E9EBD0@PAGEOFF                          ; +0x26c, 0x56a690\nB               loc_56A604                                             ; +0x270, 0x56a694\nADRP            X0, #dword_E9EBD8@PAGE; jumptable 000000000056A5B4 case 6 ; +0x274, 0x56a698\nMOV             X1, X19                                                ; +0x278, 0x56a69c\nADD             X0, X0, #dword_E9EBD8@PAGEOFF                          ; +0x27c, 0x56a6a0\nB               loc_56A604                                             ; +0x280, 0x56a6a4\nADRP            X0, #dword_E9EBE0@PAGE; jumptable 000000000056A5B4 case 7 ; +0x284, 0x56a6a8\nMOV             X1, X19                                                ; +0x288, 0x56a6ac\nADD             X0, X0, #dword_E9EBE0@PAGEOFF                          ; +0x28c, 0x56a6b0\nB               loc_56A604                                             ; +0x290, 0x56a6b4\nADRP            X0, #dword_E9EBE8@PAGE; jumptable 000000000056A5B4 case 8 ; +0x294, 0x56a6b8\nMOV             X1, X19                                                ; +0x298, 0x56a6bc\nADD             X0, X0, #dword_E9EBE8@PAGEOFF                          ; +0x29c, 0x56a6c0\nB               loc_56A62C                                             ; +0x2a0, 0x56a6c4\nADRP            X0, #dword_E9EBF0@PAGE; jumptable 000000000056A5B4 case 9 ; +0x2a4, 0x56a6c8\nMOV             X1, X19                                                ; +0x2a8, 0x56a6cc\nADD             X0, X0, #dword_E9EBF0@PAGEOFF                          ; +0x2ac, 0x56a6d0\nB               loc_56A654                                             ; +0x2b0, 0x56a6d4\nMOV             X0, #8; jumptable 000000000056A5B4 case 10             ; +0x2b4, 0x56a6d8\nSTR             X0, [X19]                                              ; +0x2b8, 0x56a6dc\nADRL            X0, aSpecial; \"special_\"                               ; +0x2bc, 0x56a6e0\nLDR             X0, [X0]; \"special_\"                                   ; +0x2c4, 0x56a6e8\nSTR             X0, [X19,#0x18]                                        ; +0x2c8, 0x56a6ec\nB               loc_56A498                                             ; +0x2cc, 0x56a6f0\nADRP            X0, #dword_E9EC08@PAGE; jumptable 000000000056A5B4 case 11 ; +0x2d0, 0x56a6f4\nMOV             X1, X19                                                ; +0x2d4, 0x56a6f8\nADD             X0, X0, #dword_E9EC08@PAGEOFF                          ; +0x2d8, 0x56a6fc\nB               loc_56A62C                                             ; +0x2dc, 0x56a700\nADRP            X0, #dword_E9EC28@PAGE; jumptable 000000000056A5B4 case 12 ; +0x2e0, 0x56a704\nMOV             X1, X19                                                ; +0x2e4, 0x56a708\nADD             X0, X0, #dword_E9EC28@PAGEOFF                          ; +0x2e8, 0x56a70c\nB               loc_56A604                                             ; +0x2ec, 0x56a710\nADRP            X0, #dword_E9EC10@PAGE; jumptable 000000000056A5B4 case 13 ; +0x2f0, 0x56a714\nMOV             X1, X19                                                ; +0x2f4, 0x56a718\nADD             X0, X0, #dword_E9EC10@PAGEOFF                          ; +0x2f8, 0x56a71c\nB               loc_56A62C                                             ; +0x2fc, 0x56a720\nMOV             X0, #8; jumptable 000000000056A5B4 case 14             ; +0x300, 0x56a724\nSTR             X0, [X19]                                              ; +0x304, 0x56a728\nADRL            X0, aJetpack; \"jetpack_\"                               ; +0x308, 0x56a72c\nLDR             X0, [X0]; \"jetpack_\"                                   ; +0x310, 0x56a734\nSTR             X0, [X19,#0x18]                                        ; +0x314, 0x56a738\nB               loc_56A498                                             ; +0x318, 0x56a73c\nADRP            X1, #pthread_create_ptr_0@PAGE                         ; +0x31c, 0x56a740\nLDR             X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0x320, 0x56a744\nCBZ             X1, loc_56A774                                         ; +0x324, 0x56a748\nSUB             X2, X2, #8                                             ; +0x328, 0x56a74c\nLDAXR           W1, [X2]                                               ; +0x32c, 0x56a750\nSUB             W3, W1, #1                                             ; +0x330, 0x56a754\nSTLXR           W4, W3, [X2]                                           ; +0x334, 0x56a758\nCBNZ            W4, loc_56A750                                         ; +0x338, 0x56a75c\nCMP             W1, WZR                                                ; +0x33c, 0x56a760\nB.GT            loc_56A554                                             ; +0x340, 0x56a764\nMOV             X1, X21                                                ; +0x344, 0x56a768\nBL              j__ZdlPv; operator delete(void *)                      ; +0x348, 0x56a76c\nB               loc_56A554                                             ; +0x34c, 0x56a770\nLDUR            W1, [X2,#-8]                                           ; +0x350, 0x56a774\nSUB             W3, W1, #1                                             ; +0x354, 0x56a778\nSTUR            W3, [X2,#-8]                                           ; +0x358, 0x56a77c\nB               loc_56A760                                             ; +0x35c, 0x56a780\nBL              .__stack_chk_fail                                      ; +0x360, 0x56a784\nLDR             X1, [X22]                                              ; +0x364, 0x56a788\nMOV             X20, X0                                                ; +0x368, 0x56a78c\nSUB             X0, X1, #0x18                                          ; +0x36c, 0x56a790\nADRP            X1, #off_122EFE8@PAGE                                  ; +0x370, 0x56a794\nLDR             X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0           ; +0x374, 0x56a798\nCMP             X0, X1                                                 ; +0x378, 0x56a79c\nB.EQ            loc_56A7AC                                             ; +0x37c, 0x56a7a0\nMOV             X1, X21                                                ; +0x380, 0x56a7a4\nBL              sub_4EDFD8                                             ; +0x384, 0x56a7a8\nLDR             X0, [X19,#0x10]; p                                     ; +0x388, 0x56a7ac\nADD             X19, X19, #0x18                                        ; +0x38c, 0x56a7b0\nCMP             X0, X19                                                ; +0x390, 0x56a7b4\nB.EQ            loc_56A7C4                                             ; +0x394, 0x56a7b8\nCBZ             X0, loc_56A7C4                                         ; +0x398, 0x56a7bc\nBL              _ZdaPv; operator delete[](void *)                      ; +0x39c, 0x56a7c0\nMOV             X0, X20                                                ; +0x3a0, 0x56a7c4\nBL              _Unwind_Resume                                         ; +0x3a4, 0x56a7c8\nMOV             X20, X0                                                ; +0x3a8, 0x56a7cc\nB               loc_56A7AC                                             ; +0x3ac, 0x56a7d0", "xrefs": ["GJGarageLayer::titleForUnlock @ 0x7911f0", "GJGarageLayer::descriptionForUnlock @ 0x7913c0", "GJGarageLayer::achievementForUnlock @ 0x791598", "ItemInfoPopup::init @ 0x794e98", "GameStatsManager::getItemUnlockStateLite @ 0x7bc634", "GameStatsManager::generateItemUnlockableData @ 0x7bc980", "<???> @ 0xab570"], "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"}