; ; FMODAudioEngine::preloadEffectAsync from 0x1400622b0 to 0x140062516 (614 bytes) ; ; 2 xrefs: ; > FMODAudioEngine::queuePlayEffect @ 0x14006064d ; > @ 0x140910b98 ; ; 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:25:44 +0000 ; mov [rsp-8+arg_10], rbx ; +0x0, 0x1400622b0 push rbp ; +0x5, 0x1400622b5 push rsi ; +0x6, 0x1400622b6 push rdi ; +0x7, 0x1400622b7 lea rbp, [rsp-80h] ; +0x8, 0x1400622b8 sub rsp, 180h ; +0xd, 0x1400622bd mov rax, cs:__security_cookie ; +0x14, 0x1400622c4 xor rax, rsp ; +0x1b, 0x1400622cb mov [rbp+90h+var_18], rax ; +0x1e, 0x1400622ce mov rdi, rdx ; +0x22, 0x1400622d2 mov rsi, rcx ; +0x25, 0x1400622d5 mov [rbp+90h+var_60], rdx ; +0x28, 0x1400622d8 cmp qword ptr [rdx+18h], 0Fh ; +0x2c, 0x1400622dc jbe short loc_1400622E6 ; +0x31, 0x1400622e1 mov rdx, [rdx] ; +0x33, 0x1400622e3 mov r9, 0CBF29CE484222325h ; +0x36, 0x1400622e6 mov r8, [rdi+10h] ; +0x40, 0x1400622f0 xor ecx, ecx ; +0x44, 0x1400622f4 test r8, r8 ; +0x46, 0x1400622f6 jz short loc_140062323 ; +0x49, 0x1400622f9 mov r10, 100000001B3h ; +0x4b, 0x1400622fb nop word ptr [rax+rax+00000000h] ; +0x55, 0x140062305 movzx eax, byte ptr [rdx+rcx] ; +0x60, 0x140062310 xor r9, rax ; +0x64, 0x140062314 imul r9, r10 ; +0x67, 0x140062317 inc rcx ; +0x6b, 0x14006231b cmp rcx, r8 ; +0x6e, 0x14006231e jb short loc_140062310 ; +0x71, 0x140062321 mov r8, rdi ; +0x73, 0x140062323 lea rdx, [rsp+190h+var_158] ; +0x76, 0x140062326 lea rcx, [rsi+7C8h] ; +0x7b, 0x14006232b call sub_140067710 ; +0x82, 0x140062332 cmp qword ptr [rax+8], 0 ; +0x87, 0x140062337 jz short loc_14006235E ; +0x8c, 0x14006233c mov r8, rdi ; +0x8e, 0x14006233e lea rdx, [rsp+190h+var_158] ; +0x91, 0x140062341 lea rcx, [rsi+7C8h] ; +0x96, 0x140062346 call sub_140067A70 ; +0x9d, 0x14006234d mov rdx, [rax] ; +0xa2, 0x140062352 mov rbx, [rdx+30h] ; +0xa5, 0x140062355 jmp loc_1400624EC ; +0xa9, 0x140062359 mov [rsp+190h+var_160], 0 ; +0xae, 0x14006235e call cs:?sharedFileUtils@CCFileUtils@cocos2d@@SAPEAV12@XZ; cocos2d::CCFileUtils::sharedFileUtils(void) ; +0xb7, 0x140062367 mov r8, rdi ; +0xbd, 0x14006236d cmp qword ptr [rdi+18h], 0Fh ; +0xc0, 0x140062370 jbe short loc_14006237A ; +0xc5, 0x140062375 mov r8, [rdi] ; +0xc7, 0x140062377 mov rcx, [rax] ; +0xca, 0x14006237a mov r10, [rcx+28h] ; +0xcd, 0x14006237d xor r9d, r9d ; +0xd1, 0x140062381 lea rdx, [rbp+90h+var_38] ; +0xd4, 0x140062384 mov rcx, rax ; +0xd8, 0x140062388 call r10 ; +0xdb, 0x14006238b nop ; +0xde, 0x14006238e cmp qword ptr [rax+18h], 0Fh ; +0xdf, 0x14006238f jbe short loc_140062399 ; +0xe4, 0x140062394 mov rax, [rax] ; +0xe6, 0x140062396 xorps xmm0, xmm0 ; +0xe9, 0x140062399 movups xmmword ptr [rbp+90h+Block], xmm0 ; +0xec, 0x14006239c xorps xmm1, xmm1 ; +0xf0, 0x1400623a0 movdqu [rbp+90h+var_48], xmm1 ; +0xf3, 0x1400623a3 mov r8, 0FFFFFFFFFFFFFFFFh ; +0xf8, 0x1400623a8 nop ; +0xff, 0x1400623af inc r8 ; +0x100, 0x1400623b0 cmp byte ptr [rax+r8], 0 ; +0x103, 0x1400623b3 jnz short loc_1400623B0 ; +0x108, 0x1400623b8 mov rdx, rax ; +0x10a, 0x1400623ba lea rcx, [rbp+90h+Block] ; +0x10d, 0x1400623bd call sub_14003D230 ; +0x111, 0x1400623c1 nop ; +0x116, 0x1400623c6 lea rcx, [rbp+90h+var_38] ; +0x117, 0x1400623c7 call sub_14003D310 ; +0x11b, 0x1400623cb xorps xmm0, xmm0 ; +0x120, 0x1400623d0 xor eax, eax ; +0x123, 0x1400623d3 movups [rsp+190h+var_13C], xmm0 ; +0x125, 0x1400623d5 movups [rsp+190h+var_12C], xmm0 ; +0x12a, 0x1400623da movups [rsp+190h+var_11C], xmm0 ; +0x12f, 0x1400623df movups [rbp+90h+var_10C], xmm0 ; +0x134, 0x1400623e4 movups [rbp+90h+var_FC], xmm0 ; +0x138, 0x1400623e8 movups [rbp+90h+var_EC], xmm0 ; +0x13c, 0x1400623ec mov [rbp+90h+var_DC], rax ; +0x140, 0x1400623f0 mov [rbp+90h+var_D4], eax ; +0x144, 0x1400623f4 movups [rbp+90h+var_CC], xmm0 ; +0x147, 0x1400623f7 movups [rbp+90h+var_BC], xmm0 ; +0x14b, 0x1400623fb movups [rbp+90h+var_AC], xmm0 ; +0x14f, 0x1400623ff movups [rbp+90h+var_9C], xmm0 ; +0x153, 0x140062403 movups [rbp+90h+var_8C], xmm0 ; +0x157, 0x140062407 movups [rbp+90h+var_7C], xmm0 ; +0x15b, 0x14006240b mov [rbp+90h+var_6C], rax ; +0x15f, 0x14006240f mov [rbp+90h+var_64], eax ; +0x163, 0x140062413 mov [rsp+190h+var_140], 0E0h ; +0x166, 0x140062416 mov [rbp+90h+var_D0], 0Ah ; +0x16e, 0x14006241e lea rdx, [rbp+90h+Block] ; +0x175, 0x140062425 cmp qword ptr [rbp+90h+var_48+8], 0Fh ; +0x179, 0x140062429 cmova rdx, [rbp+90h+Block] ; +0x17e, 0x14006242e lea rax, [rsp+190h+var_160] ; +0x183, 0x140062433 mov [rsp+190h+Reserved], rax ; +0x188, 0x140062438 lea r9, [rsp+190h+var_140] ; +0x18d, 0x14006243d mov r8d, 801000Ah ; +0x192, 0x140062442 mov rcx, [rsi+230h] ; +0x198, 0x140062448 call cs:?createSound@System@FMOD@@QEAA?AW4FMOD_RESULT@@PEBDIPEAUFMOD_CREATESOUNDEXINFO@@PEAPEAVSound@2@@Z; FMOD::System::createSound(char const *,uint,FMOD_CREATESOUNDEXINFO *,FMOD::Sound * *) ; +0x19f, 0x14006244f mov [rsi+260h], eax ; +0x1a5, 0x140062455 mov rbx, [rsp+190h+var_160] ; +0x1ab, 0x14006245b test rbx, rbx ; +0x1b0, 0x140062460 jz short loc_14006248A ; +0x1b3, 0x140062463 lea rcx, [rsi+7C8h] ; +0x1b5, 0x140062465 mov r8, rdi ; +0x1bc, 0x14006246c lea rdx, [rsp+190h+var_158] ; +0x1bf, 0x14006246f call sub_140067A70 ; +0x1c4, 0x140062474 mov rcx, [rax] ; +0x1c9, 0x140062479 mov rax, [rsp+190h+var_160] ; +0x1cc, 0x14006247c mov [rcx+30h], rax ; +0x1d1, 0x140062481 mov rbx, [rsp+190h+var_160] ; +0x1d5, 0x140062485 mov rdx, qword ptr [rbp+90h+var_48+8] ; +0x1da, 0x14006248a cmp rdx, 0Fh ; +0x1de, 0x14006248e jbe short loc_1400624DB ; +0x1e2, 0x140062492 inc rdx ; +0x1e4, 0x140062494 mov rcx, [rbp+90h+Block]; Block ; +0x1e7, 0x140062497 mov rax, rcx ; +0x1eb, 0x14006249b cmp rdx, 1000h ; +0x1ee, 0x14006249e jb short loc_1400624D6 ; +0x1f5, 0x1400624a5 add rdx, 27h ; ''' ; +0x1f7, 0x1400624a7 mov rcx, [rcx-8] ; +0x1fb, 0x1400624ab sub rax, rcx ; +0x1ff, 0x1400624af sub rax, 8 ; +0x202, 0x1400624b2 cmp rax, 1Fh ; +0x206, 0x1400624b6 jbe short loc_1400624D6 ; +0x20a, 0x1400624ba mov [rsp+190h+Reserved], 0; Reserved ; +0x20c, 0x1400624bc xor r9d, r9d; LineNo ; +0x215, 0x1400624c5 xor r8d, r8d; FileName ; +0x218, 0x1400624c8 xor edx, edx; FunctionName ; +0x21b, 0x1400624cb xor ecx, ecx; Expression ; +0x21d, 0x1400624cd call cs:_invoke_watson ; +0x21f, 0x1400624cf align 2 ; +0x225, 0x1400624d5 call j_j_free ; +0x226, 0x1400624d6 movdqa xmm0, cs:Size ; +0x22b, 0x1400624db movdqu [rbp+90h+var_48], xmm0 ; +0x233, 0x1400624e3 mov byte ptr [rbp+90h+Block], 0 ; +0x238, 0x1400624e8 mov rcx, rdi ; +0x23c, 0x1400624ec call sub_14003D310 ; +0x23f, 0x1400624ef mov rax, rbx ; +0x244, 0x1400624f4 mov rcx, [rbp+90h+var_18] ; +0x247, 0x1400624f7 xor rcx, rsp; StackCookie ; +0x24b, 0x1400624fb call __security_check_cookie ; +0x24e, 0x1400624fe mov rbx, [rsp+190h+arg_10] ; +0x253, 0x140062503 add rsp, 180h ; +0x25b, 0x14006250b pop rdi ; +0x262, 0x140062512 pop rsi ; +0x263, 0x140062513 pop rbp ; +0x264, 0x140062514 retn ; +0x265, 0x140062515