{"type": "func", "start": 4295810404, "end": 4295810488, "name": "GameLevelManager::getIntForKey", "pseudocode": "// \n// GameLevelManager::getIntForKey from 0x1000cdd64 to 0x1000cddb8 (84 bytes)\n// \n// 10 xrefs:\n// > LevelSearchLayer::init @ 0x10005b6e0\n// > LevelSearchLayer::getSearchObject @ 0x10005d50c\n// > LevelSearchLayer::getSearchObject @ 0x10005d520\n// > LevelSearchLayer::getSearchObject @ 0x10005d5e8\n// > MoreSearchLayer::init @ 0x10005eaf0\n// > MoreSearchLayer::audioPrevious @ 0x10005f558\n// > MoreSearchLayer::audioNext @ 0x10005f59c\n// > MoreSearchLayer::updateAudioLabel @ 0x10005f7c4\n// > MoreSearchLayer::updateAudioLabel @ 0x10005f7dc\n// > DemonFilterSelectLayer::init @ 0x10005fb20\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:58:52 +0000\n// \n\n__int64 __fastcall GameLevelManager::getIntForKey(__int64 a1, char *a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x0\n  __int64 v4; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v7; // [xsp+1Fh] [xbp-11h]\n\n  v2 = *(_QWORD *)(a1 + 752);\n  sub_100009900(__p, a2);\n  v3 = cocos2d::CCDictionary::valueForKey(v2, __p);\n  v4 = cocos2d::CCString::intValue(v3);\n  if ( v7 < 0 )\n    operator delete(__p[0]);\n  return v4;\n}", "assembly": "; \n; GameLevelManager::getIntForKey from 0x1000cdd64 to 0x1000cddb8 (84 bytes)\n; \n; 10 xrefs:\n; > LevelSearchLayer::init @ 0x10005b6e0\n; > LevelSearchLayer::getSearchObject @ 0x10005d50c\n; > LevelSearchLayer::getSearchObject @ 0x10005d520\n; > LevelSearchLayer::getSearchObject @ 0x10005d5e8\n; > MoreSearchLayer::init @ 0x10005eaf0\n; > MoreSearchLayer::audioPrevious @ 0x10005f558\n; > MoreSearchLayer::audioNext @ 0x10005f59c\n; > MoreSearchLayer::updateAudioLabel @ 0x10005f7c4\n; > MoreSearchLayer::updateAudioLabel @ 0x10005f7dc\n; > DemonFilterSelectLayer::init @ 0x10005fb20\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:58:52 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1000cdd64\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000cdd68\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000cdd6c\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000cdd70\nLDR             X19, [X0,#0x2F0]                                       ; +0x10, 0x1000cdd74\nADD             X0, SP, #0x30+__p; int                                 ; +0x14, 0x1000cdd78\nBL              sub_100009900                                          ; +0x18, 0x1000cdd7c\nADD             X1, SP, #0x30+__p                                      ; +0x1c, 0x1000cdd80\nMOV             X0, X19                                                ; +0x20, 0x1000cdd84\nBL              cocos2d__CCDictionary__valueForKey                     ; +0x24, 0x1000cdd88\nBL              cocos2d__CCString__intValue                            ; +0x28, 0x1000cdd8c\nMOV             X19, X0                                                ; +0x2c, 0x1000cdd90\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x30, 0x1000cdd94\nTBZ             W8, #0x1F, loc_1000CDDA4                               ; +0x34, 0x1000cdd98\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x38, 0x1000cdd9c\nBL              __ZdlPv; operator delete(void *)                       ; +0x3c, 0x1000cdda0\nMOV             X0, X19                                                ; +0x40, 0x1000cdda4\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x44, 0x1000cdda8\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x48, 0x1000cddac\nADD             SP, SP, #0x40 ; '@'                                    ; +0x4c, 0x1000cddb0\nRET                                                                    ; +0x50, 0x1000cddb4", "xrefs": ["LevelSearchLayer::init @ 0x10005b6e0", "LevelSearchLayer::getSearchObject @ 0x10005d50c", "LevelSearchLayer::getSearchObject @ 0x10005d520", "LevelSearchLayer::getSearchObject @ 0x10005d5e8", "MoreSearchLayer::init @ 0x10005eaf0", "MoreSearchLayer::audioPrevious @ 0x10005f558", "MoreSearchLayer::audioNext @ 0x10005f59c", "MoreSearchLayer::updateAudioLabel @ 0x10005f7c4", "MoreSearchLayer::updateAudioLabel @ 0x10005f7dc", "DemonFilterSelectLayer::init @ 0x10005fb20"], "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"}