// // sub_1005BFD94 from 0x1005bfd94 to 0x1005bff1c (392 bytes) // // 1 xrefs: // > @ 0x100839d80 // // 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_1005BFD94(__int64 a1, _DWORD *a2) { int v4; // w8 int v5; // w9 int v6; // w9 int v7; // w8 int v8; // w9 __int64 v9; // x8 int v10; // w9 __int64 v11; // x8 if ( !sub_1005AAFFC(a1 + 104, (__int64)(a2 + 26)) ) return 0; if ( !sub_1005AAFFC(a1 + 152, (__int64)(a2 + 38)) ) return 0; if ( !sub_1005AAFFC(a1 + 176, (__int64)(a2 + 44)) ) return 0; v4 = a2[32]; *(_DWORD *)(a1 + 128) = v4; v5 = v4 + 63; *(_DWORD *)(a1 + 132) = a2[33]; *(_DWORD *)(a1 + 136) = a2[34]; *(_DWORD *)(a1 + 140) = a2[35]; *(_DWORD *)(a1 + 144) = a2[36]; *(_DWORD *)(a1 + 148) = a2[37]; if ( v4 + 63 < 0 ) v5 = v4 + 126; if ( v5 >> 6 > *(_DWORD *)(a1 + 164) ) { if ( !sub_1005AAF94(a1 + 152, v5 >> 6) ) return 0; v4 = *(_DWORD *)(a1 + 128); } v6 = v4 + 63; v7 = v4 + 126; if ( v6 >= 0 ) v7 = v6; if ( v7 >> 6 > *(_DWORD *)(a1 + 188) && !sub_1005AAF94(a1 + 176, v7 >> 6) ) return 0; v8 = *(_DWORD *)(a1 + 164); v9 = *(int *)(a1 + 160); if ( (int)v9 < v8 ) { if ( v8 <= (int)v9 + 1 ) v8 = v9 + 1; bzero((void *)(*(_QWORD *)(a1 + 152) + 8 * v9), 8LL * (unsigned int)(v8 - 1 - v9) + 8); } v10 = *(_DWORD *)(a1 + 188); v11 = *(int *)(a1 + 184); if ( (int)v11 < v10 ) { if ( v10 <= (int)v11 + 1 ) v10 = v11 + 1; bzero((void *)(*(_QWORD *)(a1 + 176) + 8 * v11), 8LL * (unsigned int)(v10 - 1 - v11) + 8); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source