// // sub_10036CDFC from 0x10036cdfc to 0x10036cf0c (272 bytes) // // 2 xrefs: // > sub_100369218 @ 0x100369cc8 // > sub_100369218 @ 0x10036a5ec // // 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:03:21 +0000 // __int64 __fastcall sub_10036CDFC(__int64 a1, __int64 a2) { int v4; // w0 unsigned __int32 v5; // w8 unsigned __int16 *v6; // x0 __int64 (*v7)(void); // x8 __int64 v8; // x0 int32x2_t v9; // d0 _QWORD *v10; // x21 __int64 v11; // x0 v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); switch ( v4 ) { case 2: v7 = *(__int64 (**)(void))(**(_QWORD **)(a1 + 712) + 1384LL); goto LABEL_7; case 1: v7 = *(__int64 (**)(void))(**(_QWORD **)(a1 + 712) + 1352LL); LABEL_7: v8 = v7(); v9 = (int32x2_t)vshl_u32( (uint32x2_t)vcvt_s32_f32(vmul_f32(*(float32x2_t *)(v8 + 4), (float32x2_t)vdup_n_s32(0x437F0000u))), (uint32x2_t)0x1000000008LL); v5 = vorr_s8((int8x8_t)vdup_lane_s32(v9, 1), (int8x8_t)v9).u32[0] | (int)(float)(*(float *)v8 * 255.0); break; case 0: v6 = (unsigned __int16 *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 1200LL))(*(_QWORD *)(a1 + 792)); v5 = *v6 | (*((unsigned __int8 *)v6 + 2) << 16); break; } v10 = (_QWORD *)sub_10049E438(*(_QWORD *)&v5 & 0xFFFFFFLL); v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); (*(void (__fastcall **)(_QWORD *, __int64))(*v10 + 72LL))(v10, v11); v10[140] = a1 + 664; return (*(__int64 (__fastcall **)(_QWORD *))(*v10 + 1312LL))(v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source