{"type": "func", "start": 4302551360, "end": 4302551459, "name": "AppDelegate::applicationWillResignActive", "pseudocode": "// \n// AppDelegate::applicationWillResignActive from 0x10073b940 to 0x10073b9a3 (99 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b9ada0\n// \n// This function is hookable on this platform (idp: pc, 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:36:27 +0000\n// \n\nvoid AppDelegate::applicationWillResignActive()\n{\n  __int64 v0; // rax\n  __int64 v1; // rax\n\n  v0 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272);\n  if ( v0\n    && *(_DWORD *)(v0 + 28) == 5\n    && *(_QWORD *)(GameManager::sharedState() + 544)\n    && !*(_BYTE *)(*(_QWORD *)(GameManager::sharedState() + 544) + 14637LL)\n    && !*(_BYTE *)(cocos2d::CCApplication::sharedApplication() + 65) )\n  {\n    v1 = GameManager::sharedState();\n    PlayLayer::pauseGame(*(_BYTE **)(v1 + 544), 1);\n  }\n}", "assembly": "; \n; AppDelegate::applicationWillResignActive from 0x10073b940 to 0x10073b9a3 (99 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b9ada0\n; \n; This function is hookable on this platform (idp: pc, 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:36:27 +0000\n; \npush    rbp                                                            ; +0x0, 0x10073b940\nmov     rbp, rsp                                                       ; +0x1, 0x10073b941\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x4, 0x10073b944\nmov     rax, [rax+110h]                                                ; +0x9, 0x10073b949\ntest    rax, rax                                                       ; +0x10, 0x10073b950\njz      short loc_10073B98A                                            ; +0x13, 0x10073b953\ncmp     dword ptr [rax+1Ch], 5                                         ; +0x15, 0x10073b955\njnz     short loc_10073B98A                                            ; +0x19, 0x10073b959\ncall    GameManager__sharedState                                       ; +0x1b, 0x10073b95b\ncmp     qword ptr [rax+220h], 0                                        ; +0x20, 0x10073b960\njz      short loc_10073B98A                                            ; +0x28, 0x10073b968\ncall    GameManager__sharedState                                       ; +0x2a, 0x10073b96a\nmov     rax, [rax+220h]                                                ; +0x2f, 0x10073b96f\ncmp     byte ptr [rax+392Dh], 0                                        ; +0x36, 0x10073b976\njnz     short loc_10073B98A                                            ; +0x3d, 0x10073b97d\ncall    cocos2d__CCApplication__sharedApplication                      ; +0x3f, 0x10073b97f\ncmp     byte ptr [rax+41h], 0                                          ; +0x44, 0x10073b984\njz      short loc_10073B98C                                            ; +0x48, 0x10073b988\npop     rbp                                                            ; +0x4a, 0x10073b98a\nretn                                                                   ; +0x4b, 0x10073b98b\ncall    GameManager__sharedState                                       ; +0x4c, 0x10073b98c\nmov     rdi, [rax+220h]                                                ; +0x51, 0x10073b991\nmov     esi, 1                                                         ; +0x58, 0x10073b998\npop     rbp                                                            ; +0x5d, 0x10073b99d\njmp     PlayLayer__pauseGame                                           ; +0x5e, 0x10073b99e", "xrefs": ["<???> @ 0x100b9ada0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}