//
// CreateGuidelinesLayer::create from 0x3f8c6c to 0x3f8cae (66 bytes)
//
// 1 xrefs:
// > CustomSongLayer::onCreateLines @ 0x57ae22
//
// 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:47:19 +0000
//
CreateGuidelinesLayer *__fastcall CreateGuidelinesLayer::create(int a1, int a2)
{
CreateGuidelinesLayer *v4; // r4
int v5; // r3
CreateGuidelinesLayer *v6; // r0
v4 = (CreateGuidelinesLayer *)operator new(0x23Cu);
CreateGuidelinesLayer::CreateGuidelinesLayer(v4);
if ( CreateGuidelinesLayer::init((int)v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = *(_DWORD *)v4;
v6 = v4;
v4 = nullptr;
(*(void (__fastcall **)(CreateGuidelinesLayer *))(v5 + 8))(v6);
}
return v4;
}