// // sub_1800933C0 from 0x1800933c0 to 0x1800934ff (319 bytes) // // 6 xrefs: // > sub_1800BC770 @ 0x1800bc968 // > sub_1800BD620 @ 0x1800bd8c5 // > sub_1800D7620 @ 0x1800d7910 // > sub_1800FB700 @ 0x1800fb7ec // > sub_1800FBCA0 @ 0x1800fc0ec // > @ 0x1801fa8a8 // // 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_1800933C0(__int64 a1, _OWORD *a2, __int64 a3) { __int64 result; // rax __int128 v5; // xmm1 __int64 v6; // rax _QWORD *v7; // rcx __int64 (__fastcall *v8)(__int64 *, unsigned int, __int64, __int64, unsigned int, int); // rax __int64 v9; // rax __int64 v10; // rdx int v11; // ecx __int64 i; // r8 int v13; // eax _DWORD *v14; // r9 if ( !a2 ) return 31; *(_OWORD *)(a1 + 232) = *a2; *(_OWORD *)(a1 + 248) = a2[1]; *(_OWORD *)(a1 + 264) = a2[2]; v5 = a2[3]; *(_QWORD *)(a1 + 104) = a1; *(_DWORD *)(a1 + 96) = 0; *(_OWORD *)(a1 + 280) = v5; _InterlockedAnd((volatile signed __int32 *)(a1 + 100), 0xFFFFDFFF); _InterlockedAnd((volatile signed __int32 *)(a1 + 100), 0xFFFFFFBF); v6 = *(_QWORD *)(a1 + 168); *(_DWORD *)(a1 + 196) = 0; *(_DWORD *)(a1 + 448) = 0; if ( (*(_DWORD *)(v6 + 120) & 0x200000) != 0 ) { LOBYTE(a3) = 1; sub_18009BA10(a1, 0, a3); } v7 = *(_QWORD **)(a1 + 232); if ( v7 ) { *(_QWORD *)(a1 + 496) = v7[23]; v8 = (__int64 (__fastcall *)(__int64 *, unsigned int, __int64, __int64, unsigned int, int))v7[10]; if ( !v8 ) { if ( !v7[9] ) { LABEL_10: result = sub_1800E2320(*(_QWORD *)(a1 + 168), 1048592, a1, 0); if ( (_DWORD)result ) return result; v9 = *(_QWORD *)(a1 + 232); if ( *(_QWORD *)(v9 + 48) ) { *(_QWORD *)(a1 + 176) = a1; result = (*(__int64 (**)(void))(v9 + 48))(); if ( (_DWORD)result ) return result; } goto LABEL_13; } v8 = sub_1800922A0; } *(_QWORD *)(a1 + 296) = v8; goto LABEL_10; } LABEL_13: v10 = *(_QWORD *)(a1 + 232); v11 = 0; for ( i = 0; ; i += 8 ) { v13 = v10 ? *(_DWORD *)(v10 + 96) : 0; if ( v11 >= v13 ) break; v14 = *(_DWORD **)(i + *(_QWORD *)(v10 + 104)); if ( *v14 == 3 && v14[12] == -3 ) { _InterlockedOr((volatile signed __int32 *)(a1 + 100), 8u); return 0; } ++v11; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source