// // sub_1005587C0 from 0x1005587c0 to 0x100558904 (324 bytes) // // 0 xrefs: // // 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:07:58 +0000 // void __fastcall sub_1005587C0(__int64 a1, __int64 a2) { unsigned __int64 v4; // x21 float *v5; // x8 float *v6; // x25 float v7; // s1 float v8; // s0 unsigned __int64 v9; // x9 __exp10f(-5.9309); if ( a2 ) { v4 = 0; *(_QWORD *)(a2 + 256) = 0; *(_OWORD *)(a2 + 224) = 0u; *(_OWORD *)(a2 + 240) = 0u; *(_OWORD *)(a2 + 192) = 0u; *(_OWORD *)(a2 + 208) = 0u; *(_OWORD *)(a2 + 160) = 0u; *(_OWORD *)(a2 + 176) = 0u; *(_OWORD *)(a2 + 128) = 0u; *(_OWORD *)(a2 + 144) = 0u; *(_OWORD *)(a2 + 96) = 0u; *(_OWORD *)(a2 + 112) = 0u; *(_OWORD *)(a2 + 64) = 0u; *(_OWORD *)(a2 + 80) = 0u; *(_OWORD *)(a2 + 32) = 0u; *(_OWORD *)(a2 + 48) = 0u; *(_OWORD *)a2 = 0u; *(_OWORD *)(a2 + 16) = 0u; v5 = *(float **)(a1 + 3512); v6 = v5; do { if ( &v5[*(int *)(a1 + 3520)] <= v6 || v4 > 0x41 ) break; v7 = (float)((float)((int)v4 + 1) + -60.0) + 0.691; v8 = 0.0; if ( v7 > -80.0 ) { v8 = __exp10f(v7 / 10.0); v5 = *(float **)(a1 + 3512); } if ( v5 <= v6 ) { v9 = (unsigned __int64)&v5[*(int *)(a1 + 3520)]; do { if ( v9 <= (unsigned __int64)v6 ) break; if ( *v6 >= v8 ) break; *(float *)(a2 + 4 * v4) = *(float *)(a2 + 4 * v4) + 1.0; ++v6; } while ( v5 <= v6 ); } ++v6; ++v4; } while ( v5 <= v6 ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source