; ; FMODLevelVisualizer::updateVisualizer from 0x14029ecf0 to 0x14029ef38 (584 bytes) ; ; 4 xrefs: ; > GJBaseGameLayer::updateAudioVisualizer @ 0x1402489ab ; > GJBaseGameLayer::updateAudioVisualizer @ 0x140248ab7 ; > FMODLevelVisualizer::init @ 0x14029ecac ; > @ 0x1406d1f1c ; ; 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 rax, rsp ; +0x0, 0x14029ecf0 mov [rax+10h], rbx ; +0x3, 0x14029ecf3 push rsi ; +0x7, 0x14029ecf7 push rdi ; +0x8, 0x14029ecf8 push r14 ; +0x9, 0x14029ecf9 sub rsp, 0C0h ; +0xb, 0x14029ecfb movaps xmmword ptr [rax-28h], xmm6 ; +0x12, 0x14029ed02 mov edx, 32h ; '2' ; +0x16, 0x14029ed06 movaps xmmword ptr [rax-38h], xmm7 ; +0x1b, 0x14029ed0b mov r14, rcx ; +0x1f, 0x14029ed0f movaps xmmword ptr [rax-48h], xmm8 ; +0x22, 0x14029ed12 movaps xmmword ptr [rax-58h], xmm9 ; +0x27, 0x14029ed17 movaps xmmword ptr [rax-68h], xmm10 ; +0x2c, 0x14029ed1c movaps xmm10, xmm1 ; +0x31, 0x14029ed21 movaps xmmword ptr [rax-78h], xmm11 ; +0x35, 0x14029ed25 mov rax, [rcx] ; +0x3a, 0x14029ed2a movaps [rsp+0D8h+var_88], xmm12 ; +0x3d, 0x14029ed2d movaps [rsp+0D8h+var_98], xmm13 ; +0x43, 0x14029ed33 movaps xmm13, xmm2 ; +0x49, 0x14029ed39 movaps [rsp+0D8h+var_A8], xmm14 ; +0x4d, 0x14029ed3d movaps [rsp+0D8h+var_B8], xmm15 ; +0x53, 0x14029ed43 movaps xmm15, xmm3 ; +0x59, 0x14029ed49 call qword ptr [rax+1C8h] ; +0x5d, 0x14029ed4d movss xmm9, cs:dword_140622BC4 ; +0x63, 0x14029ed53 xor edi, edi ; +0x6c, 0x14029ed5c movss xmm12, cs:flt_140622C24 ; +0x6e, 0x14029ed5e mov rsi, rax ; +0x77, 0x14029ed67 movss xmm8, cs:dword_140622B38 ; +0x7a, 0x14029ed6a xorps xmm11, xmm11 ; +0x83, 0x14029ed73 movss xmm14, cs:dword_1406232AC ; +0x87, 0x14029ed77 movss xmm6, [rsp+0D8h+arg_10] ; +0x90, 0x14029ed80 movss xmm7, [rsp+0D8h+arg_10] ; +0x99, 0x14029ed89 xor edx, edx ; +0xa2, 0x14029ed92 mov ecx, edi ; +0xa4, 0x14029ed94 test edi, edi ; +0xa6, 0x14029ed96 jz short loc_14029EDC2 ; +0xa8, 0x14029ed98 sub ecx, 1 ; +0xaa, 0x14029ed9a jz short loc_14029EDB3 ; +0xad, 0x14029ed9d cmp ecx, 1 ; +0xaf, 0x14029ed9f jnz short loc_14029EDCF ; +0xb2, 0x14029eda2 movaps xmm6, xmm9 ; +0xb4, 0x14029eda4 movaps xmm7, xmm12 ; +0xb8, 0x14029eda8 mov edx, 12Ch ; +0xbc, 0x14029edac jmp short loc_14029EDCF ; +0xc1, 0x14029edb1 movaps xmm6, xmm8 ; +0xc3, 0x14029edb3 movaps xmm7, xmm9 ; +0xc7, 0x14029edb7 mov edx, 0C8h ; +0xcb, 0x14029edbb jmp short loc_14029EDCF ; +0xd0, 0x14029edc0 movaps xmm6, xmm11 ; +0xd2, 0x14029edc2 movaps xmm7, xmm8 ; +0xd6, 0x14029edc6 mov edx, 64h ; 'd' ; +0xda, 0x14029edca mov rax, [rsi] ; +0xdf, 0x14029edcf mov rcx, rsi ; +0xe2, 0x14029edd2 call qword ptr [rax+1C8h] ; +0xe5, 0x14029edd5 mov rbx, rax ; +0xeb, 0x14029eddb test rax, rax ; +0xee, 0x14029edde jz short loc_14029EE27 ; +0xf1, 0x14029ede1 comiss xmm6, xmm10 ; +0xf3, 0x14029ede3 mov rax, [rax] ; +0xf7, 0x14029ede7 mov rcx, rbx ; +0xfa, 0x14029edea jb short loc_14029EDF9 ; +0xfd, 0x14029eded xor edx, edx ; +0xff, 0x14029edef call qword ptr [rax+140h] ; +0x101, 0x14029edf1 jmp short loc_14029EE27 ; +0x107, 0x14029edf7 mov dl, 1 ; +0x109, 0x14029edf9 call qword ptr [rax+140h] ; +0x10b, 0x14029edfb mov rax, [rbx] ; +0x111, 0x14029ee01 movaps xmm1, xmm10 ; +0x114, 0x14029ee04 minss xmm1, xmm7 ; +0x118, 0x14029ee08 mov rcx, rbx ; +0x11c, 0x14029ee0c subss xmm1, xmm6 ; +0x11f, 0x14029ee0f mulss xmm1, xmm14 ; +0x123, 0x14029ee13 divss xmm1, dword ptr [r14+140h] ; +0x128, 0x14029ee18 call qword ptr [rax+88h] ; +0x131, 0x14029ee21 inc edi ; +0x137, 0x14029ee27 cmp edi, 3 ; +0x139, 0x14029ee29 jl loc_14029ED92 ; +0x13c, 0x14029ee2c mov rax, [rsi] ; +0x142, 0x14029ee32 mov edx, 190h ; +0x145, 0x14029ee35 mov rcx, rsi ; +0x14a, 0x14029ee3a call qword ptr [rax+1C8h] ; +0x14d, 0x14029ee3d mov rcx, rax ; +0x153, 0x14029ee43 mov rdi, rax ; +0x156, 0x14029ee46 mov rbx, [rax] ; +0x159, 0x14029ee49 call qword ptr [rbx+0C8h] ; +0x15c, 0x14029ee4c movaps xmm2, xmm13 ; +0x162, 0x14029ee52 lea rcx, [rsp+0D8h+arg_0] ; +0x166, 0x14029ee56 mulss xmm2, xmm14 ; +0x16e, 0x14029ee5e movss xmm1, dword ptr [rax] ; +0x173, 0x14029ee63 subss xmm2, cs:dword_1406231DC ; +0x177, 0x14029ee67 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x17f, 0x14029ee6f mov rdx, rax ; +0x185, 0x14029ee75 mov rcx, rdi ; +0x188, 0x14029ee78 call qword ptr [rbx+0B8h] ; +0x18b, 0x14029ee7b comiss xmm13, xmm9 ; +0x191, 0x14029ee81 lea rbx, [rdi+140h] ; +0x195, 0x14029ee85 mov rax, [rbx] ; +0x19c, 0x14029ee8c jbe short loc_14029EE9A ; +0x19f, 0x14029ee8f lea rdx, word_140529AD8 ; +0x1a1, 0x14029ee91 jmp short loc_14029EEAE ; +0x1a8, 0x14029ee98 comiss xmm13, xmm8 ; +0x1aa, 0x14029ee9a lea rdx, word_140529ADC ; +0x1ae, 0x14029ee9e ja short loc_14029EEAE ; +0x1b5, 0x14029eea5 lea rdx, word_140529AE0 ; +0x1b7, 0x14029eea7 mov rcx, rbx ; +0x1be, 0x14029eeae call qword ptr [rax] ; +0x1c1, 0x14029eeb1 movss xmm1, cs:dword_140622B08 ; +0x1c3, 0x14029eeb3 movaps xmm0, xmm11 ; +0x1cb, 0x14029eebb mov rax, [rbx] ; +0x1cf, 0x14029eebf subss xmm1, xmm15 ; +0x1d2, 0x14029eec2 mov rcx, rbx ; +0x1d7, 0x14029eec7 mulss xmm1, cs:dword_140623418 ; +0x1da, 0x14029eeca maxss xmm0, xmm1 ; +0x1e2, 0x14029eed2 cvttss2si edx, xmm0 ; +0x1e6, 0x14029eed6 call qword ptr [rax+28h] ; +0x1ea, 0x14029eeda mov rax, [rdi] ; +0x1ed, 0x14029eedd mov rcx, rdi ; +0x1f0, 0x14029eee0 comiss xmm13, xmm11 ; +0x1f3, 0x14029eee3 setnbe dl ; +0x1f7, 0x14029eee7 movaps xmm14, [rsp+0D8h+var_A8] ; +0x1fa, 0x14029eeea lea r11, [rsp+0D8h+var_18] ; +0x200, 0x14029eef0 mov rbx, [r11+28h] ; +0x208, 0x14029eef8 movaps xmm6, xmmword ptr [r11-10h] ; +0x20c, 0x14029eefc movaps xmm7, xmmword ptr [r11-20h] ; +0x211, 0x14029ef01 movaps xmm8, xmmword ptr [r11-30h] ; +0x216, 0x14029ef06 movaps xmm9, xmmword ptr [r11-40h] ; +0x21b, 0x14029ef0b movaps xmm10, xmmword ptr [r11-50h] ; +0x220, 0x14029ef10 movaps xmm11, xmmword ptr [r11-60h] ; +0x225, 0x14029ef15 movaps xmm12, xmmword ptr [r11-70h] ; +0x22a, 0x14029ef1a movaps xmm13, xmmword ptr [r11-80h] ; +0x22f, 0x14029ef1f movaps xmm15, [rsp+0D8h+var_B8] ; +0x234, 0x14029ef24 mov rsp, r11 ; +0x23a, 0x14029ef2a pop r14 ; +0x23d, 0x14029ef2d pop rdi ; +0x23f, 0x14029ef2f pop rsi ; +0x240, 0x14029ef30 jmp qword ptr [rax+140h] ; +0x241, 0x14029ef31