//
// PlayLayer::create from 0x1000795d0 to 0x10007962b (91 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:19:59 +0000
//
void *__fastcall PlayLayer::create(__int64 a1, unsigned __int8 a2)
{
void *v2; // rbx
v2 = operator new(0x3A38u);
sub_10008E130(v2);
if ( (unsigned __int8)PlayLayer::init(v2, a1, a2) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}