// // sub_920614 from 0x920614 to 0x920746 (306 bytes) // // 0 xrefs: // // 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:41 +0000 // int __fastcall sub_920614(int a1, int a2) { unsigned int v2; // r10 int v3; // r5 unsigned int v5; // r11 double v6; // d8 int i; // r4 unsigned int v8; // r7 float v9; // s15 float v10; // s15 unsigned int v11; // r0 unsigned int v12; // t1 unsigned int v13; // r0 float v14; // s18 float v15; // s15 float v16; // s15 v2 = 0; v3 = a1 - 4; v5 = 0; v6 = 0.0; for ( i = 0; i != 256; ++i ) { v12 = *(_DWORD *)(v3 + 4); v3 += 4; v11 = v12; if ( v12 ) { v5 += v11; v8 = v11 + *(_DWORD *)(a2 + 4 * i); if ( v11 > 0xFF ) v9 = COERCE_FLOAT(((int (*)(void))off_D36348)()); else v9 = flt_C45730[v11]; v2 += v8; v6 = v6 - v9; if ( v8 > 0xFF ) v10 = COERCE_FLOAT(off_D36348(v8)); else v10 = flt_C45730[v8]; goto LABEL_6; } v13 = *(_DWORD *)(a2 + 4 * i); if ( v13 ) { v2 += v13; if ( v13 > 0xFF ) v10 = COERCE_FLOAT(((int (*)(void))off_D36348)()); else v10 = flt_C45730[v13]; LABEL_6: v6 = v6 - v10; continue; } } if ( v5 > 0xFF ) v14 = COERCE_FLOAT(off_D36348(v5)); else v14 = flt_C45730[v5]; if ( v2 > 0xFF ) v15 = COERCE_FLOAT(off_D36348(v2)); else v15 = flt_C45730[v2]; v16 = (float)(v14 + v15) + v6; return LODWORD(v16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source