// // sub_1800F8B30 from 0x1800f8b30 to 0x1800f8e10 (736 bytes) // // 2 xrefs: // > sub_180100F90 @ 0x180101088 // > @ 0x180200bb4 // // 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 // __int64 __fastcall sub_1800F8B30(__int64 a1, __int64 a2, __int64 a3, int a4, __int64 a5) { float v5; // xmm2_4 int v9; // ebx int v10; // ecx __int64 v11; // rax int v12; // ecx int *v13; // rax int *v14; // rax int v15; // ebx __int64 v16; // rdx int *v17; // rax int v18; // ecx __int64 v19; // rcx int *v20; // rax int v21; // ecx int v22; // eax int v23; // xmm0_4 __int64 result; // rax int v25; // eax int v26; // ebx __int64 i; // rbp int v28; // eax int v29; // ebx __int64 j; // r14 __int64 v31; // [rsp+28h] [rbp-60h] if ( a1 == a2 ) { v9 = 0; if ( *(int *)a1 > 0 ) { v10 = 0; do { v11 = v10; ++v9; v10 += a4 + 1; *(float *)(a5 + 4 * v11) = v5 + *(float *)(a5 + 4 * v11); } while ( v9 < *(_DWORD *)a1 ); } return 0; } if ( !*(_DWORD *)(a2 + 4) ) { v25 = *(_DWORD *)(a2 + 168); if ( v25 ) { v26 = 0; if ( v25 > 0 ) { for ( i = 0; ; i += 4 ) { v31 = a5 + 4LL * *(_DWORD *)(*(_QWORD *)(a2 + 176) + i) * a4; result = sub_1800F8FF0( a1, v31, a3, a4, (4LL * *(_DWORD *)(*(_QWORD *)(a2 + 184) + i) * a4 - 4LL * *(_DWORD *)(*(_QWORD *)(a2 + 176) + i) * a4) >> 2, v31); if ( (_DWORD)result ) break; if ( ++v26 >= *(_DWORD *)(a2 + 168) ) return 0; } return result; } } else { v28 = *(_DWORD *)(a2 + 156); if ( v28 ) { v29 = 0; if ( v28 > 0 ) { for ( j = 0; ; j += 4 ) { result = sub_1800F8EC0(a1, a2, a3, a5 + 4LL * a4 * *(_DWORD *)(j + *(_QWORD *)(a2 + 160))); if ( (_DWORD)result ) break; if ( ++v29 >= *(_DWORD *)(a2 + 156) ) return 0; } return result; } } } return 0; } if ( !*(_DWORD *)(a1 + 4) ) { v12 = *(_DWORD *)(a1 + 168); if ( v12 ) { v13 = *(int **)(a2 + 136); if ( v13 ) { if ( *v13 >= 0 ) { v14 = *(int **)(a2 + 144); if ( v14 ) { if ( *v14 >= 0 ) { v15 = 0; if ( v12 > 0 ) { v16 = 0; do { v17 = *(int **)(a2 + 136); if ( v17 ) v18 = *v17; else v18 = -1; v19 = a4 * v18 + *(_DWORD *)(v16 + *(_QWORD *)(a1 + 176)); *(float *)(a5 + 4 * v19) = v5 + *(float *)(a5 + 4 * v19); v20 = *(int **)(a2 + 144); if ( v20 ) v21 = *v20; else v21 = -1; ++v15; v22 = *(_DWORD *)(v16 + *(_QWORD *)(a1 + 184)); v16 += 4; *(float *)(a5 + 4LL * (a4 * v21 + v22)) = v5 + *(float *)(a5 + 4LL * (a4 * v21 + v22)); } while ( v15 < *(_DWORD *)(a1 + 168) ); } return 0; } } } } } } if ( *(_DWORD *)(a1 + 152) == -1 || *(_DWORD *)(a2 + 152) == -1 ) v23 = 0; else v23 = 1065353216; return sub_1800F9760(a1, a2, a3, a4, 0, v23, LODWORD(v5), a4, a5, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source