//
// __scrt_uninitialize_crt from 0x1800dfa48 to 0x1800dfa71 (41 bytes)
//
// 3 xrefs:
// > dllmain_crt_process_detach @ 0x1800dfea6
// > ??> @ 0x1801bb0a0
// > ??> @ 0x1801bb0ac
//
// 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_uninitialize_crt(cocos2d::CCComponent *a1, void *a2)
{
char v2; // bl
cocos2d::CCComponent *v3; // rcx
void *v4; // rdx
v2 = (char)a1;
if ( !byte_1801AC6C8 || !(_BYTE)a2 )
{
cocos2d::CCComponent::serialize(a1, a2);
LOBYTE(v3) = v2;
cocos2d::CCComponent::serialize(v3, v4);
}
return 1;
}