{"type": "func", "start": 7236644, "end": 7236756, "name": "AppDelegate::applicationDidEnterBackground", "pseudocode": "// \n// AppDelegate::applicationDidEnterBackground from 0x6e6c24 to 0x6e6c94 (112 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x8dcb8\n// > <???> @ 0x14251f8\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::applicationDidEnterBackground(AppDelegate *this)\n{\n  cocos2d::CCDirector *v2; // x0\n  __int64 v3; // x0\n  cocos2d::CCDirector *v4; // x0\n  cocos2d::CCDirector *v5; // x0\n  __int64 result; // x0\n  GameManager *v7; // x0\n  GameManager *v8; // x0\n\n  AppDelegate::pauseGame(this);\n  AppDelegate::pauseSound(this);\n  v2 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(AppDelegate *, _QWORD))(*(_QWORD *)this + 64LL))(this, 0);\n  v3 = cocos2d::CCDirector::sharedDirector(v2);\n  v4 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 104LL))(v3);\n  v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);\n  cocos2d::CCDirector::pause(v5);\n  result = *((unsigned __int8 *)this + 32);\n  if ( *((_BYTE *)this + 32) )\n  {\n    v7 = (GameManager *)PlatformToolbox::onNativePause((PlatformToolbox *)result);\n    v8 = (GameManager *)GameManager::sharedState(v7);\n    return GameManager::applicationDidEnterBackground(v8);\n  }\n  return result;\n}", "assembly": "; \n; AppDelegate::applicationDidEnterBackground from 0x6e6c24 to 0x6e6c94 (112 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x8dcb8\n; > <???> @ 0x14251f8\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,#var_20]!                                ; +0x0, 0x6e6c24\nMOV             X29, SP                                                ; +0x4, 0x6e6c28\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x6e6c2c\nMOV             X19, X0                                                ; +0xc, 0x6e6c30\nBL              _ZN11AppDelegate9pauseGameEv; AppDelegate::pauseGame(void) ; +0x10, 0x6e6c34\nMOV             X0, X19; this                                          ; +0x14, 0x6e6c38\nBL              _ZN11AppDelegate10pauseSoundEv; AppDelegate::pauseSound(void) ; +0x18, 0x6e6c3c\nLDR             X2, [X19]                                              ; +0x1c, 0x6e6c40\nMOV             W1, #0                                                 ; +0x20, 0x6e6c44\nMOV             X0, X19                                                ; +0x24, 0x6e6c48\nLDR             X2, [X2,#0x40]                                         ; +0x28, 0x6e6c4c\nBLR             X2                                                     ; +0x2c, 0x6e6c50\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x30, 0x6e6c54\nLDR             X1, [X0]                                               ; +0x34, 0x6e6c58\nLDR             X1, [X1,#0x68]                                         ; +0x38, 0x6e6c5c\nBLR             X1                                                     ; +0x3c, 0x6e6c60\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x40, 0x6e6c64\nBL              _ZN7cocos2d10CCDirector5pauseEv; cocos2d::CCDirector::pause(void) ; +0x44, 0x6e6c68\nLDRB            W0, [X19,#0x20]; this                                  ; +0x48, 0x6e6c6c\nCBNZ            W0, loc_6E6C80                                         ; +0x4c, 0x6e6c70\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0x6e6c74\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0x6e6c78\nRET                                                                    ; +0x58, 0x6e6c7c\nBL              _ZN15PlatformToolbox13onNativePauseEv; PlatformToolbox::onNativePause(void) ; +0x5c, 0x6e6c80\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x60, 0x6e6c84\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x64, 0x6e6c88\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x68, 0x6e6c8c\nB               _ZN11GameManager29applicationDidEnterBackgroundEv; GameManager::applicationDidEnterBackground(void) ; +0x6c, 0x6e6c90", "xrefs": ["<???> @ 0x8dcb8", "<???> @ 0x14251f8"], "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"}