{"type": "func", "start": 4296075060, "end": 4296075344, "name": "AchievementManager::notifyAchievementWithID", "pseudocode": "// \n// AchievementManager::notifyAchievementWithID from 0x10010e734 to 0x10010e850 (284 bytes)\n// \n// 1 xrefs:\n// > AchievementManager::reportAchievementWithID @ 0x10010e9e0\n// \n// This function is hookable on this platform (idp: arm, 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 10:59:07 +0000\n// \n\nvoid __fastcall AchievementManager::notifyAchievementWithID(__int64 a1, char *a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x0\n  __int64 v4; // x19\n  __int64 v5; // x0\n  __int64 CString; // x20\n  __int64 v7; // x0\n  __int64 v8; // x21\n  __int64 v9; // x0\n  __int64 v10; // x19\n  __int64 v11; // x0\n  void *__p[2]; // [xsp+8h] [xbp-38h] BYREF\n  char v13; // [xsp+1Fh] [xbp-21h]\n\n  if ( (*(_BYTE *)(a1 + 360) & 1) == 0 )\n  {\n    v2 = *(_QWORD *)(a1 + 328);\n    sub_100009900(__p, a2);\n    v3 = cocos2d::CCDictionary::objectForKey(v2, __p);\n    v4 = v3;\n    if ( v13 < 0 )\n    {\n      operator delete(__p[0]);\n      if ( !v4 )\n        return;\n    }\n    else if ( !v3 )\n    {\n      return;\n    }\n    sub_100009900(__p, \"title\");\n    v5 = cocos2d::CCDictionary::valueForKey(v4, __p);\n    CString = cocos2d::CCString::getCString(v5);\n    if ( v13 < 0 )\n      operator delete(__p[0]);\n    sub_100009900(__p, \"achievedDescription\");\n    v7 = cocos2d::CCDictionary::valueForKey(v4, __p);\n    v8 = cocos2d::CCString::getCString(v7);\n    if ( v13 < 0 )\n      operator delete(__p[0]);\n    sub_100009900(__p, \"icon\");\n    v9 = cocos2d::CCDictionary::valueForKey(v4, __p);\n    v10 = cocos2d::CCString::getCString(v9);\n    if ( v13 < 0 )\n      operator delete(__p[0]);\n    v11 = AchievementNotifier::sharedState();\n    AchievementNotifier::notifyAchievement(v11, CString, v8, v10, 0);\n  }\n}", "assembly": "; \n; AchievementManager::notifyAchievementWithID from 0x10010e734 to 0x10010e850 (284 bytes)\n; \n; 1 xrefs:\n; > AchievementManager::reportAchievementWithID @ 0x10010e9e0\n; \n; This function is hookable on this platform (idp: arm, 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 10:59:07 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x10010e734\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x10010e738\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x10010e73c\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x10010e740\nADD             X29, SP, #0x40                                         ; +0x10, 0x10010e744\nLDRB            W8, [X0,#0x168]                                        ; +0x14, 0x10010e748\nTBNZ            W8, #0, loc_10010E83C                                  ; +0x18, 0x10010e74c\nLDR             X19, [X0,#0x148]                                       ; +0x1c, 0x10010e750\nADD             X0, SP, #0x40+__p; int                                 ; +0x20, 0x10010e754\nBL              sub_100009900                                          ; +0x24, 0x10010e758\nADD             X1, SP, #0x40+__p                                      ; +0x28, 0x10010e75c\nMOV             X0, X19                                                ; +0x2c, 0x10010e760\nBL              cocos2d__CCDictionary__objectForKey                    ; +0x30, 0x10010e764\nMOV             X19, X0                                                ; +0x34, 0x10010e768\nLDRSB           W8, [SP,#0x40+var_21]                                  ; +0x38, 0x10010e76c\nTBNZ            W8, #0x1F, loc_10010E77C                               ; +0x3c, 0x10010e770\nCBNZ            X19, loc_10010E788                                     ; +0x40, 0x10010e774\nB               loc_10010E83C                                          ; +0x44, 0x10010e778\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x48, 0x10010e77c\nBL              __ZdlPv; operator delete(void *)                       ; +0x4c, 0x10010e780\nCBZ             X19, loc_10010E83C                                     ; +0x50, 0x10010e784\nADRL            X1, aTitle; \"title\"                                    ; +0x54, 0x10010e788\nADD             X0, SP, #0x40+__p; int                                 ; +0x5c, 0x10010e790\nBL              sub_100009900                                          ; +0x60, 0x10010e794\nADD             X1, SP, #0x40+__p                                      ; +0x64, 0x10010e798\nMOV             X0, X19                                                ; +0x68, 0x10010e79c\nBL              cocos2d__CCDictionary__valueForKey                     ; +0x6c, 0x10010e7a0\nBL              cocos2d__CCString__getCString                          ; +0x70, 0x10010e7a4\nMOV             X20, X0                                                ; +0x74, 0x10010e7a8\nLDRSB           W8, [SP,#0x40+var_21]                                  ; +0x78, 0x10010e7ac\nTBZ             W8, #0x1F, loc_10010E7BC                               ; +0x7c, 0x10010e7b0\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x80, 0x10010e7b4\nBL              __ZdlPv; operator delete(void *)                       ; +0x84, 0x10010e7b8\nADRL            X1, aAchieveddescri; \"achievedDescription\"             ; +0x88, 0x10010e7bc\nADD             X0, SP, #0x40+__p; int                                 ; +0x90, 0x10010e7c4\nBL              sub_100009900                                          ; +0x94, 0x10010e7c8\nADD             X1, SP, #0x40+__p                                      ; +0x98, 0x10010e7cc\nMOV             X0, X19                                                ; +0x9c, 0x10010e7d0\nBL              cocos2d__CCDictionary__valueForKey                     ; +0xa0, 0x10010e7d4\nBL              cocos2d__CCString__getCString                          ; +0xa4, 0x10010e7d8\nMOV             X21, X0                                                ; +0xa8, 0x10010e7dc\nLDRSB           W8, [SP,#0x40+var_21]                                  ; +0xac, 0x10010e7e0\nTBZ             W8, #0x1F, loc_10010E7F0                               ; +0xb0, 0x10010e7e4\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0xb4, 0x10010e7e8\nBL              __ZdlPv; operator delete(void *)                       ; +0xb8, 0x10010e7ec\nADRL            X1, aIcon; \"icon\"                                      ; +0xbc, 0x10010e7f0\nADD             X0, SP, #0x40+__p; int                                 ; +0xc4, 0x10010e7f8\nBL              sub_100009900                                          ; +0xc8, 0x10010e7fc\nADD             X1, SP, #0x40+__p                                      ; +0xcc, 0x10010e800\nMOV             X0, X19                                                ; +0xd0, 0x10010e804\nBL              cocos2d__CCDictionary__valueForKey                     ; +0xd4, 0x10010e808\nBL              cocos2d__CCString__getCString                          ; +0xd8, 0x10010e80c\nMOV             X19, X0                                                ; +0xdc, 0x10010e810\nLDRSB           W8, [SP,#0x40+var_21]                                  ; +0xe0, 0x10010e814\nTBZ             W8, #0x1F, loc_10010E824                               ; +0xe4, 0x10010e818\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0xe8, 0x10010e81c\nBL              __ZdlPv; operator delete(void *)                       ; +0xec, 0x10010e820\nBL              AchievementNotifier__sharedState                       ; +0xf0, 0x10010e824\nMOV             X1, X20                                                ; +0xf4, 0x10010e828\nMOV             X2, X21                                                ; +0xf8, 0x10010e82c\nMOV             X3, X19                                                ; +0xfc, 0x10010e830\nMOV             W4, #0                                                 ; +0x100, 0x10010e834\nBL              AchievementNotifier__notifyAchievement                 ; +0x104, 0x10010e838\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x108, 0x10010e83c\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x10c, 0x10010e840\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x110, 0x10010e844\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x114, 0x10010e848\nRET                                                                    ; +0x118, 0x10010e84c", "xrefs": ["AchievementManager::reportAchievementWithID @ 0x10010e9e0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}