// // sub_B3EE8 from 0xb3ee8 to 0xb3fe0 (248 bytes) // // 1 xrefs: // > sub_B4002 @ 0xb4008 // // 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 11:41:42 +0000 // int __fastcall sub_B3EE8(int a1, int a2, float *a3, int a4) { unsigned int v8; // r0 _DWORD *v9; // r5 int v10; // r10 float *v11; // r6 int v12; // r0 int v13; // r0 int v14; // r4 const void *v15; // r1 int v17; // [sp+14h] [bp-34h] BYREF unsigned int v18[3]; // [sp+18h] [bp-30h] BYREF _DWORD v19[2]; // [sp+24h] [bp-24h] BYREF char v20; // [sp+2Ch] [bp-1Ch] v19[0] = *(_DWORD *)(a1 + 36); v19[1] = 23; v20 = 0; sub_44998((int)v19); v8 = *(_DWORD *)(a1 + 36); v9 = (_DWORD *)(v8 + 1176); do { v9 = (_DWORD *)*v9; if ( v9 == (_DWORD *)(v8 + 1176) ) { v14 = 30; goto LABEL_20; } } while ( v9[9] != a2 ); v10 = v9[11]; v11 = a3; v18[2] = v8; v18[0] = 0; v18[1] = 0; if ( v10 != 5 ) { v11 = (float *)sub_B37AC(v18, v9[12] * a4); if ( !v11 ) { v14 = 38; goto LABEL_19; } } v12 = v9[3]; if ( !v12 ) { v15 = (const void *)v9[4]; if ( v15 ) { qmemcpy(a3, v15, 4 * a4 * v9[12]); v9[13] = 0; } else { v14 = sub_6717C(v9[2], (int)v11, a4); if ( v14 ) goto LABEL_19; } LABEL_16: if ( v10 == 5 || (v14 = sub_8E77C(a3, v11, v9[11], 5, v9[12] * a4, 1, 1, 1.0, 1)) == 0 ) v14 = 0; goto LABEL_19; } v17 = v9[12]; v13 = (*(int (__fastcall **)(int, float *, int *, int))(*(_DWORD *)v12 + 36))(v12, v11, &v17, a4); if ( !v13 ) { if ( v9[4] ) { v9[13] = 0; v9[14] = 0; } goto LABEL_16; } v14 = v13; LABEL_19: sub_B37E8(v18); LABEL_20: sub_448CC((int)v19); return v14; }
GD Web Decomp Icon

GD Web Decomp

Raw Source