//
// sub_1800E50B8 from 0x1800e50b8 to 0x1800e50e1 (41 bytes)
//
// 3 xrefs:
// > sub_1800E55A0 @ 0x1800e5605
// > ??> @ 0x1801c5568
// > ??> @ 0x1801c5574
//
// 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_1800E50B8(cocos2d::CCComponent *a1, void *a2)
{
char v2; // bl
cocos2d::CCComponent *v3; // rcx
void *v4; // rdx
v2 = (char)a1;
if ( !byte_1801B6748 || !(_BYTE)a2 )
{
cocos2d::CCComponent::serialize(a1, a2);
LOBYTE(v3) = v2;
cocos2d::CCComponent::serialize(v3, v4);
}
return 1;
}