//
// SongSelectNode::create from 0x140167c40 to 0x140167d76 (310 bytes)
//
// 3 xrefs:
// > LevelSettingsLayer::init @ 0x1404593fc
// > SetupSongTriggerPopup::init @ 0x1405f29cc
// > ??> @ 0x140917fd8
//
// 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:27:27 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCNode *__fastcall SongSelectNode::create(
int a1,
unsigned __int8 a2,
int a3,
int a4,
const struct cocos2d::CCPoint *a5,
__int64 a6,
__int64 a7,
char a8)
{
cocos2d::CCNode *v12; // r14
__int64 v13; // rax
cocos2d::CCNode *v15; // [rsp+50h] [rbp-18h] BYREF
v12 = (cocos2d::CCNode *)operator new(0x1B0u);
v15 = v12;
cocos2d::CCNode::CCNode(v12);
*(_QWORD *)v12 = &SongSelectNode::`vftable';
*((_QWORD *)v12 + 40) = &SongSelectNode::`vftable';
*((_QWORD *)v12 + 41) = &SongSelectNode::`vftable';
*((_QWORD *)v12 + 42) = &SongSelectNode::`vftable';
*((_DWORD *)v12 + 86) = 0;
*((_WORD *)v12 + 174) = 0;
*((_QWORD *)v12 + 45) = 0;
*((_QWORD *)v12 + 53) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, a5);
if ( (unsigned __int8)SongSelectNode::init((_DWORD)v12, a1, a2, a3, a4, v13, a6, a7, a8) )
{
cocos2d::CCObject::autorelease(v12);
return v12;
}
else
{
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v12 + 8LL))(v12, 1);
return nullptr;
}
}