// // sub_92DBC8 from 0x92dbc8 to 0x92dc76 (174 bytes) // // 3 xrefs: // > sub_92E8CC @ 0x92f17a // > sub_92E8CC @ 0x92f186 // > sub_92E8CC @ 0x92f194 // // 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:49 +0000 // float __fastcall sub_92DBC8(int a1, void *a2) { int v2; // r5 int v3; // r4 int v4; // r7 int v5; // r3 unsigned int v6; // r0 int v7; // r2 int v8; // t1 double *v9; // r4 float v10; // s16 double *v11; // r7 double v12; // d8 float result; // r0 unsigned int v14; // r0 unsigned int v15; // t1 v2 = a1 - 4; v3 = 0; v4 = a1 + 1020; v5 = a1 - 4; v6 = 0; do { v8 = *(_DWORD *)(v5 + 4); v5 += 4; v7 = v8; if ( v8 ) ++v3; v6 += v7; } while ( v5 != v4 ); if ( v3 <= 1 ) return COERCE_FLOAT(j_memset(a2, 0, 0x800u)); v9 = (double *)a2; if ( v6 > 0xFF ) v10 = COERCE_FLOAT(((int (*)(void))off_D36344)()); else v10 = flt_C45330[v6]; v11 = v9 + 256; v12 = v10; do { while ( 1 ) { v15 = *(_DWORD *)(v2 + 4); v2 += 4; v14 = v15; if ( v15 > 0xFF ) break; LODWORD(result) = &flt_C45330[v14]; *v9++ = v12 - *(float *)LODWORD(result); if ( v9 == v11 ) return result; } result = off_D36344(); *v9++ = v12 - result; } while ( v9 != v11 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source