// // sub_1005F6480 from 0x1005f6480 to 0x1005f64dc (92 bytes) // // 4 xrefs: // > sub_1005F6560 @ 0x1005f66dc // > sub_1005F7390 @ 0x1005f768c // > sub_1005F7390 @ 0x1005f7728 // > sub_1005F7390 @ 0x1005f77dc // // This function is hookable on this platform (idp: arm, 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:09:51 +0000 // __int64 __fastcall sub_1005F6480(__int64 a1) { int v2; // w9 __int64 result; // x0 v2 = a1 - 2; result = 1; switch ( v2 ) { case 0: return result; case 1: result = 2; break; case 2: case 3: case 4: result = a1; break; case 5: result = 8; break; case 6: result = 12; break; default: if ( (_DWORD)a1 == 1000 ) result = 2; else result = 0; break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source