// // sub_10057C83C from 0x10057c83c to 0x10057c944 (264 bytes) // // 1 xrefs: // > @ 0x1009aade0 // // 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:08:27 +0000 // float __fastcall sub_10057C83C(__int64 a1, int a2, __int64 a3, __int64 a4) { float result; // s0 __int64 v6; // x20 int v7; // w8 __int64 v8; // x0 __int64 v9; // x20 unsigned int *v10; // x8 unsigned int v11; // w9 __int64 v12; // [xsp+8h] [xbp-18h] BYREF if ( !(unsigned int)sub_10057C43C(a1, a2, a3, a4) ) { v6 = *(_QWORD *)(a1 + 8); v7 = *(_DWORD *)(v6 + 120); if ( (v7 & 0x300) != 0 ) { if ( (unsigned int)sub_1005F90C0(*(_QWORD *)(a1 + 8), 20, a1 + 744) ) return result; v6 = *(_QWORD *)(a1 + 8); v7 = *(_DWORD *)(v6 + 120); } if ( (v7 & 0x200) != 0 ) { if ( (unsigned int)sub_1005F90C0(v6, 26, a1 + 752) ) return result; v6 = *(_QWORD *)(a1 + 8); } v12 = a1 + 112; v8 = sub_1005C6318(); if ( !(unsigned int)sub_100563EB0(v6, v8, 0, (__int64)&v12, 0) ) { v9 = v12; if ( !(*(unsigned int (__fastcall **)(__int64, __int64, __int64, _QWORD))(*(_QWORD *)v12 + 40LL))(v12, 1, 1, 0) && !(unsigned int)sub_1005CE840(v9, a1) ) { *(float *)(v9 + 560) = (float)*(int *)(*(_QWORD *)(a1 + 8) + 1744LL); v10 = (unsigned int *)(v9 + 100); do v11 = __ldaxr(v10); while ( __stlxr(v11 | 0x200, v10) ); result = -*(float *)(a1 + 100); *(float *)(a1 + 104) = result; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source