// // sub_10050FB30 from 0x10050fb30 to 0x10050fc04 (212 bytes) // // 1 xrefs: // > @ 0x100858720 // // 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_10050FB30(__int64 *a1, int a2, int a3) { __int64 v3; // x20 int v4; // w8 float v5; // s1 float v6; // s0 __int64 v8; // x19 __int64 v9; // x8 _QWORD *v10; // x11 if ( a2 != 23 ) return 31; v3 = *a1; v4 = a3 != 0; if ( *(unsigned __int8 *)(*a1 + 568) != v4 ) { *(_BYTE *)(v3 + 568) = v4; if ( a3 ) { v5 = *(float *)(v3 + 560); v6 = *(float *)(v3 + 564); if ( v5 >= v6 ) v5 = *(float *)(v3 + 564); } else { v5 = *(float *)(v3 + 552); v6 = *(float *)(v3 + 556); } *(float *)(v3 + 952) = v5; *(float *)(v3 + 956) = v6; v8 = *(_QWORD *)(v3 + 168); sub_100442B5C(v8, 6u); v9 = *(_QWORD *)(v3 + 168); *(_BYTE *)(v3 + 544) = 1; v10 = *(_QWORD **)(v3 + 888); *v10 = *(_QWORD *)(v3 + 880); *(_QWORD *)(*(_QWORD *)(v3 + 880) + 8LL) = v10; *(_QWORD *)(v3 + 888) = v3 + 880; v9 += 68064; *(_QWORD *)(v3 + 888) = *(_QWORD *)(v9 + 8); *(_QWORD *)(v3 + 880) = v9; *(_QWORD *)(v9 + 8) = v3 + 880; **(_QWORD **)(v3 + 888) = v3 + 880; sub_100442B7C(v8, 6u); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source