; ; AppDelegate::pauseGame from 0x140083040 to 0x14008311a (218 bytes) ; ; 3 xrefs: ; > AppDelegate::applicationWillResignActive @ 0x140082de0 ; > AppDelegate::applicationDidEnterBackground @ 0x140082dfe ; > @ 0x1406c6a80 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rcx ; +0x0, 0x140083040 sub rsp, 28h ; +0x5, 0x140083045 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x9, 0x140083049 mov rcx, [rax+108h] ; +0xf, 0x14008304f test rcx, rcx ; +0x16, 0x140083056 jz loc_140083115 ; +0x19, 0x140083059 cmp dword ptr [rcx+1Ch], 5 ; +0x1f, 0x14008305f jnz loc_140083115 ; +0x23, 0x140083063 mov rax, cs:qword_1406C2ED8 ; +0x29, 0x140083069 test rax, rax ; +0x30, 0x140083070 jnz short loc_1400830A4 ; +0x33, 0x140083073 mov ecx, 668h; Size ; +0x35, 0x140083075 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x3a, 0x14008307a mov [rsp+28h+arg_0], rax ; +0x3f, 0x14008307f mov rcx, rax ; +0x44, 0x140083084 call sub_14017AB00 ; +0x47, 0x140083087 nop ; +0x4c, 0x14008308c mov cs:qword_1406C2ED8, rax ; +0x4d, 0x14008308d mov rdx, [rax] ; +0x54, 0x140083094 mov rcx, rax ; +0x57, 0x140083097 call qword ptr [rdx+48h] ; +0x5a, 0x14008309a mov rax, cs:qword_1406C2ED8 ; +0x5d, 0x14008309d mov rdx, [rax+208h] ; +0x64, 0x1400830a4 test rdx, rdx ; +0x6b, 0x1400830ab jz short loc_140083115 ; +0x6e, 0x1400830ae cmp byte ptr [rdx+397Dh], 0 ; +0x70, 0x1400830b0 jnz short loc_140083115 ; +0x77, 0x1400830b7 call cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x79, 0x1400830b9 cmp byte ptr [rax+0D9h], 0 ; +0x7f, 0x1400830bf jnz short loc_140083115 ; +0x86, 0x1400830c6 mov rcx, cs:qword_1406C2ED8 ; +0x88, 0x1400830c8 test rcx, rcx ; +0x8f, 0x1400830cf jnz short loc_140083103 ; +0x92, 0x1400830d2 mov ecx, 668h; Size ; +0x94, 0x1400830d4 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x99, 0x1400830d9 mov [rsp+28h+arg_0], rax ; +0x9e, 0x1400830de mov rcx, rax ; +0xa3, 0x1400830e3 call sub_14017AB00 ; +0xa6, 0x1400830e6 nop ; +0xab, 0x1400830eb mov cs:qword_1406C2ED8, rax ; +0xac, 0x1400830ec mov rdx, [rax] ; +0xb3, 0x1400830f3 mov rcx, rax ; +0xb6, 0x1400830f6 call qword ptr [rdx+48h] ; +0xb9, 0x1400830f9 mov rcx, cs:qword_1406C2ED8 ; +0xbc, 0x1400830fc mov dl, 1 ; +0xc3, 0x140083103 mov rcx, [rcx+208h] ; +0xc5, 0x140083105 add rsp, 28h ; +0xcc, 0x14008310c jmp PlayLayer__pauseGame ; +0xd0, 0x140083110 add rsp, 28h ; +0xd5, 0x140083115 retn ; +0xd9, 0x140083119