//
// __scrt_initialize_crt from 0x1800df8c4 to 0x1800df8fe (58 bytes)
//
// 3 xrefs:
// > dllmain_crt_process_attach @ 0x1800dfd49
// > ??> @ 0x1801bb070
// > ??> @ 0x1801bb07c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
char __fastcall _scrt_initialize_crt(int a1)
{
void *v1; // rdx
cocos2d::CCComponent *v2; // rcx
void *v3; // rdx
cocos2d::CCComponent *v4; // rcx
void *v6; // rdx
if ( !a1 )
byte_1801AC6C8 = 1;
_isa_available_init();
if ( !cocos2d::CCComponent::serialize(v2, v1) )
return 0;
if ( !cocos2d::CCComponent::serialize(v4, v3) )
{
cocos2d::CCComponent::serialize(nullptr, v6);
return 0;
}
return 1;
}