//
// sub_365588 from 0x365588 to 0x3655d2 (74 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::updateObjectColors @ 0x36787e
// > LevelEditorLayer::updateObjectColors @ 0x367a0a
// > LevelEditorLayer::updateVisibility @ 0x36991c
// > LevelEditorLayer::updateVisibility @ 0x369aa8
//
// 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
//
int __fastcall sub_365588(int a1)
{
if ( *(float *)a1 == flt_AC5CE0 && *(float *)(a1 + 4) == flt_AC5CE4 && *(float *)(a1 + 8) == flt_AC5CE8 )
return *(unsigned __int16 *)(a1 + 12)
- (unsigned __int16)word_AC5CEC
+ (*(unsigned __int16 *)(a1 + 12) == (unsigned __int16)word_AC5CEC)
+ (unsigned __int16)word_AC5CEC
- *(unsigned __int16 *)(a1 + 12);
else
return 0;
}