// // sub_10063F410 from 0x10063f410 to 0x10063f465 (85 bytes) // // 1 xrefs: // > GameSettingsLayer::buildTabContent @ 0x1005ff825 // // 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 12:34:42 +0000 // __int64 __fastcall sub_10063F410(__int64 a1, int a2) { __int64 result; // rax __int64 v3; // r8 __int64 v4; // rdi int v5; // ecx result = *(int *)(a1 + 1068); if ( result >= 0 && a2 > 0 ) { v3 = *(_QWORD *)(a1 + 1016); if ( (int)result < (int)(954437177 * ((unsigned __int64)(*(_QWORD *)(a1 + 1024) - v3) >> 3)) ) { v4 = 9 * result; v5 = *(_DWORD *)(v3 + 72 * result + 60); result = (unsigned int)(v5 / a2); if ( v5 % a2 ) { result = v3 + 8 * v4 + 60; *(_DWORD *)result = a2 + v5 - v5 % a2; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source