; ; FMOD::Channel::getPriority from 0x1800a0280 to 0x1800a0355 (213 bytes) ; ; 3 xrefs: ; > FMOD_Channel_GetPriority @ 0x1800c56b9 ; > @ 0x180194348 ; > @ 0x1801fae48 ; ; 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_10], rbx ; +0x0, 0x1800a0280 mov [rsp+arg_18], rsi ; +0x5, 0x1800a0285 push rdi ; +0xa, 0x1800a028a sub rsp, 150h ; +0xb, 0x1800a028b mov rax, cs:__security_cookie ; +0x12, 0x1800a0292 xor rax, rsp ; +0x19, 0x1800a0299 mov [rsp+158h+var_18], rax ; +0x1c, 0x1800a029c xor eax, eax ; +0x24, 0x1800a02a4 mov rdi, rdx ; +0x26, 0x1800a02a6 mov rsi, rcx ; +0x29, 0x1800a02a9 test rdx, rdx ; +0x2c, 0x1800a02ac jz short loc_1800A02B3 ; +0x2f, 0x1800a02af mov [rdx], eax ; +0x31, 0x1800a02b1 lea r8, [rsp+158h+var_128] ; +0x33, 0x1800a02b3 mov [rsp+158h+var_128], rax ; +0x38, 0x1800a02b8 lea rdx, [rsp+158h+var_120] ; +0x3d, 0x1800a02bd call ?validate@ChannelI@FMOD@@SA?AW4FMOD_RESULT@@PEAVChannel@2@PEAPEAV12@PEAVSystemLockScope@2@@Z; FMOD::ChannelI::validate(FMOD::Channel *,FMOD::ChannelI * *,FMOD::SystemLockScope *) ; +0x42, 0x1800a02c2 mov ebx, eax ; +0x47, 0x1800a02c7 test eax, eax ; +0x49, 0x1800a02c9 jnz short loc_1800A02E0 ; +0x4b, 0x1800a02cb mov rcx, [rsp+158h+var_120] ; +0x4d, 0x1800a02cd mov rdx, rdi ; +0x52, 0x1800a02d2 call sub_1800CDEB0 ; +0x55, 0x1800a02d5 mov ebx, eax ; +0x5a, 0x1800a02da test eax, eax ; +0x5c, 0x1800a02dc jz short loc_1800A031F ; +0x5e, 0x1800a02de mov rax, cs:off_1801AED20 ; +0x60, 0x1800a02e0 test byte ptr [rax+10h], 80h ; +0x67, 0x1800a02e7 jz short loc_1800A031F ; +0x6b, 0x1800a02eb mov r8, rdi ; +0x6d, 0x1800a02ed lea rcx, [rsp+158h+var_118] ; +0x70, 0x1800a02f0 mov edx, 100h ; +0x75, 0x1800a02f5 call sub_1800F3020 ; +0x7a, 0x1800a02fa lea rax, [rsp+158h+var_118] ; +0x7f, 0x1800a02ff mov r8, rsi ; +0x84, 0x1800a0304 lea r9, aChannelGetprio; "Channel::getPriority" ; +0x87, 0x1800a0307 mov [rsp+158h+var_138], rax ; +0x8e, 0x1800a030e mov edx, 2 ; +0x93, 0x1800a0313 mov ecx, ebx ; +0x98, 0x1800a0318 call sub_1800B20E0 ; +0x9a, 0x1800a031a mov rcx, [rsp+158h+var_128] ; +0x9f, 0x1800a031f test rcx, rcx ; +0xa4, 0x1800a0324 jz short loc_1800A032E ; +0xa7, 0x1800a0327 call sub_180102320 ; +0xa9, 0x1800a0329 mov eax, ebx ; +0xae, 0x1800a032e mov rcx, [rsp+158h+var_18] ; +0xb0, 0x1800a0330 xor rcx, rsp; StackCookie ; +0xb8, 0x1800a0338 call __security_check_cookie ; +0xbb, 0x1800a033b lea r11, [rsp+158h+var_8] ; +0xc0, 0x1800a0340 mov rbx, [r11+20h] ; +0xc8, 0x1800a0348 mov rsi, [r11+28h] ; +0xcc, 0x1800a034c mov rsp, r11 ; +0xd0, 0x1800a0350 pop rdi ; +0xd3, 0x1800a0353 retn ; +0xd4, 0x1800a0354