// // sub_18007C870 from 0x18007c870 to 0x18007c8bd (77 bytes) // // 7 xrefs: // > sub_18007C130 @ 0x18007c1b1 // > sub_18007C540 @ 0x18007c60e // > sub_180099C50 @ 0x18009b37f // > sub_1800E4120 @ 0x1800e427d // > sub_1800E8520 @ 0x1800e8733 // > sub_1800E9660 @ 0x1800e9684 // > sub_1800E9660 @ 0x1800e972d // // 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_18007C870(int a1) { __int64 result; // rax switch ( a1 ) { case 1: result = 2; break; case 2: result = 3; break; case 4: result = 4; break; case 5: result = 5; break; case 6: result = 6; break; case 8: result = 7; break; case 12: result = 8; break; default: result = 1; break; } return result; }