{"type": "func", "start": 7236512, "end": 7236616, "name": "AppDelegate::pauseGame", "pseudocode": "// \n// AppDelegate::pauseGame from 0x6e6ba0 to 0x6e6c08 (104 bytes)\n// \n// 3 xrefs:\n// > AppDelegate::applicationWillResignActive @ 0x6e6c08\n// > AppDelegate::applicationDidEnterBackground @ 0x6e6c34\n// > <???> @ 0x84e50\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 12:51:43 +0000\n// \n\n__int64 __fastcall AppDelegate::pauseGame(AppDelegate *this)\n{\n  __int64 result; // x0\n  __int64 v2; // x0\n\n  result = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(this) + 272);\n  if ( result )\n  {\n    result = *(unsigned int *)(result + 28);\n    if ( (_DWORD)result == 5 )\n    {\n      result = *(_QWORD *)(GameManager::sharedState((GameManager *)result) + 544);\n      if ( result )\n      {\n        result = *(unsigned __int8 *)(*(_QWORD *)(GameManager::sharedState((GameManager *)result) + 544) + 14637LL);\n        if ( !(_DWORD)result )\n        {\n          result = *(unsigned __int8 *)(AppDelegate::get((AppDelegate *)result) + 17);\n          if ( !(_DWORD)result )\n          {\n            v2 = GameManager::sharedState((GameManager *)result);\n            return PlayLayer::pauseGame(*(PlayLayer **)(v2 + 544), 1);\n          }\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; AppDelegate::pauseGame from 0x6e6ba0 to 0x6e6c08 (104 bytes)\n; \n; 3 xrefs:\n; > AppDelegate::applicationWillResignActive @ 0x6e6c08\n; > AppDelegate::applicationDidEnterBackground @ 0x6e6c34\n; > <???> @ 0x84e50\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 12:51:43 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x6e6ba0\nMOV             X29, SP                                                ; +0x4, 0x6e6ba4\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x8, 0x6e6ba8\nLDR             X0, [X0,#0x110]                                        ; +0xc, 0x6e6bac\nCBZ             X0, loc_6E6BC0                                         ; +0x10, 0x6e6bb0\nLDR             W0, [X0,#0x1C]; this                                   ; +0x14, 0x6e6bb4\nCMP             W0, #5                                                 ; +0x18, 0x6e6bb8\nB.EQ            loc_6E6BC8                                             ; +0x1c, 0x6e6bbc\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x20, 0x6e6bc0\nRET                                                                    ; +0x24, 0x6e6bc4\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x28, 0x6e6bc8\nLDR             X0, [X0,#0x220]; this                                  ; +0x2c, 0x6e6bcc\nCBZ             X0, loc_6E6BC0                                         ; +0x30, 0x6e6bd0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x34, 0x6e6bd4\nLDR             X0, [X0,#0x220]                                        ; +0x38, 0x6e6bd8\nADD             X0, X0, #3,LSL#12                                      ; +0x3c, 0x6e6bdc\nLDRB            W0, [X0,#0x92D]; this                                  ; +0x40, 0x6e6be0\nCBNZ            W0, loc_6E6BC0                                         ; +0x44, 0x6e6be4\nBL              _ZN11AppDelegate3getEv; AppDelegate::get(void)         ; +0x48, 0x6e6be8\nLDRB            W0, [X0,#0x11]; this                                   ; +0x4c, 0x6e6bec\nCBNZ            W0, loc_6E6BC0                                         ; +0x50, 0x6e6bf0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x54, 0x6e6bf4\nLDR             X0, [X0,#0x220]; this                                  ; +0x58, 0x6e6bf8\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x5c, 0x6e6bfc\nMOV             W1, #1; bool                                           ; +0x60, 0x6e6c00\nB               _ZN9PlayLayer9pauseGameEb; PlayLayer::pauseGame(bool)  ; +0x64, 0x6e6c04", "xrefs": ["AppDelegate::applicationWillResignActive @ 0x6e6c08", "AppDelegate::applicationDidEnterBackground @ 0x6e6c34", "<???> @ 0x84e50"], "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"}