//
// LevelAreaInnerLayer::create from 0xb5d3e4 to 0xb5d4b8 (212 bytes)
//
// 2 xrefs:
// > LevelAreaInnerLayer::scene @ 0xb5d4dc
// > ??> @ 0xf8440
//
// 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 13:02:10 +0000
//
__int64 __fastcall LevelAreaInnerLayer::create(LevelAreaInnerLayer *this)
{
unsigned __int8 v1; // w20
__int64 v2; // x19
v1 = (unsigned __int8)this;
v2 = operator new(0x1B8u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v2);
*(_QWORD *)(v2 + 416) = 0;
*(_QWORD *)v2 = &off_14C26C0;
*(_QWORD *)(v2 + 320) = off_14C2B58;
*(_QWORD *)(v2 + 328) = &off_14C2BC8;
*(_QWORD *)(v2 + 336) = off_14C2BE0;
*(_QWORD *)(v2 + 344) = off_14C2C00;
*(_QWORD *)(v2 + 352) = off_14C2C28;
*(_QWORD *)(v2 + 408) = &off_14C2C58;
*(_BYTE *)(v2 + 424) = 0;
*(_DWORD *)(v2 + 428) = 0;
*(_BYTE *)(v2 + 432) = 0;
if ( (unsigned __int8)LevelAreaInnerLayer::init((LevelAreaInnerLayer *)v2, v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}