//
// LevelSearchLayer::create from 0x7e4028 to 0x7e4120 (248 bytes)
//
// 2 xrefs:
// > LevelSearchLayer::scene @ 0x7e4144
// > ??> @ 0xd7c38
//
// 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:54:28 +0000
//
__int64 __fastcall LevelSearchLayer::create(LevelSearchLayer *this)
{
int v1; // w20
__int64 v2; // x19
v1 = (int)this;
v2 = operator new(0x1F8u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v2);
*(_DWORD *)(v2 + 432) = 0;
*(_QWORD *)v2 = &off_143A5B0;
*(_QWORD *)(v2 + 320) = off_143AA68;
*(_QWORD *)(v2 + 328) = &off_143AAD8;
*(_QWORD *)(v2 + 336) = off_143AAF0;
*(_QWORD *)(v2 + 344) = off_143AB10;
*(_QWORD *)(v2 + 352) = off_143AB38;
*(_QWORD *)(v2 + 408) = off_143AB68;
*(_QWORD *)(v2 + 416) = &off_143ABB0;
*(_QWORD *)(v2 + 424) = &off_143ABC8;
*(_QWORD *)(v2 + 440) = 0;
*(_QWORD *)(v2 + 448) = 0;
*(_QWORD *)(v2 + 456) = 0;
*(_QWORD *)(v2 + 464) = 0;
*(_QWORD *)(v2 + 472) = 0;
*(_QWORD *)(v2 + 480) = 0;
*(_QWORD *)(v2 + 488) = 0;
*(_QWORD *)(v2 + 496) = 0;
if ( (unsigned __int8)LevelSearchLayer::init((CCTextInputNode **)v2, v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 16LL))(v2);
return 0;
}
}