// // sub_10050E84C from 0x10050e84c to 0x10050e974 (296 bytes) // // 1 xrefs: // > sub_10050EA14 @ 0x10050eb5c // // 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 // bool __fastcall sub_10050E84C(__int64 a1, int a2) { int v5; // w8 unsigned int v6; // w21 unsigned int v7; // w1 int v8; // w22 unsigned int v9; // w1 float v10; // s0 int v11; // [xsp+Ch] [xbp-24h] BYREF if ( *(float *)(a1 + 696) != 0.0 ) return 1; v5 = *(_DWORD *)(a1 + 632); if ( v5 == 2 ) { v6 = sub_10043CAD0(*(_DWORD *)(a1 + 708), *(_DWORD *)(a1 + 636)); v7 = *(_DWORD *)(a1 + 636); v11 = 0; sub_100442768(*(_QWORD *)(a1 + 168), v7, &v11); if ( v11 >= 1 ) { v8 = 0; while ( ((v6 >> v8) & 1) != 0 ) { ++v8; v9 = *(_DWORD *)(a1 + 636); v11 = 0; sub_100442768(*(_QWORD *)(a1 + 168), v9, &v11); if ( v8 >= v11 ) goto LABEL_13; } return 1; } LABEL_13: if ( (!a2 || *(_DWORD *)(*(_QWORD *)(a1 + 168) + 70460LL) == a2) && *(float *)(a1 + 648) == 360.0 && *(float *)(a1 + 652) == 0.0 ) { v10 = *(float *)(a1 + 656); return v10 != 0.0; } return 1; } if ( v5 == 1 ) { if ( a2 == 3 ) { v10 = *(float *)(a1 + 640); return v10 != 0.0; } return 1; } return v5 || a2 != 2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source