{"type": "func", "start": 5372549872, "end": 5372550004, "name": "FMODLevelVisualizer::create", "pseudocode": "// \n// FMODLevelVisualizer::create from 0x1403a9af0 to 0x1403a9b74 (132 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::toggleAudioVisualizer @ 0x140352e5b\n// > GJBaseGameLayer::toggleAudioVisualizer @ 0x140352eda\n// > <???> @ 0x140923984\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:31:20 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCNode *FMODLevelVisualizer::create()\n{\n  cocos2d::CCNode *v0; // rbx\n\n  v0 = (cocos2d::CCNode *)operator new(0x148u);\n  cocos2d::CCNode::CCNode(v0);\n  *(_QWORD *)v0 = &FMODLevelVisualizer::`vftable';\n  *((_DWORD *)v0 + 80) = 0;\n  if ( (unsigned __int8)FMODLevelVisualizer::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n    return v0;\n  }\n  else\n  {\n    (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; FMODLevelVisualizer::create from 0x1403a9af0 to 0x1403a9b74 (132 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::toggleAudioVisualizer @ 0x140352e5b\n; > GJBaseGameLayer::toggleAudioVisualizer @ 0x140352eda\n; > <???> @ 0x140923984\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:31:20 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403a9af0\nsub     rsp, 20h                                                       ; +0x2, 0x1403a9af2\nmov     ecx, 148h; Size                                                ; +0x6, 0x1403a9af6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x1403a9afb\nmov     rbx, rax                                                       ; +0x10, 0x1403a9b00\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x1403a9b03\nmov     rcx, rax                                                       ; +0x18, 0x1403a9b08\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x1b, 0x1403a9b0b\nlea     rax, ??_7FMODLevelVisualizer@@6B@; const FMODLevelVisualizer::`vftable' ; +0x21, 0x1403a9b11\nmov     [rbx], rax                                                     ; +0x28, 0x1403a9b18\nmov     dword ptr [rbx+140h], 0                                        ; +0x2b, 0x1403a9b1b\nmov     rax, cs:off_140777918                                          ; +0x35, 0x1403a9b25\nlea     rcx, FMODLevelVisualizer__init                                 ; +0x3c, 0x1403a9b2c\ncmp     rax, rcx                                                       ; +0x43, 0x1403a9b33\nmov     rcx, rbx                                                       ; +0x46, 0x1403a9b36\njnz     short loc_1403A9B42                                            ; +0x49, 0x1403a9b39\ncall    FMODLevelVisualizer__init                                      ; +0x4b, 0x1403a9b3b\njmp     short loc_1403A9B44                                            ; +0x50, 0x1403a9b40\ncall    rax ; FMODLevelVisualizer__init                                ; +0x52, 0x1403a9b42\ntest    al, al                                                         ; +0x54, 0x1403a9b44\njz      short loc_1403A9B5A                                            ; +0x56, 0x1403a9b46\nmov     rcx, rbx                                                       ; +0x58, 0x1403a9b48\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x5b, 0x1403a9b4b\nmov     rax, rbx                                                       ; +0x61, 0x1403a9b51\nadd     rsp, 20h                                                       ; +0x64, 0x1403a9b54\npop     rbx                                                            ; +0x68, 0x1403a9b58\nretn                                                                   ; +0x69, 0x1403a9b59\nmov     rcx, [rbx]                                                     ; +0x6a, 0x1403a9b5a\nmov     r8, [rcx+8]                                                    ; +0x6d, 0x1403a9b5d\nmov     edx, 1                                                         ; +0x71, 0x1403a9b61\nmov     rcx, rbx                                                       ; +0x76, 0x1403a9b66\ncall    r8                                                             ; +0x79, 0x1403a9b69\nxor     eax, eax                                                       ; +0x7c, 0x1403a9b6c\nadd     rsp, 20h                                                       ; +0x7e, 0x1403a9b6e\npop     rbx                                                            ; +0x82, 0x1403a9b72\nretn                                                                   ; +0x83, 0x1403a9b73", "xrefs": ["GJBaseGameLayer::toggleAudioVisualizer @ 0x140352e5b", "GJBaseGameLayer::toggleAudioVisualizer @ 0x140352eda", "<???> @ 0x140923984"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}