; ; AppDelegate::applicationWillEnterForeground from 0x140082e70 to 0x140083035 (453 bytes) ; ; 2 xrefs: ; > @ 0x14053c548 ; > @ 0x1406c6a74 ; ; 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], rbx ; +0x0, 0x140082e70 mov [rsp+arg_10], rsi ; +0x5, 0x140082e75 push rdi ; +0xa, 0x140082e7a sub rsp, 20h ; +0xb, 0x140082e7b call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xf, 0x140082e7f mov rdx, [rax] ; +0x15, 0x140082e85 mov rcx, rax ; +0x18, 0x140082e88 call qword ptr [rdx+58h] ; +0x1b, 0x140082e8b call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1e, 0x140082e8e mov rcx, rax ; +0x24, 0x140082e94 call cs:?resume@CCDirector@cocos2d@@QEAAXXZ; cocos2d::CCDirector::resume(void) ; +0x27, 0x140082e97 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2d, 0x140082e9d mov rdx, [rax] ; +0x33, 0x140082ea3 mov rcx, rax ; +0x36, 0x140082ea6 call qword ptr [rdx+60h] ; +0x39, 0x140082ea9 mov rcx, cs:qword_1406C2E88 ; +0x3c, 0x140082eac test rcx, rcx ; +0x43, 0x140082eb3 jnz short loc_140082EE7 ; +0x46, 0x140082eb6 mov ecx, 888h; Size ; +0x48, 0x140082eb8 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x4d, 0x140082ebd mov [rsp+28h+arg_8], rax ; +0x52, 0x140082ec2 mov rcx, rax ; +0x57, 0x140082ec7 call FMODAudioEngine__FMODAudioEngine ; +0x5a, 0x140082eca nop ; +0x5f, 0x140082ecf mov cs:qword_1406C2E88, rax ; +0x60, 0x140082ed0 mov rdx, [rax] ; +0x67, 0x140082ed7 mov rcx, rax ; +0x6a, 0x140082eda call qword ptr [rdx+48h] ; +0x6d, 0x140082edd mov rcx, cs:qword_1406C2E88 ; +0x70, 0x140082ee0 call FMODAudioEngine__start ; +0x77, 0x140082ee7 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x7c, 0x140082eec mov rdi, rax ; +0x82, 0x140082ef2 mov rbx, cs:qword_1406C2ED8 ; +0x85, 0x140082ef5 test rbx, rbx ; +0x8c, 0x140082efc jnz short loc_140082F30 ; +0x8f, 0x140082eff mov ecx, 668h; Size ; +0x91, 0x140082f01 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x96, 0x140082f06 mov [rsp+28h+arg_8], rax ; +0x9b, 0x140082f0b mov rcx, rax ; +0xa0, 0x140082f10 call sub_14017AB00 ; +0xa3, 0x140082f13 nop ; +0xa8, 0x140082f18 mov cs:qword_1406C2ED8, rax ; +0xa9, 0x140082f19 mov rdx, [rax] ; +0xb0, 0x140082f20 mov rcx, rax ; +0xb3, 0x140082f23 call qword ptr [rdx+48h] ; +0xb6, 0x140082f26 mov rbx, cs:qword_1406C2ED8 ; +0xb9, 0x140082f29 mov rax, [rdi] ; +0xc0, 0x140082f30 mov rcx, rdi ; +0xc3, 0x140082f33 call qword ptr [rax+80h] ; +0xc6, 0x140082f36 mov rcx, rax ; +0xcc, 0x140082f3c mov r8, rbx ; +0xcf, 0x140082f3f mov edx, 1 ; +0xd2, 0x140082f42 call cs:?removeActionByTag@CCActionManager@cocos2d@@QEAAXIPEAVCCObject@2@@Z; cocos2d::CCActionManager::removeActionByTag(uint,cocos2d::CCObject *) ; +0xd7, 0x140082f47 xorps xmm0, xmm0 ; +0xdd, 0x140082f4d call cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0xe0, 0x140082f50 mov rbx, rax ; +0xe6, 0x140082f56 mov rcx, cs:qword_1406C2ED8 ; +0xe9, 0x140082f59 test rcx, rcx ; +0xf0, 0x140082f60 jnz short loc_140082F95 ; +0xf3, 0x140082f63 mov ecx, 668h; Size ; +0xf5, 0x140082f65 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xfa, 0x140082f6a mov [rsp+28h+arg_8], rax ; +0xff, 0x140082f6f mov rcx, rax ; +0x104, 0x140082f74 call sub_14017AB00 ; +0x107, 0x140082f77 nop ; +0x10c, 0x140082f7c mov cs:qword_1406C2ED8, rax ; +0x10d, 0x140082f7d mov r8, [rax] ; +0x114, 0x140082f84 mov rcx, rax ; +0x117, 0x140082f87 call qword ptr [r8+48h] ; +0x11a, 0x140082f8a mov rcx, cs:qword_1406C2ED8 ; +0x11e, 0x140082f8e lea rdx, GameManager__applicationWillEnterForeground ; +0x125, 0x140082f95 call cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x12c, 0x140082f9c xor r8d, r8d ; +0x132, 0x140082fa2 mov rdx, rax ; +0x135, 0x140082fa5 mov rcx, rbx ; +0x138, 0x140082fa8 call cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x13b, 0x140082fab mov rsi, rax ; +0x141, 0x140082fb1 mov r8, [rax] ; +0x144, 0x140082fb4 mov edx, 1 ; +0x147, 0x140082fb7 mov rcx, rax ; +0x14c, 0x140082fbc call qword ptr [r8+40h] ; +0x14f, 0x140082fbf call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x153, 0x140082fc3 mov rdi, rax ; +0x159, 0x140082fc9 mov rbx, cs:qword_1406C2ED8 ; +0x15c, 0x140082fcc test rbx, rbx ; +0x163, 0x140082fd3 jnz short loc_140083007 ; +0x166, 0x140082fd6 mov ecx, 668h; Size ; +0x168, 0x140082fd8 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x16d, 0x140082fdd mov [rsp+28h+arg_8], rax ; +0x172, 0x140082fe2 mov rcx, rax ; +0x177, 0x140082fe7 call sub_14017AB00 ; +0x17a, 0x140082fea nop ; +0x17f, 0x140082fef mov cs:qword_1406C2ED8, rax ; +0x180, 0x140082ff0 mov rdx, [rax] ; +0x187, 0x140082ff7 mov rcx, rax ; +0x18a, 0x140082ffa call qword ptr [rdx+48h] ; +0x18d, 0x140082ffd mov rbx, cs:qword_1406C2ED8 ; +0x190, 0x140083000 mov rax, [rdi] ; +0x197, 0x140083007 mov rcx, rdi ; +0x19a, 0x14008300a call qword ptr [rax+80h] ; +0x19d, 0x14008300d mov rcx, rax ; +0x1a3, 0x140083013 xor r9d, r9d ; +0x1a6, 0x140083016 mov r8, rbx ; +0x1a9, 0x140083019 mov rdx, rsi ; +0x1ac, 0x14008301c mov rbx, [rsp+28h+arg_0] ; +0x1af, 0x14008301f mov rsi, [rsp+28h+arg_10] ; +0x1b4, 0x140083024 add rsp, 20h ; +0x1b9, 0x140083029 pop rdi ; +0x1bd, 0x14008302d jmp cs:?addAction@CCActionManager@cocos2d@@QEAAXPEAVCCAction@2@PEAVCCNode@2@_N@Z; cocos2d::CCActionManager::addAction(cocos2d::CCAction *,cocos2d::CCNode *,bool) ; +0x1be, 0x14008302e