//
// ExtendedLayer::create from 0x68aa6c to 0x68ab24 (184 bytes)
//
// 2 xrefs:
// > BoomScrollLayer::init @ 0x68abb4
// > ??> @ 0xe8738
//
// 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:50:32 +0000
//
cocos2d::CCLayer *__fastcall ExtendedLayer::create(ExtendedLayer *this)
{
cocos2d::CCLayer *v1; // x19
v1 = (cocos2d::CCLayer *)operator new(0x1A0u);
cocos2d::CCLayer::CCLayer(v1);
*((_QWORD *)v1 + 51) = 0;
*(_QWORD *)v1 = &off_1413030;
*((_QWORD *)v1 + 40) = off_14134C0;
*((_QWORD *)v1 + 41) = &off_1413530;
*((_QWORD *)v1 + 42) = off_1413548;
*((_QWORD *)v1 + 43) = off_1413568;
*((_QWORD *)v1 + 44) = off_1413590;
if ( (unsigned __int8)ExtendedLayer::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayer *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}