// // sub_1003A6D80 from 0x1003a6d80 to 0x1003a6e61 (225 bytes) // // 1 xrefs: // > @ 0x100927668 // // 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 // void __fastcall sub_1003A6D80(__int64 a1, __int64 a2) { int v2; // r15d __int64 v3; // rbx float *v4; // rax float v5; // [rsp-34h] [rbp-34h] BYREF float v6; // [rsp-2Ch] [rbp-2Ch] if ( !*(_BYTE *)(a1 + 136) && *(_QWORD *)(a1 + 144) == a2 ) { *(_QWORD *)(a1 + 144) = 0; v2 = *(_DWORD *)(a1 + 260); if ( v2 >= 0 && (int)sub_100720070(*(_QWORD *)(32 * (*(unsigned __int8 *)(a1 + 128) ^ 1u) + a1 + 120)) > v2 ) { v3 = *(_QWORD *)(a1 + 176); v6 = (float)-v2; v4 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 320) + 312LL))(a1 - 320); sub_10028CBE0(&v5, (float)(*v4 - *(float *)(a1 + 264)) * v6, 0.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v3 + 184LL))(v3, &v5); *(_DWORD *)(a1 + 96) = *(_DWORD *)(a1 + 260); *(_DWORD *)(a1 + 260) = v2; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source