{"type": "func", "start": 5371455408, "end": 5371455534, "name": "FMODLevelVisualizer::create", "pseudocode": "// \n// FMODLevelVisualizer::create from 0x14029e7b0 to 0x14029e82e (126 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::toggleAudioVisualizer @ 0x140248b6a\n// > GJBaseGameLayer::toggleAudioVisualizer @ 0x140248be3\n// > <???> @ 0x1406d1f04\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nFMODLevelVisualizer *FMODLevelVisualizer::create()\n{\n  FMODLevelVisualizer *v0; // rbx\n\n  v0 = (FMODLevelVisualizer *)operator new(0x148u);\n  cocos2d::CCNode::CCNode(v0);\n  v0->__vftable = (FMODLevelVisualizer_vtbl *)&FMODLevelVisualizer::`vftable';\n  v0->m_width = 0.0;\n  if ( FMODLevelVisualizer::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n    return v0;\n  }\n  else\n  {\n    ((void (__fastcall *)(FMODLevelVisualizer *, __int64))v0->~FMODLevelVisualizer)(v0, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; FMODLevelVisualizer::create from 0x14029e7b0 to 0x14029e82e (126 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::toggleAudioVisualizer @ 0x140248b6a\n; > GJBaseGameLayer::toggleAudioVisualizer @ 0x140248be3\n; > <???> @ 0x1406d1f04\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x14029e7b0\nsub     rsp, 20h                                                       ; +0x2, 0x14029e7b2\nmov     ecx, 148h; Size                                                ; +0x6, 0x14029e7b6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x14029e7bb\nmov     rbx, rax                                                       ; +0x10, 0x14029e7c0\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x14029e7c3\nmov     rcx, rax                                                       ; +0x18, 0x14029e7c8\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x1b, 0x14029e7cb\nlea     rax, ??_7FMODLevelVisualizer@@6B@; const FMODLevelVisualizer::`vftable' ; +0x21, 0x14029e7d1\nmov     [rbx], rax                                                     ; +0x28, 0x14029e7d8\nmov     dword ptr [rbx+140h], 0                                        ; +0x2b, 0x14029e7db\nmov     rax, cs:off_140572AF8                                          ; +0x35, 0x14029e7e5\nlea     rcx, FMODLevelVisualizer__init                                 ; +0x3c, 0x14029e7ec\ncmp     rax, rcx                                                       ; +0x43, 0x14029e7f3\nmov     rcx, rbx                                                       ; +0x46, 0x14029e7f6\njnz     short loc_14029E802                                            ; +0x49, 0x14029e7f9\ncall    FMODLevelVisualizer__init                                      ; +0x4b, 0x14029e7fb\njmp     short loc_14029E804                                            ; +0x50, 0x14029e800\ncall    rax ; FMODLevelVisualizer__init                                ; +0x52, 0x14029e802\nmov     rcx, rbx                                                       ; +0x54, 0x14029e804\ntest    al, al                                                         ; +0x57, 0x14029e807\njz      short loc_14029E81A                                            ; +0x59, 0x14029e809\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x5b, 0x14029e80b\nmov     rax, rbx                                                       ; +0x61, 0x14029e811\nadd     rsp, 20h                                                       ; +0x64, 0x14029e814\npop     rbx                                                            ; +0x68, 0x14029e818\nretn                                                                   ; +0x69, 0x14029e819\nmov     r8, [rbx]                                                      ; +0x6a, 0x14029e81a\nmov     edx, 1                                                         ; +0x6d, 0x14029e81d\ncall    qword ptr [r8+8]                                               ; +0x72, 0x14029e822\nxor     eax, eax                                                       ; +0x76, 0x14029e826\nadd     rsp, 20h                                                       ; +0x78, 0x14029e828\npop     rbx                                                            ; +0x7c, 0x14029e82c\nretn                                                                   ; +0x7d, 0x14029e82d", "xrefs": ["GJBaseGameLayer::toggleAudioVisualizer @ 0x140248b6a", "GJBaseGameLayer::toggleAudioVisualizer @ 0x140248be3", "<???> @ 0x1406d1f04"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}