//
// SongSelectNode::create from 0x57c240 to 0x57c318 (216 bytes)
//
// 2 xrefs:
// > SetupSongTriggerPopup::init @ 0x65892c
// > LevelSettingsLayer::init @ 0x6ac2e6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:49 +0000
//
int __fastcall SongSelectNode::create(
int a1,
char a2,
int a3,
int a4,
const cocos2d::CCPoint *a5,
int a6,
const cocos2d::CCPoint *a7,
char a8)
{
int v12; // r4
int v13; // r3
int v14; // r0
float v16[2]; // [sp+24h] [bp-10h] BYREF
v12 = operator new(0x144u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v12);
*(_DWORD *)v12 = &off_CB2408;
*(_DWORD *)(v12 + 264) = &off_CB25E8;
*(_DWORD *)(v12 + 268) = &off_CB25F4;
*(_DWORD *)(v12 + 272) = &off_CB2600;
*(_DWORD *)(v12 + 276) = 0;
*(_BYTE *)(v12 + 280) = 0;
*(_BYTE *)(v12 + 281) = 0;
*(_DWORD *)(v12 + 288) = 0;
*(_DWORD *)(v12 + 320) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, a5);
if ( SongSelectNode::init(v12, a1, a2, a3, a4, v16, a6, a7, a8) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v12);
}
else
{
v13 = *(_DWORD *)v12;
v14 = v12;
v12 = 0;
(*(void (__fastcall **)(int))(v13 + 8))(v14);
}
return v12;
}