// // sub_1400628D0 from 0x1400628d0 to 0x14006297f (175 bytes) // // 3 xrefs: // > sub_14005FFB0 @ 0x14006015d // > sub_1400612C0 @ 0x140061438 // > @ 0x1406c5b20 // // 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_1400628D0(__int64 a1) { __int64 v1; // rdx bool v3; // sf unsigned __int64 v4; // rdx unsigned __int64 v5; // rbx float v6; // xmm0_4 float v7; // xmm0_4 unsigned __int64 v8; // rcx unsigned __int64 v9; // rax unsigned __int64 v10; // rcx v1 = *(_QWORD *)(a1 + 16); v3 = v1 + 1 < 0; v4 = v1 + 1; v5 = *(_QWORD *)(a1 + 56); if ( v3 ) v6 = (float)(int)(v4 & 1 | (v4 >> 1)) + (float)(int)(v4 & 1 | (v4 >> 1)); else v6 = (float)(int)v4; v7 = ceilf(v6 / *(float *)a1); v8 = 0; if ( v7 >= 9.223372e18 ) { v7 = v7 - 9.223372e18; if ( v7 < 9.223372e18 ) v8 = 0x8000000000000000uLL; } v9 = v8 + (unsigned int)(int)v7; v10 = 8; if ( v9 > 8 ) v10 = v9; if ( v5 < v10 ) { if ( v5 >= 0x200 || (v5 *= 8LL, v5 < v10) ) v5 = v10; } return sub_140062A40(a1, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source