//
// SongObject::create from 0x737a9c to 0x737b68 (204 bytes)
//
// 24 xrefs:
// > SongsLayer::customSetup @ 0x906af0
// > SongsLayer::customSetup @ 0x906b04
// > SongsLayer::customSetup @ 0x906b18
// > SongsLayer::customSetup @ 0x906b2c
// > SongsLayer::customSetup @ 0x906b40
// > SongsLayer::customSetup @ 0x906b54
// > SongsLayer::customSetup @ 0x906b68
// > SongsLayer::customSetup @ 0x906b7c
// > SongsLayer::customSetup @ 0x906b90
// > SongsLayer::customSetup @ 0x906ba4
// > SongsLayer::customSetup @ 0x906bb8
// > SongsLayer::customSetup @ 0x906bcc
// > SongsLayer::customSetup @ 0x906be0
// > SongsLayer::customSetup @ 0x906bf4
// > SongsLayer::customSetup @ 0x906c08
// > SongsLayer::customSetup @ 0x906c1c
// > SongsLayer::customSetup @ 0x906c30
// > SongsLayer::customSetup @ 0x906c44
// > SongsLayer::customSetup @ 0x906c58
// > SongsLayer::customSetup @ 0x906c6c
// > SongsLayer::customSetup @ 0x906c80
// > SongsLayer::customSetup @ 0x906c94
// > SongsLayer::customSetup @ 0x906ca8
// > ??> @ 0xa2b20
//
// This function is hookable on this platform (idp: arm, 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 12:52:39 +0000
//
cocos2d::CCObject *__fastcall SongObject::create(SongObject *this)
{
int v1; // w20
cocos2d::CCObject *v2; // x0
cocos2d::CCObject *v3; // x19
v1 = (int)this;
v2 = (cocos2d::CCObject *)operator new(0x40u);
*(_QWORD *)v2 = 0;
*((_DWORD *)v2 + 2) = 0;
v3 = v2;
*((_DWORD *)v2 + 3) = 0;
*((_DWORD *)v2 + 4) = 0;
*((_DWORD *)v2 + 5) = 0;
*((_DWORD *)v2 + 6) = 0;
*((_DWORD *)v2 + 7) = 0;
*((_DWORD *)v2 + 8) = 0;
*((_DWORD *)v2 + 9) = 0;
*((_DWORD *)v2 + 10) = 0;
*((_DWORD *)v2 + 11) = 0;
*((_DWORD *)v2 + 12) = 0;
*((_DWORD *)v2 + 13) = 0;
*((_DWORD *)v2 + 14) = 0;
cocos2d::CCObject::CCObject(v2);
*(_QWORD *)v3 = &off_142A9A0;
if ( (unsigned __int8)SongObject::init(v3, v1) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
else
{
(*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 16LL))(v3);
return nullptr;
}
}