// // sub_1800D40E0 from 0x1800d40e0 to 0x1800d4121 (65 bytes) // // 2 xrefs: // > sub_1800DAD10 @ 0x1800dad9a // > sub_1800DADD0 @ 0x1800dae96 // // 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_1800D40E0(int a1, int *a2, int *a3, int *a4) { int v4; // r11d __int64 result; // rax int v6; // r11d v4 = 24; if ( a1 != 32 ) v4 = a1; *a4 = v4 / 3; *a3 = v4 / 3; *a2 = v4 / 3; result = (unsigned int)(3 * (v4 / 3)); v6 = v4 % 3; if ( v6 >= 1 ) ++*a3; if ( v6 == 2 ) ++*a2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source