//
// SongObject::create from 0x425610 to 0x425660 (80 bytes)
//
// 23 xrefs:
// > SongsLayer::customSetup @ 0x53c646
// > SongsLayer::customSetup @ 0x53c654
// > SongsLayer::customSetup @ 0x53c662
// > SongsLayer::customSetup @ 0x53c670
// > SongsLayer::customSetup @ 0x53c67e
// > SongsLayer::customSetup @ 0x53c68c
// > SongsLayer::customSetup @ 0x53c69a
// > SongsLayer::customSetup @ 0x53c6a8
// > SongsLayer::customSetup @ 0x53c6b6
// > SongsLayer::customSetup @ 0x53c6c4
// > SongsLayer::customSetup @ 0x53c6d2
// > SongsLayer::customSetup @ 0x53c6e0
// > SongsLayer::customSetup @ 0x53c6ee
// > SongsLayer::customSetup @ 0x53c6fc
// > SongsLayer::customSetup @ 0x53c70a
// > SongsLayer::customSetup @ 0x53c718
// > SongsLayer::customSetup @ 0x53c726
// > SongsLayer::customSetup @ 0x53c734
// > SongsLayer::customSetup @ 0x53c742
// > SongsLayer::customSetup @ 0x53c750
// > SongsLayer::customSetup @ 0x53c75e
// > SongsLayer::customSetup @ 0x53c76c
// > SongsLayer::customSetup @ 0x53c77c
//
// 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:48:04 +0000
//
int *__fastcall SongObject::create(SongObject *this, int a2)
{
int *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (int *)operator new(0x38u);
memset(v3, 0, 0x38u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v3);
*v3 = (int)&off_C8EDB8;
if ( SongObject::init((SongObject *)v3, (int)this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
v4 = *v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(int *))(v4 + 8))(v5);
}
return v3;
}