// // sub_1005B2DE0 from 0x1005b2de0 to 0x1005b315c (892 bytes) // // 1 xrefs: // > sub_1005B3528 @ 0x1005b365c // // 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:11 +0000 // __int64 __fastcall sub_1005B2DE0(__int64 a1, int a2) { int v2; // w23 int v3; // w24 unsigned int v4; // w21 char v5; // w25 int v6; // w25 int v7; // w21 if ( a2 >= 1 ) { v2 = 0; v3 = a2; v4 = 0 / ((1 << a2) / 2); do { v5 = v4; v4 >>= 1; v6 = v5 & 1 | (2 * v2); v2 = v6; --v3; } while ( v3 ); v7 = vcvts_n_s32_f32((float)(1.0 / (float)(1 << a2)) * (float)v6, 0xFu); if ( v7 < 0 ) v7 = -v7; __asm { BR X24 } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source