{"type": "func", "start": 4295651564, "end": 4295651680, "name": "GameLevelManager::getStoredLevelComments", "pseudocode": "// \n// GameLevelManager::getStoredLevelComments from 0x1000a70ec to 0x1000a7160 (116 bytes)\n// \n// 2 xrefs:\n// > InfoLayer::init @ 0x100351040\n// > InfoLayer::loadPage @ 0x100352044\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::CCArray *__fastcall GameLevelManager::getStoredLevelComments(GameLevelManager *a1, const char *a2)\n{\n  cocos2d::CCDictionary *m_storedLevels; // x20\n  cocos2d::CCArray *v5; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v8; // [xsp+1Fh] [xbp-11h]\n\n  if ( !GameLevelManager::isTimeValid(a1, a2, 600.0) )\n    return nullptr;\n  m_storedLevels = a1->m_storedLevels;\n  sub_100009900(__p, (char *)a2);\n  v5 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey_1(m_storedLevels, __p);\n  if ( v8 < 0 )\n    operator delete(__p[0]);\n  return v5;\n}", "assembly": "; \n; GameLevelManager::getStoredLevelComments from 0x1000a70ec to 0x1000a7160 (116 bytes)\n; \n; 2 xrefs:\n; > InfoLayer::init @ 0x100351040\n; > InfoLayer::loadPage @ 0x100352044\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, 0x1000a70ec\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000a70f0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000a70f4\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000a70f8\nMOV             X19, X1                                                ; +0x10, 0x1000a70fc\nMOV             X20, X0                                                ; +0x14, 0x1000a7100\nMOV             W8, #0x44160000                                        ; +0x18, 0x1000a7104\nFMOV            S0, W8                                                 ; +0x1c, 0x1000a7108\nBL              GameLevelManager__isTimeValid                          ; +0x20, 0x1000a710c\nCBZ             W0, loc_1000A7148                                      ; +0x24, 0x1000a7110\nLDR             X20, [X20,#0x230]                                      ; +0x28, 0x1000a7114\nADD             X0, SP, #0x30+__p; int                                 ; +0x2c, 0x1000a7118\nMOV             X1, X19; __s                                           ; +0x30, 0x1000a711c\nBL              sub_100009900                                          ; +0x34, 0x1000a7120\nADD             X1, SP, #0x30+__p                                      ; +0x38, 0x1000a7124\nMOV             X0, X20                                                ; +0x3c, 0x1000a7128\nBL              cocos2d__CCDictionary__objectForKey_1                  ; +0x40, 0x1000a712c\nMOV             X19, X0                                                ; +0x44, 0x1000a7130\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x48, 0x1000a7134\nTBZ             W8, #0x1F, loc_1000A714C                               ; +0x4c, 0x1000a7138\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x50, 0x1000a713c\nBL              __ZdlPv; operator delete(void *)                       ; +0x54, 0x1000a7140\nB               loc_1000A714C                                          ; +0x58, 0x1000a7144\nMOV             X19, #0                                                ; +0x5c, 0x1000a7148\nMOV             X0, X19                                                ; +0x60, 0x1000a714c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x64, 0x1000a7150\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x68, 0x1000a7154\nADD             SP, SP, #0x40 ; '@'                                    ; +0x6c, 0x1000a7158\nRET                                                                    ; +0x70, 0x1000a715c", "xrefs": ["InfoLayer::init @ 0x100351040", "InfoLayer::loadPage @ 0x100352044"], "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"}