//
// sub_1800E4F34 from 0x1800e4f34 to 0x1800e4f6e (58 bytes)
//
// 3 xrefs:
// > sub_1800E5488 @ 0x1800e54a5
// > ??> @ 0x1801c5538
// > ??> @ 0x1801c5544
//
// 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 11:22:38 +0000
//
char __fastcall sub_1800E4F34(int a1)
{
void *v1; // rdx
cocos2d::CCComponent *v2; // rcx
void *v3; // rdx
cocos2d::CCComponent *v4; // rcx
void *v6; // rdx
if ( !a1 )
byte_1801B6748 = 1;
sub_1800E51A0();
if ( !cocos2d::CCComponent::serialize(v2, v1) )
return 0;
if ( !cocos2d::CCComponent::serialize(v4, v3) )
{
cocos2d::CCComponent::serialize(nullptr, v6);
return 0;
}
return 1;
}