// // sub_F10D08 from 0xf10d08 to 0xf10e20 (280 bytes) // // 3 xrefs: // > sub_F11F60 @ 0xf12b2c // > sub_F11F60 @ 0xf12b38 // > sub_F11F60 @ 0xf12b44 // // 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 13:12:28 +0000 // void __fastcall sub_F10D08(int *a1, void *a2) { int *v2; // x4 int v3; // w3 int *v5; // x19 unsigned int v6; // w0 int v7; // t1 float v9; // s0 double v10; // d8 __int64 i; // x19 unsigned int v12; // w0 v2 = a1 + 256; v3 = 0; v5 = a1; v6 = 0; do { v7 = *v5++; v6 += v7; if ( v7 ) ++v3; } while ( v5 != v2 ); if ( v3 <= 1 ) { memset(a2, 0, 0x800u); } else { if ( v6 > 0xFF ) off_1569350(); else v9 = flt_11E4D60[v6]; v10 = v9; for ( i = 0; i != 256; ++i ) { while ( 1 ) { v12 = a1[i]; if ( v12 > 0xFF ) break; *((double *)a2 + i++) = v10 - flt_11E4D60[v12]; if ( i == 256 ) return; } *((double *)a2 + i) = v10 - off_1569350(); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source