; ; AppDelegate::pauseSound from 0x140083120 to 0x1400832ba (410 bytes) ; ; 2 xrefs: ; > AppDelegate::applicationDidEnterBackground @ 0x140082df9 ; > @ 0x1406c6a8c ; ; 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_8], rbx ; +0x0, 0x140083120 push rdi ; +0x5, 0x140083125 sub rsp, 20h ; +0x6, 0x140083126 mov rbx, rcx ; +0xa, 0x14008312a mov rcx, cs:qword_1406C2E88 ; +0xd, 0x14008312d test rcx, rcx ; +0x14, 0x140083134 jnz short loc_140083168 ; +0x17, 0x140083137 mov ecx, 888h; Size ; +0x19, 0x140083139 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1e, 0x14008313e mov [rsp+28h+arg_0], rax ; +0x23, 0x140083143 mov rcx, rax ; +0x28, 0x140083148 call FMODAudioEngine__FMODAudioEngine ; +0x2b, 0x14008314b nop ; +0x30, 0x140083150 mov cs:qword_1406C2E88, rax ; +0x31, 0x140083151 mov rdx, [rax] ; +0x38, 0x140083158 mov rcx, rax ; +0x3b, 0x14008315b call qword ptr [rdx+48h] ; +0x3e, 0x14008315e mov rcx, cs:qword_1406C2E88 ; +0x41, 0x140083161 mov dl, 1 ; +0x48, 0x140083168 mov rcx, [rcx+248h] ; +0x4a, 0x14008316a call cs:?setPaused@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@_N@Z; FMOD::ChannelControl::setPaused(bool) ; +0x51, 0x140083171 mov rdi, cs:qword_1406C2E88 ; +0x57, 0x140083177 cmp byte ptr [rbx+0E8h], 0 ; +0x5e, 0x14008317e jz short loc_140083201 ; +0x65, 0x140083185 test rdi, rdi ; +0x67, 0x140083187 jnz short loc_1400831BB ; +0x6a, 0x14008318a mov ecx, 888h; Size ; +0x6c, 0x14008318c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x71, 0x140083191 mov [rsp+28h+arg_0], rax ; +0x76, 0x140083196 mov rcx, rax ; +0x7b, 0x14008319b call FMODAudioEngine__FMODAudioEngine ; +0x7e, 0x14008319e nop ; +0x83, 0x1400831a3 mov cs:qword_1406C2E88, rax ; +0x84, 0x1400831a4 mov rdx, [rax] ; +0x8b, 0x1400831ab mov rcx, rax ; +0x8e, 0x1400831ae call qword ptr [rdx+48h] ; +0x91, 0x1400831b1 mov rdi, cs:qword_1406C2E88 ; +0x94, 0x1400831b4 mov rbx, [rdi+148h] ; +0x9b, 0x1400831bb mov rbx, [rbx] ; +0xa2, 0x1400831c2 cmp rbx, [rdi+148h] ; +0xa5, 0x1400831c5 jz short loc_140083201 ; +0xac, 0x1400831cc xchg ax, ax ; +0xae, 0x1400831ce mov edx, [rbx+18h] ; +0xb0, 0x1400831d0 mov rcx, rdi ; +0xb3, 0x1400831d3 call FMODAudioEngine__channelForChannelID ; +0xb6, 0x1400831d6 test rax, rax ; +0xbb, 0x1400831db jz short loc_1400831EB ; +0xbe, 0x1400831de mov dl, 1 ; +0xc0, 0x1400831e0 mov rcx, rax ; +0xc2, 0x1400831e2 call cs:?setPaused@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@_N@Z; FMOD::ChannelControl::setPaused(bool) ; +0xc5, 0x1400831e5 mov rax, [rbx] ; +0xcb, 0x1400831eb mov rbx, rax ; +0xce, 0x1400831ee cmp rax, [rdi+148h] ; +0xd1, 0x1400831f1 jnz short loc_1400831D0 ; +0xd8, 0x1400831f8 mov rdi, cs:qword_1406C2E88 ; +0xda, 0x1400831fa test rdi, rdi ; +0xe1, 0x140083201 jnz short loc_140083235 ; +0xe4, 0x140083204 mov ecx, 888h; Size ; +0xe6, 0x140083206 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xeb, 0x14008320b mov [rsp+28h+arg_0], rax ; +0xf0, 0x140083210 mov rcx, rax ; +0xf5, 0x140083215 call FMODAudioEngine__FMODAudioEngine ; +0xf8, 0x140083218 nop ; +0xfd, 0x14008321d mov cs:qword_1406C2E88, rax ; +0xfe, 0x14008321e mov rdx, [rax] ; +0x105, 0x140083225 mov rcx, rax ; +0x108, 0x140083228 call qword ptr [rdx+48h] ; +0x10b, 0x14008322b mov rdi, cs:qword_1406C2E88 ; +0x10e, 0x14008322e cmp byte ptr [rdi+268h], 0 ; +0x115, 0x140083235 jnz short loc_14008326F ; +0x11c, 0x14008323c mov byte ptr [rdi+268h], 1 ; +0x11e, 0x14008323e mov rcx, [rdi+230h] ; +0x125, 0x140083245 call cs:?mixerSuspend@System@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::System::mixerSuspend(void) ; +0x12c, 0x14008324c mov rcx, [rdi+230h] ; +0x132, 0x140083252 call cs:?update@System@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::System::update(void) ; +0x139, 0x140083259 mov rcx, rdi ; +0x13f, 0x14008325f call cs:?pauseSchedulerAndActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::pauseSchedulerAndActions(void) ; +0x142, 0x140083262 mov rdi, cs:qword_1406C2E88 ; +0x148, 0x140083268 test rdi, rdi ; +0x14f, 0x14008326f jnz short loc_1400832A3 ; +0x152, 0x140083272 mov ecx, 888h; Size ; +0x154, 0x140083274 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x159, 0x140083279 mov [rsp+28h+arg_0], rax ; +0x15e, 0x14008327e mov rcx, rax ; +0x163, 0x140083283 call FMODAudioEngine__FMODAudioEngine ; +0x166, 0x140083286 nop ; +0x16b, 0x14008328b mov cs:qword_1406C2E88, rax ; +0x16c, 0x14008328c mov rdx, [rax] ; +0x173, 0x140083293 mov rcx, rax ; +0x176, 0x140083296 call qword ptr [rdx+48h] ; +0x179, 0x140083299 mov rdi, cs:qword_1406C2E88 ; +0x17c, 0x14008329c mov rax, [rdi] ; +0x183, 0x1400832a3 xorps xmm1, xmm1 ; +0x186, 0x1400832a6 mov rcx, rdi ; +0x189, 0x1400832a9 mov rbx, [rsp+28h+arg_8] ; +0x18c, 0x1400832ac add rsp, 20h ; +0x191, 0x1400832b1 pop rdi ; +0x195, 0x1400832b5 jmp qword ptr [rax+20h] ; +0x196, 0x1400832b6