// // sub_D06B78 from 0xd06b78 to 0xd06d28 (432 bytes) // // 1 xrefs: // > @ 0x111ed18 // // 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 // _QWORD *__fastcall sub_D06B78( __int64 a1, _QWORD *a2, __int64 a3, _QWORD *a4, __int64 a5, unsigned __int8 a6, __int64 a7, _DWORD *a8, _QWORD *a9) { int v12; // w24 void *v13; // x22 _QWORD *v14; // x0 char *v15; // x2 _QWORD *v16; // x23 __int64 v17; // x20 char *v18; // x0 _QWORD *v20; // x0 char *v21; // x24 char *v22; // x20 unsigned int *v23; // x2 int v24; // w1 char *v29; // [xsp+78h] [xbp+78h] BYREF v12 = a6; v13 = sub_CFDB80(a7 + 208); v29 = &byte_124B6C8; if ( v12 ) { v14 = sub_D05C8C(a1, a2, a3, a4, a5, a7, a8, (__int64)&v29); v15 = v29; v16 = v14; v17 = *((_QWORD *)v29 - 3); if ( !v17 ) goto LABEL_3; } else { v20 = sub_D04EC0(a1, a2, a3, a4, a5, a7, a8, (__int64)&v29); v15 = v29; v16 = v20; v17 = *((_QWORD *)v29 - 3); if ( !v17 ) { LABEL_3: v18 = v15 - 24; if ( v15 - 24 == (char *)&qword_124B6B0 ) return v16; goto LABEL_9; } } sub_D1D800(a9, v17, 0); v21 = v29; v22 = &v29[v17]; if ( (*(_DWORD *)(*a9 - 8LL) & 0x80000000) == 0 ) sub_D1B6B8(a9); (*(void (__fastcall **)(void *, char *, char *))(*(_QWORD *)v13 + 88LL))(v13, v21, v22); v15 = v29; v18 = v29 - 24; if ( v29 - 24 != (char *)&qword_124B6B0 ) { LABEL_9: if ( &pthread_create ) { v23 = (unsigned int *)(v15 - 8); do v24 = __ldaxr(v23); while ( __stlxr(v24 - 1, v23) ); } else { v24 = *((_DWORD *)v15 - 2); *((_DWORD *)v15 - 2) = v24 - 1; } if ( v24 <= 0 ) operator delete(v18); } return v16; }
GD Web Decomp Icon

GD Web Decomp

Raw Source