{"type": "func", "start": 4298453480, "end": 4298453844, "name": "InfoLayer::reloadWindow", "pseudocode": "// \n// InfoLayer::reloadWindow from 0x1003531e8 to 0x100353354 (364 bytes)\n// \n// 2 xrefs:\n// > InfoLayer::toggleExtendedMode @ 0x100351df8\n// > InfoLayer::toggleSmallCommentMode @ 0x100351e74\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 InfoLayer::reloadWindow(InfoLayer *a1)\n{\n  GJGameLevel *m_level; // x19\n  GJUserScore *m_score; // x20\n  GJLevelList *m_levelList; // x21\n  __int64 v5; // x23\n  __int64 v6; // x24\n  cocos2d::CCObject *v7; // x1\n  GameManager *v8; // x0\n  bool GameVariable; // w25\n  GameManager *v10; // x0\n  cocos2d::CCDirector *v11; // x0\n  cocos2d::CCTouchDispatcher *v12; // x0\n  cocos2d::CCDirector *v13; // x0\n  cocos2d::CCTouchDispatcher *v14; // x0\n  InfoLayer *v15; // x22\n  GameManager *v16; // x0\n\n  m_level = a1->m_level;\n  if ( m_level )\n    cocos2d::CCObject::retain(a1->m_level);\n  m_score = a1->m_score;\n  if ( m_score )\n    cocos2d::CCObject::retain(a1->m_score);\n  m_levelList = a1->m_levelList;\n  if ( m_levelList )\n    cocos2d::CCObject::retain(a1->m_levelList);\n  v5 = ((__int64 (__fastcall *)(InfoLayer *))a1->getParent)(a1);\n  v6 = ((__int64 (__fastcall *)(InfoLayer *))a1->getZOrder)(a1);\n  InfoLayer::onClose(a1, v7);\n  v8 = GameManager::sharedState();\n  GameVariable = GameManager::getGameVariable(v8, \"0090\");\n  v10 = GameManager::sharedState();\n  GameManager::setGameVariable(v10, \"0090\", 1);\n  if ( a1->m_list )\n  {\n    v11 = cocos2d::CCDirector::sharedDirector();\n    v12 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v11->getTouchDispatcher)(v11);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v12, a1->m_list);\n  }\n  v13 = cocos2d::CCDirector::sharedDirector();\n  v14 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v13->getTouchDispatcher)(v13);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v14, a1);\n  v15 = InfoLayer::create(m_level, m_score, m_levelList);\n  v16 = GameManager::sharedState();\n  GameManager::setGameVariable(v16, \"0090\", GameVariable);\n  (*(void (__fastcall **)(__int64, InfoLayer *, __int64))(*(_QWORD *)v5 + 448LL))(v5, v15, v6);\n  if ( m_level )\n    cocos2d::CCObject::release(m_level);\n  if ( m_score )\n    cocos2d::CCObject::release(m_score);\n  if ( m_levelList )\n    cocos2d::CCObject::release(m_levelList);\n}", "assembly": "; \n; InfoLayer::reloadWindow from 0x1003531e8 to 0x100353354 (364 bytes)\n; \n; 2 xrefs:\n; > InfoLayer::toggleExtendedMode @ 0x100351df8\n; > InfoLayer::toggleSmallCommentMode @ 0x100351e74\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\nSTP             X26, X25, [SP,#-0x10+var_40]!                          ; +0x0, 0x1003531e8\nSTP             X24, X23, [SP,#0x40+var_30]                            ; +0x4, 0x1003531ec\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x8, 0x1003531f0\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0xc, 0x1003531f4\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x10, 0x1003531f8\nADD             X29, SP, #0x40                                         ; +0x14, 0x1003531fc\nMOV             X22, X0                                                ; +0x18, 0x100353200\nLDR             X19, [X0,#0x290]                                       ; +0x1c, 0x100353204\nCBZ             X19, loc_100353214                                     ; +0x20, 0x100353208\nMOV             X0, X19                                                ; +0x24, 0x10035320c\nBL              cocos2d__CCObject__retain                              ; +0x28, 0x100353210\nLDR             X20, [X22,#0x298]                                      ; +0x2c, 0x100353214\nCBZ             X20, loc_100353224                                     ; +0x30, 0x100353218\nMOV             X0, X20                                                ; +0x34, 0x10035321c\nBL              cocos2d__CCObject__retain                              ; +0x38, 0x100353220\nLDR             X21, [X22,#0x2A0]                                      ; +0x3c, 0x100353224\nCBZ             X21, loc_100353234                                     ; +0x40, 0x100353228\nMOV             X0, X21                                                ; +0x44, 0x10035322c\nBL              cocos2d__CCObject__retain                              ; +0x48, 0x100353230\nLDR             X8, [X22]                                              ; +0x4c, 0x100353234\nLDR             X8, [X8,#0x1F0]                                        ; +0x50, 0x100353238\nMOV             X0, X22                                                ; +0x54, 0x10035323c\nBLR             X8                                                     ; +0x58, 0x100353240\nMOV             X23, X0                                                ; +0x5c, 0x100353244\nLDR             X8, [X22]                                              ; +0x60, 0x100353248\nLDR             X8, [X8,#0x68]                                         ; +0x64, 0x10035324c\nMOV             X0, X22                                                ; +0x68, 0x100353250\nBLR             X8                                                     ; +0x6c, 0x100353254\nMOV             X24, X0                                                ; +0x70, 0x100353258\nMOV             X0, X22                                                ; +0x74, 0x10035325c\nBL              InfoLayer__onClose                                     ; +0x78, 0x100353260\nBL              GameManager__sharedState                               ; +0x7c, 0x100353264\nADRL            X26, a0090; \"0090\"                                     ; +0x80, 0x100353268\nMOV             X1, X26                                                ; +0x88, 0x100353270\nBL              GameManager__getGameVariable                           ; +0x8c, 0x100353274\nMOV             X25, X0                                                ; +0x90, 0x100353278\nBL              GameManager__sharedState                               ; +0x94, 0x10035327c\nMOV             X1, X26                                                ; +0x98, 0x100353280\nMOV             W2, #1                                                 ; +0x9c, 0x100353284\nBL              GameManager__setGameVariable                           ; +0xa0, 0x100353288\nLDR             X8, [X22,#0x2D8]                                       ; +0xa4, 0x10035328c\nCBZ             X8, loc_1003532AC                                      ; +0xa8, 0x100353290\nBL              cocos2d__CCDirector__sharedDirector                    ; +0xac, 0x100353294\nLDR             X8, [X0]                                               ; +0xb0, 0x100353298\nLDR             X8, [X8,#0xA0]                                         ; +0xb4, 0x10035329c\nBLR             X8                                                     ; +0xb8, 0x1003532a0\nLDR             X1, [X22,#0x2D8]                                       ; +0xbc, 0x1003532a4\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0xc0, 0x1003532a8\nBL              cocos2d__CCDirector__sharedDirector                    ; +0xc4, 0x1003532ac\nLDR             X8, [X0]                                               ; +0xc8, 0x1003532b0\nLDR             X8, [X8,#0xA0]                                         ; +0xcc, 0x1003532b4\nBLR             X8                                                     ; +0xd0, 0x1003532b8\nMOV             X1, X22                                                ; +0xd4, 0x1003532bc\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0xd8, 0x1003532c0\nMOV             X0, X19                                                ; +0xdc, 0x1003532c4\nMOV             X1, X20                                                ; +0xe0, 0x1003532c8\nMOV             X2, X21                                                ; +0xe4, 0x1003532cc\nBL              InfoLayer__create                                      ; +0xe8, 0x1003532d0\nMOV             X22, X0                                                ; +0xec, 0x1003532d4\nBL              GameManager__sharedState                               ; +0xf0, 0x1003532d8\nADRL            X1, a0090; \"0090\"                                      ; +0xf4, 0x1003532dc\nMOV             X2, X25                                                ; +0xfc, 0x1003532e4\nBL              GameManager__setGameVariable                           ; +0x100, 0x1003532e8\nLDR             X8, [X23]                                              ; +0x104, 0x1003532ec\nLDR             X8, [X8,#0x1C0]                                        ; +0x108, 0x1003532f0\nMOV             X0, X23                                                ; +0x10c, 0x1003532f4\nMOV             X1, X22                                                ; +0x110, 0x1003532f8\nMOV             X2, X24                                                ; +0x114, 0x1003532fc\nBLR             X8                                                     ; +0x118, 0x100353300\nCBZ             X19, loc_100353310                                     ; +0x11c, 0x100353304\nMOV             X0, X19                                                ; +0x120, 0x100353308\nBL              cocos2d__CCObject__release                             ; +0x124, 0x10035330c\nCBZ             X20, loc_10035331C                                     ; +0x128, 0x100353310\nMOV             X0, X20                                                ; +0x12c, 0x100353314\nBL              cocos2d__CCObject__release                             ; +0x130, 0x100353318\nCBZ             X21, loc_10035333C                                     ; +0x134, 0x10035331c\nMOV             X0, X21                                                ; +0x138, 0x100353320\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x13c, 0x100353324\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x140, 0x100353328\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x144, 0x10035332c\nLDP             X24, X23, [SP,#0x40+var_30]                            ; +0x148, 0x100353330\nLDP             X26, X25, [SP+0x40+var_40],#0x50                       ; +0x14c, 0x100353334\nB               cocos2d__CCObject__release                             ; +0x150, 0x100353338\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x154, 0x10035333c\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x158, 0x100353340\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x15c, 0x100353344\nLDP             X24, X23, [SP,#0x40+var_30]                            ; +0x160, 0x100353348\nLDP             X26, X25, [SP+0x40+var_40],#0x50                       ; +0x164, 0x10035334c\nRET                                                                    ; +0x168, 0x100353350", "xrefs": ["InfoLayer::toggleExtendedMode @ 0x100351df8", "InfoLayer::toggleSmallCommentMode @ 0x100351e74"], "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"}