{"type": "func", "start": 4295918796, "end": 4295918876, "name": "AchievementManager::getAchievementsWithID", "pseudocode": "// \n// AchievementManager::getAchievementsWithID from 0x1000e84cc to 0x1000e851c (80 bytes)\n// \n// 4 xrefs:\n// > AchievementManager::limitForAchievement @ 0x1000e8554\n// > GJGarageLayer::titleForUnlock @ 0x100306a2c\n// > GJGarageLayer::descriptionForUnlock @ 0x100306b18\n// > GameManager::getUnlockForAchievement @ 0x10031303c\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\ncocos2d::CCDictionary *__fastcall AchievementManager::getAchievementsWithID(AchievementManager *a1, const char *a2)\n{\n  cocos2d::CCDictionary *m_platformAchievements; // x19\n  cocos2d::CCDictionary *v3; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  m_platformAchievements = a1->m_platformAchievements;\n  sub_100009900(__p, (char *)a2);\n  v3 = (cocos2d::CCDictionary *)cocos2d::CCDictionary::objectForKey_1(m_platformAchievements, __p);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n  return v3;\n}", "assembly": "; \n; AchievementManager::getAchievementsWithID from 0x1000e84cc to 0x1000e851c (80 bytes)\n; \n; 4 xrefs:\n; > AchievementManager::limitForAchievement @ 0x1000e8554\n; > GJGarageLayer::titleForUnlock @ 0x100306a2c\n; > GJGarageLayer::descriptionForUnlock @ 0x100306b18\n; > GameManager::getUnlockForAchievement @ 0x10031303c\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, #0x40                                          ; +0x0, 0x1000e84cc\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000e84d0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000e84d4\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000e84d8\nLDR             X19, [X0,#0x148]                                       ; +0x10, 0x1000e84dc\nADD             X0, SP, #0x30+__p; int                                 ; +0x14, 0x1000e84e0\nBL              sub_100009900                                          ; +0x18, 0x1000e84e4\nADD             X1, SP, #0x30+__p                                      ; +0x1c, 0x1000e84e8\nMOV             X0, X19                                                ; +0x20, 0x1000e84ec\nBL              cocos2d__CCDictionary__objectForKey_1                  ; +0x24, 0x1000e84f0\nMOV             X19, X0                                                ; +0x28, 0x1000e84f4\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x2c, 0x1000e84f8\nTBZ             W8, #0x1F, loc_1000E8508                               ; +0x30, 0x1000e84fc\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x34, 0x1000e8500\nBL              __ZdlPv; operator delete(void *)                       ; +0x38, 0x1000e8504\nMOV             X0, X19                                                ; +0x3c, 0x1000e8508\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x40, 0x1000e850c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x44, 0x1000e8510\nADD             SP, SP, #0x40 ; '@'                                    ; +0x48, 0x1000e8514\nRET                                                                    ; +0x4c, 0x1000e8518", "xrefs": ["AchievementManager::limitForAchievement @ 0x1000e8554", "GJGarageLayer::titleForUnlock @ 0x100306a2c", "GJGarageLayer::descriptionForUnlock @ 0x100306b18", "GameManager::getUnlockForAchievement @ 0x10031303c"], "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"}