//
// LoadingLayer::updateProgress from 0x10038c470 to 0x10038c4d0 (96 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:29:12 +0000
//
__int64 __fastcall LoadingLayer::updateProgress(__int64 a1, int a2, double a3, double a4, __m128 a5)
{
__int64 v5; // rbx
_BYTE v7[32]; // [rsp+0h] [rbp-20h] BYREF
a5.f32[0] = fminf((float)((float)a2 / 100.0) * *(float *)(a1 + 440), *(float *)(a1 + 440));
v5 = *(_QWORD *)(a1 + 432);
sub_100278270((__int64)v7, 0.0, 0.0, a5, (__m128)*(unsigned int *)(a1 + 444));
return (*(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 1136LL))(v5, v7);
}