//
// 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
//
// Hidden C++ exception states: #wind=1
cocos2d::CCNode *FMODLevelVisualizer::create()
{
cocos2d::CCNode *v0; // rbx
v0 = (cocos2d::CCNode *)operator new(0x148u);
cocos2d::CCNode::CCNode(v0);
*(_QWORD *)v0 = &FMODLevelVisualizer::`vftable';
*((_DWORD *)v0 + 80) = 0;
if ( (unsigned __int8)FMODLevelVisualizer::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);
return nullptr;
}
}