// // sub_18001F344 from 0x18001f344 to 0x18001f394 (80 bytes) // // 4 xrefs: // > sub_18001F530 @ 0x18001f59a // > sub_18001F530 @ 0x18001f60c // > sub_18001F530 @ 0x180021154 // > @ 0x18004d0e8 // // 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:15:45 +0000 // __int64 __fastcall sub_18001F344(__int64 a1, int a2, __int64 a3) { int v3; // edx int v4; // edx __int64 result; // rax if ( a2 ) { v3 = a2 - 1; if ( v3 ) { v4 = v3 - 1; if ( v4 ) { if ( v4 != 1 ) return 1; LOBYTE(result) = sub_18001FD3C(); } else { LOBYTE(result) = sub_18001FD14(); } return (unsigned __int8)result; } else { return sub_18001F394(a1, a3); } } else { LOBYTE(a1) = a3 != 0; return sub_18001F4AC(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source