// // sub_7533B8 from 0x7533b8 to 0x7534fa (322 bytes) // // 0 xrefs: // // 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 // _DWORD *__fastcall sub_7533B8(_DWORD *a1, int a2, _DWORD *a3, int a4, _DWORD *a5, int a6, int a7, _DWORD *a8, int a9) { void *v11; // r8 int v12; // r8 int v13; // r3 _DWORD *v14; // r3 int v15; // r1 char *v16; // r2 bool v17; // zf unsigned __int8 *v19; // r3 int v20; // r0 unsigned int *v21; // r3 int v22; // r1 _DWORD v23[2]; // [sp+18h] [bp-1Ch] BYREF _DWORD *v24; // [sp+20h] [bp-14h] int v25; // [sp+24h] [bp-10h] char *v26; // [sp+28h] [bp-Ch] BYREF int v27; // [sp+2Ch] [bp-8h] BYREF v26 = (char *)&unk_ACDDA8; v24 = a3; v25 = a4; sub_7740F8(&v26, 32); sub_75275C(v23, a2, v24, v25, a5, a6, a7, a8, (int *)&v26); v11 = v26; v24 = (_DWORD *)v23[0]; v25 = v23[1]; v27 = sub_7566B8(v23[0]); std::__convert_to_v(v11, a9, a8, &v27); if ( v24 ) { if ( v25 != -1 ) goto LABEL_3; v19 = (unsigned __int8 *)v24[2]; if ( (unsigned int)v19 < v24[3] ) { v20 = *v19; LABEL_12: v25 = v20; LABEL_3: v12 = 0; if ( !a5 ) goto LABEL_7; goto LABEL_4; } v20 = (*(int (**)(void))(*v24 + 36))(); if ( v20 != -1 ) goto LABEL_12; v24 = nullptr; } v12 = 1; if ( a5 ) { LABEL_4: v13 = a6 == -1 && a5[2] >= a5[3] && (*(int (__fastcall **)(_DWORD *))(*a5 + 36))(a5) == -1; if ( v12 != v13 ) goto LABEL_7; } *a8 |= 2u; LABEL_7: v14 = v26; v15 = v25; v16 = v26 - 12; v17 = v26 - 12 == (char *)&dword_ACDD9C; *a1 = v24; a1[1] = v15; if ( !v17 ) { if ( &pthread_create ) { v21 = v14 - 1; __dmb(0xFu); do v22 = __ldrex(v21); while ( __strex(v22 - 1, v21) ); __dmb(0xFu); } else { v22 = *(v14 - 1); *(v14 - 1) = v22 - 1; } if ( v22 <= 0 ) operator delete(v16); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source