; ; FMODLevelVisualizer::create from 0x1403a9af0 to 0x1403a9b74 (132 bytes) ; ; 3 xrefs: ; > GJBaseGameLayer::toggleAudioVisualizer @ 0x140352e5b ; > GJBaseGameLayer::toggleAudioVisualizer @ 0x140352eda ; > @ 0x140923984 ; ; 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:31:20 +0000 ; push rbx ; +0x0, 0x1403a9af0 sub rsp, 20h ; +0x2, 0x1403a9af2 mov ecx, 148h; Size ; +0x6, 0x1403a9af6 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xb, 0x1403a9afb mov rbx, rax ; +0x10, 0x1403a9b00 mov [rsp+28h+arg_0], rax ; +0x13, 0x1403a9b03 mov rcx, rax ; +0x18, 0x1403a9b08 call cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void) ; +0x1b, 0x1403a9b0b lea rax, ??_7FMODLevelVisualizer@@6B@; const FMODLevelVisualizer::`vftable' ; +0x21, 0x1403a9b11 mov [rbx], rax ; +0x28, 0x1403a9b18 mov dword ptr [rbx+140h], 0 ; +0x2b, 0x1403a9b1b mov rax, cs:off_140777918 ; +0x35, 0x1403a9b25 lea rcx, FMODLevelVisualizer__init ; +0x3c, 0x1403a9b2c cmp rax, rcx ; +0x43, 0x1403a9b33 mov rcx, rbx ; +0x46, 0x1403a9b36 jnz short loc_1403A9B42 ; +0x49, 0x1403a9b39 call FMODLevelVisualizer__init ; +0x4b, 0x1403a9b3b jmp short loc_1403A9B44 ; +0x50, 0x1403a9b40 call rax ; FMODLevelVisualizer__init ; +0x52, 0x1403a9b42 test al, al ; +0x54, 0x1403a9b44 jz short loc_1403A9B5A ; +0x56, 0x1403a9b46 mov rcx, rbx ; +0x58, 0x1403a9b48 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x5b, 0x1403a9b4b mov rax, rbx ; +0x61, 0x1403a9b51 add rsp, 20h ; +0x64, 0x1403a9b54 pop rbx ; +0x68, 0x1403a9b58 retn ; +0x69, 0x1403a9b59 mov rcx, [rbx] ; +0x6a, 0x1403a9b5a mov r8, [rcx+8] ; +0x6d, 0x1403a9b5d mov edx, 1 ; +0x71, 0x1403a9b61 mov rcx, rbx ; +0x76, 0x1403a9b66 call r8 ; +0x79, 0x1403a9b69 xor eax, eax ; +0x7c, 0x1403a9b6c add rsp, 20h ; +0x7e, 0x1403a9b6e pop rbx ; +0x82, 0x1403a9b72 retn ; +0x83, 0x1403a9b73