//
// sub_45F7AC from 0x45f7ac to 0x45f7f6 (74 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::updateObjectColors @ 0x46160e
// > LevelEditorLayer::updateObjectColors @ 0x46179a
// > LevelEditorLayer::updateVisibility @ 0x463116
// > LevelEditorLayer::updateVisibility @ 0x4632a0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:52 +0000
//
int __fastcall sub_45F7AC(int a1)
{
if ( *(float *)a1 == flt_D2B8A8 && *(float *)(a1 + 4) == flt_D2B8AC && *(float *)(a1 + 8) == flt_D2B8B0 )
return *(unsigned __int16 *)(a1 + 12)
- (unsigned __int16)word_D2B8B4
+ (*(unsigned __int16 *)(a1 + 12) == (unsigned __int16)word_D2B8B4)
+ (unsigned __int16)word_D2B8B4
- *(unsigned __int16 *)(a1 + 12);
else
return 0;
}