; ; AppDelegate::pauseGame from 0x1400989f0 to 0x140098ad0 (224 bytes) ; ; 3 xrefs: ; > AppDelegate::applicationWillResignActive @ 0x1400985b0 ; > AppDelegate::applicationDidEnterBackground @ 0x140098643 ; > @ 0x140912d58 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:26:03 +0000 ; mov [rsp+arg_0], rcx ; +0x0, 0x1400989f0 sub rsp, 28h ; +0x5, 0x1400989f5 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x1400989f9 mov rcx, [rax+110h] ; +0xf, 0x1400989ff test rcx, rcx ; +0x16, 0x140098a06 jz loc_140098ACB ; +0x19, 0x140098a09 cmp dword ptr [rcx+1Ch], 5 ; +0x1f, 0x140098a0f jnz loc_140098ACB ; +0x23, 0x140098a13 mov rax, cs:qword_14090BFD0 ; +0x29, 0x140098a19 test rax, rax ; +0x30, 0x140098a20 jnz short loc_140098A57 ; +0x33, 0x140098a23 mov ecx, 6E8h; Size ; +0x35, 0x140098a25 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x3a, 0x140098a2a mov [rsp+28h+arg_0], rax ; +0x3f, 0x140098a2f mov rcx, rax ; +0x44, 0x140098a34 call GameManager__GameManager ; +0x47, 0x140098a37 nop ; +0x4c, 0x140098a3c mov cs:qword_14090BFD0, rax ; +0x4d, 0x140098a3d mov rcx, [rax] ; +0x54, 0x140098a44 mov rdx, [rcx+48h] ; +0x57, 0x140098a47 mov rcx, rax ; +0x5b, 0x140098a4b call rdx ; +0x5e, 0x140098a4e mov rax, cs:qword_14090BFD0 ; +0x60, 0x140098a50 mov rdx, [rax+230h] ; +0x67, 0x140098a57 test rdx, rdx ; +0x6e, 0x140098a5e jz short loc_140098ACB ; +0x71, 0x140098a61 cmp byte ptr [rdx+3BD5h], 0 ; +0x73, 0x140098a63 jnz short loc_140098ACB ; +0x7a, 0x140098a6a call cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x7c, 0x140098a6c cmp byte ptr [rax+0E1h], 0 ; +0x82, 0x140098a72 jnz short loc_140098ACB ; +0x89, 0x140098a79 mov rcx, cs:qword_14090BFD0 ; +0x8b, 0x140098a7b test rcx, rcx ; +0x92, 0x140098a82 jnz short loc_140098AB9 ; +0x95, 0x140098a85 mov ecx, 6E8h; Size ; +0x97, 0x140098a87 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x9c, 0x140098a8c mov [rsp+28h+arg_0], rax ; +0xa1, 0x140098a91 mov rcx, rax ; +0xa6, 0x140098a96 call GameManager__GameManager ; +0xa9, 0x140098a99 nop ; +0xae, 0x140098a9e mov cs:qword_14090BFD0, rax ; +0xaf, 0x140098a9f mov rcx, [rax] ; +0xb6, 0x140098aa6 mov rdx, [rcx+48h] ; +0xb9, 0x140098aa9 mov rcx, rax ; +0xbd, 0x140098aad call rdx ; +0xc0, 0x140098ab0 mov rcx, cs:qword_14090BFD0 ; +0xc2, 0x140098ab2 mov dl, 1 ; +0xc9, 0x140098ab9 mov rcx, [rcx+230h] ; +0xcb, 0x140098abb add rsp, 28h ; +0xd2, 0x140098ac2 jmp PlayLayer__pauseGame ; +0xd6, 0x140098ac6 add rsp, 28h ; +0xdb, 0x140098acb retn ; +0xdf, 0x140098acf