// // sub_10062D654 from 0x10062d654 to 0x10062d7c4 (368 bytes) // // 1 xrefs: // > sub_10062CB98 @ 0x10062cbcc // // 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_10062D654(__int64 a1, int a2, int a3, __int64 a4) { __int64 v8; // x20 __int64 result; // x0 __int64 v10; // x3 __int16 v11; // w1 int v12; // w3 __int64 v13; // x0 v8 = sub_1005EC8F8(a1); result = 1; switch ( a2 ) { case 1: if ( (unsigned int)sub_1005EB2A0((unsigned int *)a4) != 815 ) { v11 = 108; v12 = 446; goto LABEL_18; } *(_QWORD *)(v8 + 8) = a4; return 1; case 3: case 4: case 5: return result; case 6: if ( a3 != 32 ) { v11 = 111; v12 = 464; goto LABEL_18; } *(_OWORD *)(v8 + 32) = *(_OWORD *)(a4 + 16); *(_OWORD *)(v8 + 16) = *(_OWORD *)a4; *(_DWORD *)v8 = 1; return 1; case 7: if ( *(_DWORD *)v8 ) { v10 = v8 + 16; return (*(__int64 (__fastcall **)(__int64, __int64, __int64, __int64))(*(_QWORD *)a4 + 112LL))( a4, 4100, 32, v10); } v13 = sub_1005EC900(a1); if ( v13 ) { v10 = sub_1005E9848(v13); if ( v10 ) return (*(__int64 (__fastcall **)(__int64, __int64, __int64, __int64))(*(_QWORD *)a4 + 112LL))( a4, 4100, 32, v10); v11 = 116; v12 = 485; } else { v11 = 116; v12 = 479; } LABEL_18: sub_100624720(128, v11, (__int64)"gost_pmeth.c", v12); return 0; case 13: *(_QWORD *)a4 = *(_QWORD *)(v8 + 8); return 1; default: return 4294967294LL; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source