// // sub_180027360 from 0x180027360 to 0x1800273c5 (101 bytes) // // 2 xrefs: // > sub_180027A20 @ 0x180027c42 // > sub_180027A20 @ 0x180027c5c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:53:00 +0000 // __int64 __fastcall sub_180027360(__int64 a1) { __int64 v1; // r8 int v2; // eax int v3; // edx bool v4; // cc int v5; // edx int v6; // eax int v7; // edx v1 = *(_QWORD *)(a1 + 8); v2 = *(_DWORD *)(a1 + 256); v3 = *(_DWORD *)(v1 + 64); v4 = v3 <= v2; if ( v3 < v2 ) { v5 = v3 + 4 * *(unsigned __int8 *)(a1 + 260); *(_DWORD *)(v1 + 64) = v5; v6 = *(_DWORD *)(a1 + 256); if ( v5 <= v6 ) goto LABEL_8; *(_DWORD *)(v1 + 64) = v6; v3 = v6; v4 = v6 <= *(_DWORD *)(a1 + 256); } if ( !v4 ) { v7 = v3 - 4 * *(unsigned __int8 *)(a1 + 260); *(_DWORD *)(v1 + 64) = v7; if ( v7 < *(_DWORD *)(a1 + 256) ) v7 = *(_DWORD *)(a1 + 256); *(_DWORD *)(v1 + 64) = v7; } LABEL_8: *(_BYTE *)(v1 + 60) |= 1u; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source