// // sub_D71B0 from 0xd71b0 to 0xd7340 (400 bytes) // // 1 xrefs: // > sub_D7378 @ 0xd7384 // // 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_D71B0(__int64 a1, int a2, float *a3, unsigned int a4) { __int64 v4; // x8 unsigned __int64 v9; // x8 unsigned __int64 v10; // x23 int v11; // w24 float *v12; // x21 unsigned int v13; // w0 long double v14; // q0 unsigned int v15; // w22 const void *v16; // x1 unsigned __int64 v18[3]; // [xsp+8h] [xbp-58h] BYREF __int64 v19; // [xsp+20h] [xbp-40h] BYREF int v20; // [xsp+28h] [xbp-38h] char v21; // [xsp+2Ch] [xbp-34h] v4 = *(_QWORD *)(a1 + 72); v21 = 0; v19 = v4; v20 = 23; sub_520A0((__int64)&v19); v9 = *(_QWORD *)(a1 + 72); v10 = v9 + 1728; do { v10 = *(_QWORD *)v10; if ( v10 == v9 + 1728 ) { v15 = 30; goto LABEL_20; } } while ( *(_DWORD *)(v10 + 52) != a2 ); v11 = *(_DWORD *)(v10 + 60); v12 = a3; v18[1] = 0; v18[2] = v9; v18[0] = 0; if ( v11 != 5 ) { v12 = (float *)sub_D67D4(v18, *(_DWORD *)(v10 + 64) * a4); if ( !v12 ) { v15 = 38; goto LABEL_19; } } if ( !*(_QWORD *)(v10 + 24) ) { v16 = *(const void **)(v10 + 32); if ( v16 ) { memcpy(a3, v16, 4 * a4 * *(_DWORD *)(v10 + 64)); *(_DWORD *)(v10 + 68) = 0; } else { v15 = sub_7DFC4(*(_QWORD *)(v10 + 16), (__int64)v12, a4); if ( v15 ) goto LABEL_19; } LABEL_16: if ( v11 == 5 || (LODWORD(v14) = 1.0, (v15 = sub_AC888(a3, v12, *(_DWORD *)(v10 + 60), 5, *(_DWORD *)(v10 + 64) * a4, 1u, 1u, 1, v14)) == 0) ) { v15 = 0; } goto LABEL_19; } v13 = sub_D7BBC(); if ( !v13 ) { if ( *(_QWORD *)(v10 + 32) ) { *(_DWORD *)(v10 + 68) = 0; *(_DWORD *)(v10 + 72) = 0; } goto LABEL_16; } v15 = v13; LABEL_19: sub_D6834(v18); LABEL_20: sub_51F94((__int64)&v19); return v15; }
GD Web Decomp Icon

GD Web Decomp

Raw Source