{"type": "func", "start": 4295564824, "end": 4295565100, "name": "GameLevelManager::onGetLevelRateInfoCompleted", "pseudocode": "// \n// GameLevelManager::onGetLevelRateInfoCompleted from 0x100091e18 to 0x100091f2c (276 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::handleIt @ 0x100089ac8\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\nvoid __fastcall GameLevelManager::onGetLevelRateInfoCompleted(GameLevelManager *a1, __int64 a2, const char *a3)\n{\n  const char *v3; // x20\n  const char *v6; // x1\n  GameLevelManager *v7; // x0\n  __int64 SplitIntFromKey; // x20\n  _BOOL4 v9; // w22\n  LevelRateInfoDelegate *m_levelRateInfoDelegate; // x21\n  void *v11[2]; // [xsp+0h] [xbp-50h] BYREF\n  __int64 v12; // [xsp+10h] [xbp-40h]\n  void *__p[2]; // [xsp+18h] [xbp-38h] BYREF\n  char v14; // [xsp+2Fh] [xbp-21h]\n\n  v3 = a3;\n  v6 = a3;\n  if ( a3[23] < 0 )\n    v6 = *(const char **)a3;\n  GameLevelManager::removeDLFromActive(a1, v6);\n  if ( v3[23] < 0 )\n    v3 = *(const char **)v3;\n  SplitIntFromKey = GameLevelManager::getSplitIntFromKey(v7, v3, 1);\n  sub_100009900(__p, \"-1\");\n  v9 = sub_1000045BC((_QWORD *)a2, __p);\n  if ( v14 < 0 )\n    operator delete(__p[0]);\n  m_levelRateInfoDelegate = a1->m_levelRateInfoDelegate;\n  if ( v9 )\n  {\n    if ( m_levelRateInfoDelegate )\n      ((void (__fastcall *)(LevelRateInfoDelegate *, __int64, _QWORD))m_levelRateInfoDelegate->rateInfoFailed)(\n        m_levelRateInfoDelegate,\n        SplitIntFromKey,\n        0);\n  }\n  else if ( m_levelRateInfoDelegate )\n  {\n    if ( *(char *)(a2 + 23) < 0 )\n    {\n      sub_1000097D0(v11, *(void **)a2, *(_QWORD *)(a2 + 8));\n    }\n    else\n    {\n      *(_OWORD *)v11 = *(_OWORD *)a2;\n      v12 = *(_QWORD *)(a2 + 16);\n    }\n    ((void (__fastcall *)(LevelRateInfoDelegate *, __int64, void **))m_levelRateInfoDelegate->rateInfoFinished)(\n      m_levelRateInfoDelegate,\n      SplitIntFromKey,\n      v11);\n    if ( SHIBYTE(v12) < 0 )\n      operator delete(v11[0]);\n  }\n}", "assembly": "; \n; GameLevelManager::onGetLevelRateInfoCompleted from 0x100091e18 to 0x100091f2c (276 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::handleIt @ 0x100089ac8\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, #0x60                                          ; +0x0, 0x100091e18\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0x4, 0x100091e1c\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x8, 0x100091e20\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0xc, 0x100091e24\nADD             X29, SP, #0x50                                         ; +0x10, 0x100091e28\nMOV             X20, X2                                                ; +0x14, 0x100091e2c\nMOV             X19, X1                                                ; +0x18, 0x100091e30\nMOV             X21, X0                                                ; +0x1c, 0x100091e34\nLDRSB           W8, [X2,#0x17]                                         ; +0x20, 0x100091e38\nMOV             X1, X2                                                 ; +0x24, 0x100091e3c\nTBZ             W8, #0x1F, loc_100091E48                               ; +0x28, 0x100091e40\nLDR             X1, [X20]                                              ; +0x2c, 0x100091e44\nMOV             X0, X21                                                ; +0x30, 0x100091e48\nBL              GameLevelManager__removeDLFromActive                   ; +0x34, 0x100091e4c\nLDRSB           W8, [X20,#0x17]                                        ; +0x38, 0x100091e50\nTBZ             W8, #0x1F, loc_100091E5C                               ; +0x3c, 0x100091e54\nLDR             X20, [X20]                                             ; +0x40, 0x100091e58\nMOV             X1, X20                                                ; +0x44, 0x100091e5c\nMOV             W2, #1                                                 ; +0x48, 0x100091e60\nBL              GameLevelManager__getSplitIntFromKey                   ; +0x4c, 0x100091e64\nMOV             X20, X0                                                ; +0x50, 0x100091e68\nADRL            X1, a1_0; \"-1\"                                         ; +0x54, 0x100091e6c\nADD             X0, SP, #0x50+__p; int                                 ; +0x5c, 0x100091e74\nBL              sub_100009900                                          ; +0x60, 0x100091e78\nADD             X1, SP, #0x50+__p                                      ; +0x64, 0x100091e7c\nMOV             X0, X19                                                ; +0x68, 0x100091e80\nBL              sub_1000045BC                                          ; +0x6c, 0x100091e84\nMOV             X22, X0                                                ; +0x70, 0x100091e88\nLDRSB           W8, [SP,#0x50+var_21]                                  ; +0x74, 0x100091e8c\nTBZ             W8, #0x1F, loc_100091E9C                               ; +0x78, 0x100091e90\nLDR             X0, [SP,#0x50+__p]; __p                                ; +0x7c, 0x100091e94\nBL              __ZdlPv; operator delete(void *)                       ; +0x80, 0x100091e98\nLDR             X21, [X21,#0x380]                                      ; +0x84, 0x100091e9c\nCBZ             W22, loc_100091EC4                                     ; +0x88, 0x100091ea0\nCBZ             X21, loc_100091F18                                     ; +0x8c, 0x100091ea4\nLDR             X8, [X21]                                              ; +0x90, 0x100091ea8\nLDR             X8, [X8,#8]                                            ; +0x94, 0x100091eac\nMOV             X0, X21                                                ; +0x98, 0x100091eb0\nMOV             X1, X20                                                ; +0x9c, 0x100091eb4\nMOV             W2, #0                                                 ; +0xa0, 0x100091eb8\nBLR             X8                                                     ; +0xa4, 0x100091ebc\nB               loc_100091F18                                          ; +0xa8, 0x100091ec0\nCBZ             X21, loc_100091F18                                     ; +0xac, 0x100091ec4\nLDRSB           W8, [X19,#0x17]                                        ; +0xb0, 0x100091ec8\nTBNZ            W8, #0x1F, loc_100091EE4                               ; +0xb4, 0x100091ecc\nLDR             Q0, [X19]                                              ; +0xb8, 0x100091ed0\nSTR             Q0, [SP,#0x50+var_50]                                  ; +0xbc, 0x100091ed4\nLDR             X8, [X19,#0x10]                                        ; +0xc0, 0x100091ed8\nSTR             X8, [SP,#0x50+var_40]                                  ; +0xc4, 0x100091edc\nB               loc_100091EF0                                          ; +0xc8, 0x100091ee0\nLDP             X1, X2, [X19]; __src                                   ; +0xcc, 0x100091ee4\nMOV             X0, SP; __dst                                          ; +0xd0, 0x100091ee8\nBL              sub_1000097D0                                          ; +0xd4, 0x100091eec\nLDR             X8, [X21]                                              ; +0xd8, 0x100091ef0\nLDR             X8, [X8]                                               ; +0xdc, 0x100091ef4\nMOV             X2, SP                                                 ; +0xe0, 0x100091ef8\nMOV             X0, X21                                                ; +0xe4, 0x100091efc\nMOV             X1, X20                                                ; +0xe8, 0x100091f00\nBLR             X8                                                     ; +0xec, 0x100091f04\nLDRSB           W8, [SP,#0x50+var_40+7]                                ; +0xf0, 0x100091f08\nTBZ             W8, #0x1F, loc_100091F18                               ; +0xf4, 0x100091f0c\nLDR             X0, [SP,#0x50+var_50]; __p                             ; +0xf8, 0x100091f10\nBL              __ZdlPv; operator delete(void *)                       ; +0xfc, 0x100091f14\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x100, 0x100091f18\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x104, 0x100091f1c\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0x108, 0x100091f20\nADD             SP, SP, #0x60 ; '`'                                    ; +0x10c, 0x100091f24\nRET                                                                    ; +0x110, 0x100091f28", "xrefs": ["GameLevelManager::handleIt @ 0x100089ac8"], "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"}