//
// CustomizeObjectLayer::create from 0x1001d7430 to 0x1001d748a (90 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x100009829
//
// 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:26:24 +0000
//
void *__fastcall CustomizeObjectLayer::create(__int64 a1, __int64 a2)
{
void *v2; // rbx
v2 = operator new(0x3A0u);
CustomizeObjectLayer::CustomizeObjectLayer(v2);
if ( (unsigned __int8)CustomizeObjectLayer::init(v2, a1, a2) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}