// // sub_1005EBEE8 from 0x1005ebee8 to 0x1005ec098 (432 bytes) // // 1 xrefs: // > @ 0x10083e000 // // 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_1005EBEE8(unsigned int *a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6, int a7) { int *v11; // x8 __int64 **v12; // x0 __int64 **v13; // x19 unsigned int v14; // w0 char *v15; // x0 int v16; // w6 int v17; // w7 int *v18; // x8 __int64 v19; // x2 int v20; // w3 int v21; // w4 int v22; // w5 int v23; // w6 int v24; // w7 __int64 v25; // x20 int v26; // w4 __int16 v28; // w2 int v29; // w4 __int64 v30; // [xsp+8h] [xbp-38h] BYREF if ( !a4 || *(_DWORD *)a4 != 16 || (v11 = *(int **)(a4 + 8)) == nullptr ) { v26 = 203; LABEL_11: sub_1005E0E48(6, 118, 114, (__int64)"p5_crpt2.c", v26); v13 = nullptr; v25 = 0; goto LABEL_12; } v30 = *((_QWORD *)v11 + 1); v12 = (__int64 **)sub_1005FC474(0, &v30, *v11); v13 = v12; if ( !v12 ) { v26 = 210; goto LABEL_11; } if ( (unsigned int)sub_10058AE10(**v12) != 69 ) { v28 = 124; v29 = 218; LABEL_18: sub_1005E0E48(6, 118, v28, (__int64)"p5_crpt2.c", v29); v25 = 0; goto LABEL_12; } v14 = sub_10058AE10(*v13[1]); v15 = sub_10058AC68(v14); v18 = (int *)sub_1005E8058((__int64)v15); if ( !v18 ) { v28 = 107; v29 = 229; goto LABEL_18; } if ( !(unsigned int)sub_1005E35C4(a1, v18, 0, 0, nullptr, a7, v16, v17) ) { v25 = 0; goto LABEL_12; } if ( (sub_1005EAF5C((__int64 *)a1, v13[1][1], v19, v20, v21, v22, v23, v24) & 0x80000000) != 0 ) { v28 = 122; v29 = 237; goto LABEL_18; } v25 = sub_1005EC098(a1, a2, a3, (*v13)[1]); LABEL_12: sub_1005FC480(v13); return v25; }
GD Web Decomp Icon

GD Web Decomp

Raw Source