// // sub_996410 from 0x996410 to 0x99645a (74 bytes) // // 5 xrefs: // > sub_994BB8 @ 0x994ece // > sub_994BB8 @ 0x995074 // > sub_995104 @ 0x9951b4 // > sub_9957F0 @ 0x995fe4 // > sub_996A38 @ 0x996a5c // // 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:06:40 +0000 // int __fastcall sub_996410(unsigned int a1) { int result; // r0 result = 16; if ( HIWORD(a1) ) result = 0; else a1 <<= 16; if ( !HIBYTE(a1) ) { result |= 8u; a1 <<= 8; } if ( !(a1 >> 28) ) { result |= 4u; a1 *= 16; } if ( !(a1 >> 30) ) { result |= 2u; a1 *= 4; } if ( (a1 & 0x80000000) == 0 ) { if ( (a1 & 0x40000000) != 0 ) ++result; else return 32; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source