// // sub_10050C1D0 from 0x10050c1d0 to 0x10050c288 (184 bytes) // // 1 xrefs: // > sub_10050C5F4 @ 0x10050c5f8 // // 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_10050C1D0(__int64 a1) { __int64 v2; // x8 __int64 v3; // x20 __int64 result; // x0 __int64 v5; // x9 memset_pattern16((void *)(a1 + 536), &unk_100647E20, 0x80u); *(_DWORD *)(a1 + 664) = *(_DWORD *)(*(_QWORD *)(a1 + 168) + 1744LL); v2 = *(_QWORD *)(a1 + 232); if ( *(int *)(v2 + 96) >= 1 ) { v3 = 0; while ( 1 ) { v5 = *(_QWORD *)(*(_QWORD *)(v2 + 104) + 8 * v3); if ( *(_DWORD *)v5 == 2 ) break; if ( !*(_DWORD *)v5 ) { result = sub_1004A79E0(a1, v3, *(float *)(v5 + 56)); if ( (_DWORD)result ) return result; goto LABEL_8; } LABEL_9: if ( ++v3 >= *(int *)(v2 + 96) ) return 0; } result = sub_1004A7AC8(a1, v3); if ( (_DWORD)result ) return result; LABEL_8: v2 = *(_QWORD *)(a1 + 232); goto LABEL_9; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source