// // sub_180041800 from 0x180041800 to 0x180041852 (82 bytes) // // 8 xrefs: // > sub_18003EF10 @ 0x18003efb0 // > sub_18003F1A0 @ 0x18003f235 // > sub_18003F450 @ 0x18003f4d9 // > sub_18003F6D0 @ 0x18003f750 // > sub_18003F970 @ 0x18003fa15 // > sub_18003FC20 @ 0x18003fcba // > sub_18003FEE0 @ 0x18003ff6a // > sub_180040170 @ 0x1800401f1 // // 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 11:21:39 +0000 // __int64 __fastcall sub_180041800(unsigned __int64 a1) { unsigned int v2; // ecx v2 = 1; if ( a1 < 0xA ) return v2; while ( a1 >= 0x64 ) { if ( a1 < 0x3E8 ) return v2 + 2; if ( a1 < 0x2710 ) return v2 + 3; v2 += 4; a1 /= 0x2710u; if ( a1 < 0xA ) return v2; } return v2 + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source