//
// sub_100403570 from 0x100403570 to 0x10040360c (156 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateLevelSaveInfo @ 0x100404dc4
// > EditorPauseLayer::init @ 0x1004434b0
//
// This function is hookable on this platform (idp: arm, 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:04:40 +0000
//
float __fastcall sub_100403570(__int64 a1)
{
__int64 v1; // x19
unsigned int v2; // w20
float v3; // s8
__int64 v4; // x21
float v5; // s0
v1 = *(_QWORD *)(a1 + 3280);
if ( !(unsigned int)sub_1002E757C(v1) )
return 0.0;
v2 = 0;
v3 = 0.0;
do
{
v4 = sub_1002E75A0(v1, v2);
v5 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4);
if ( v5 > v3 )
v3 = *(float *)(*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 192LL))(v4, v5);
++v2;
}
while ( v2 < (unsigned int)sub_1002E757C(v1) );
return v3;
}