{"type": "func", "start": 4297495580, "end": 4297495684, "name": "AppDelegate::pauseGame", "pseudocode": "// \n// AppDelegate::pauseGame from 0x10026941c to 0x100269484 (104 bytes)\n// \n// 1 xrefs:\n// > AppDelegate::applicationWillResignActive @ 0x100269418\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 AppDelegate::pauseGame(AppDelegate *a1)\n{\n  cocos2d::CCScene *m_pRunningScene; // x8\n  GameManager *v2; // x0\n\n  m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;\n  if ( m_pRunningScene\n    && m_pRunningScene->m_eObjType == PlayLayerObjectType\n    && GameManager::sharedState()->m_playLayer\n    && !GameManager::sharedState()->m_playLayer->m_hasCompletedLevel\n    && (cocos2d::CCApplication::sharedApplication()->m_resourceRootPath.m_data.m_short.shortStorage.__elems_[8] & 1) == 0 )\n  {\n    v2 = GameManager::sharedState();\n    PlayLayer::pauseGame(v2->m_playLayer, 1);\n  }\n}", "assembly": "; \n; AppDelegate::pauseGame from 0x10026941c to 0x100269484 (104 bytes)\n; \n; 1 xrefs:\n; > AppDelegate::applicationWillResignActive @ 0x100269418\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             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x10026941c\nMOV             X29, SP                                                ; +0x4, 0x100269420\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x8, 0x100269424\nLDR             X8, [X0,#0x108]                                        ; +0xc, 0x100269428\nCBZ             X8, loc_100269468                                      ; +0x10, 0x10026942c\nLDR             W8, [X8,#0x1C]                                         ; +0x14, 0x100269430\nCMP             W8, #5                                                 ; +0x18, 0x100269434\nB.NE            loc_100269468                                          ; +0x1c, 0x100269438\nBL              GameManager__sharedState                               ; +0x20, 0x10026943c\nLDR             X8, [X0,#0x1F8]                                        ; +0x24, 0x100269440\nCBZ             X8, loc_100269468                                      ; +0x28, 0x100269444\nBL              GameManager__sharedState                               ; +0x2c, 0x100269448\nLDR             X8, [X0,#0x1F8]                                        ; +0x30, 0x10026944c\nMOV             W9, #0x3765                                            ; +0x34, 0x100269450\nLDRB            W8, [X8,X9]                                            ; +0x38, 0x100269454\nTBNZ            W8, #0, loc_100269468                                  ; +0x3c, 0x100269458\nBL              cocos2d__CCApplication__sharedApplication              ; +0x40, 0x10026945c\nLDRB            W8, [X0,#0x11]                                         ; +0x44, 0x100269460\nTBZ             W8, #0, loc_100269470                                  ; +0x48, 0x100269464\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x4c, 0x100269468\nRET                                                                    ; +0x50, 0x10026946c\nBL              GameManager__sharedState                               ; +0x54, 0x100269470\nLDR             X0, [X0,#0x1F8]                                        ; +0x58, 0x100269474\nMOV             W1, #1                                                 ; +0x5c, 0x100269478\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x60, 0x10026947c\nB               PlayLayer__pauseGame                                   ; +0x64, 0x100269480", "xrefs": ["AppDelegate::applicationWillResignActive @ 0x100269418"], "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"}