// // sub_10050EA14 from 0x10050ea14 to 0x10050ebac (408 bytes) // // 1 xrefs: // > sub_10050F9DC @ 0x10050f9e0 // // 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_10050EA14(__int64 a1, __int64 a2, __int64 a3, __int64 a4, int a5, int a6, double a7, double a8) { __int64 result; // x0 __int64 v13; // x5 __int64 v14; // x23 int v15; // w8 int v16; // w9 __int64 v17; // x0 float *v18; // x1 __int64 v19; // x2 _BOOL4 v21; // w3 __int64 v22; // x24 int v23; // w8 unsigned int v24; // w23 int v25; // w8 int v26; // [xsp+Ch] [xbp-34h] BYREF if ( a6 == 1 ) { if ( a5 ) { return 11; } else { v22 = *(_QWORD *)(a1 + 536); if ( (_DWORD)a2 || (result = sub_10050EBAC(a1), !(_DWORD)result) ) { v23 = *(_DWORD *)(a1 + 632); if ( v23 ) { if ( v23 == 1 ) { v24 = 3; } else { v24 = *(_DWORD *)(a1 + 636); if ( !v24 ) v24 = *(_DWORD *)(*(_QWORD *)(a1 + 168) + 70460LL); } } else { v24 = 2; } v26 = 0; sub_100442768(*(_QWORD *)(a1 + 168), v24, &v26); if ( a4 ) { v25 = v26; *(_DWORD *)(a4 + 32) = v24; **(_DWORD **)(a4 + 8) = v25; } if ( (_DWORD)a2 && !sub_10050E84C(a1, *(_DWORD *)(a3 + 32)) && !*(_QWORD *)(v22 + 64) && *(float *)(v22 + 128) == 1.0 && *(float *)(v22 + 104) == 1.0 ) { return 6; } else { return 0; } } } } else { v13 = **(unsigned int **)(a3 + 8); v14 = **(unsigned int **)(a4 + 8); v15 = *(_DWORD *)(a3 + 32); v16 = v15; if ( !v15 ) v16 = *(_DWORD *)(*(_QWORD *)(a1 + 168) + 70460LL); *(_DWORD *)(a1 + 592) = v16; v17 = *(_QWORD *)(a1 + 536); v18 = **(float ***)(a4 + 24); v19 = **(_QWORD **)(a3 + 24); v21 = *(_DWORD *)(a4 + 32) == 1 || v15 == 1; result = sub_1004F1D1C(v17, v18, v19, v21, v14, v13, a2, 1, a7, a8); if ( !(_DWORD)result ) { if ( (_DWORD)v14 == **(_DWORD **)(a4 + 8) ) return 0; else return 28; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source