// // sub_8F3814 from 0x8f3814 to 0x8f398c (376 bytes) // // 2 xrefs: // > sub_8F3A18 @ 0x8f3b70 // > sub_8F4378 @ 0x8f44a4 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:04:13 +0000 // int __fastcall sub_8F3814(int a1) { int v2; // [sp+8h] [bp-Ch] int v3; // [sp+Ch] [bp-8h] v2 = -1; v3 = *(unsigned __int16 *)(a1 + 46); switch ( *(_WORD *)(a1 + 44) ) { case 8: if ( v3 == 4 || v3 == 1 ) v2 = 0; break; case 0xB: if ( v3 == 4 || v3 == 1 ) v2 = 2; break; case 0xC: if ( v3 == 4 || v3 == 2 ) v2 = 3; break; case 0x10: if ( v3 == 4 || v3 == 1 ) v2 = 4; break; case 0x20: if ( v3 == 3 ) v2 = 5; break; default: return v2; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source