// // GameObject::duplicateValues from 0x10069bb10 to 0x10069be06 (758 bytes) // // 2 xrefs: // > EditorUI::onCreateObject @ 0x1000111d5 // > LevelEditorLayer::breakApartTextObject @ 0x1000c50fc // // This function is hookable on this platform (idp: pc, 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 12:35:16 +0000 // __int64 __fastcall GameObject::duplicateValues(__int64 a1, __int64 *a2) { float v4; // xmm0_4 __int64 v5; // rax void (__fastcall **v6)(__int64 *); // rax __int64 v7; // r15 unsigned __int8 v8; // al unsigned __int8 v9; // al __int64 v10; // rcx __int64 v11; // rax __int64 v12; // rdx int v13; // esi int v14; // edi int v15; // esi __int64 v16; // rcx int v17; // edx int v18; // esi int v19; // edx __int64 v20; // r15 __m128 v21; // xmm0 __m128 v22; // xmm1 __m128 v23; // xmm0 __m128 v24; // xmm2 __int64 result; // rax float v26; // [rsp+0h] [rbp-1Ch] v26 = (*(float (__fastcall **)(__int64 *))(*a2 + 384))(a2); v4 = (*(float (__fastcall **)(__int64 *))(*a2 + 400))(a2); v5 = *a2; if ( v26 == v4 ) { v6 = (void (__fastcall **)(__int64 *))(v5 + 368); v7 = 360; } else { (*(void (__fastcall **)(__int64 *))(v5 + 384))(a2); (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 376LL))(a1); v6 = (void (__fastcall **)(__int64 *))(*a2 + 400); v7 = 392; } (*v6)(a2); (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + v7))(a1); v8 = (*(__int64 (__fastcall **)(__int64 *))(*a2 + 1424))(a2); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1240LL))(a1, v8); v9 = (*(__int64 (__fastcall **)(__int64 *))(*a2 + 1432))(a2); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1248LL))(a1, v9); v10 = a2[137]; v11 = a2[138]; if ( *(_BYTE *)(a1 + 1038) == 1 && *(_QWORD *)(a1 + 1104) == 0 && v11 != 0 && *(_QWORD *)v11 ) v10 = a2[138]; v12 = *(_QWORD *)(a1 + 1096); v13 = *(_DWORD *)v10; if ( !*(_DWORD *)v10 ) v13 = *(_DWORD *)(v10 + 4); v14 = 0; if ( v13 > 0 ) v14 = v13; v15 = 1101; if ( v14 < 1101 ) v15 = v14; *(_DWORD *)v12 = v15; *(_OWORD *)(v12 + 16) = *(_OWORD *)(v10 + 16); if ( v11 ) { v16 = *(_QWORD *)(a1 + 1104); if ( v16 ) { v17 = *(_DWORD *)v11; if ( !*(_DWORD *)v11 ) v17 = *(_DWORD *)(v11 + 4); v18 = 0; if ( v17 > 0 ) v18 = v17; v19 = 1101; if ( v18 < 1101 ) v19 = v18; *(_DWORD *)v16 = v19; *(_OWORD *)(v16 + 16) = *(_OWORD *)(v11 + 16); } } *(_DWORD *)(a1 + 1128) = *((_DWORD *)a2 + 282); if ( !*(_BYTE *)(a1 + 1120) ) *(_DWORD *)(a1 + 1124) = *((_DWORD *)a2 + 281); *(_BYTE *)(a1 + 1043) = *((_BYTE *)a2 + 1043); *(_BYTE *)(a1 + 1042) = *((_BYTE *)a2 + 1042); *(_BYTE *)(a1 + 1044) = *((_BYTE *)a2 + 1044); if ( *((__int16 *)a2 + 584) > 0 ) { v20 = 0; do { (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1600LL))(a1); ++v20; } while ( v20 < *((__int16 *)a2 + 584) ); } v21 = (__m128)*((unsigned int *)a2 + 288); v21.f32[0] = v21.f32[0] * 1000.0; v22 = _mm_or_ps(_mm_and_ps(v21, (__m128)xmmword_100A035F0), (__m128)xmmword_100A03600); v22.f32[0] = v22.f32[0] + v21.f32[0]; v21.f32[0] = _mm_cvtepi32_ps(_mm_cvttps_epi32(_mm_round_ss((__m128)0LL, v22, 11))).f32[0] / 1000.0; *(_DWORD *)(a1 + 1152) = v21.i32[0]; *(_DWORD *)(a1 + 988) = v21.i32[0]; *(_DWORD *)(a1 + 64) = 0; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 1440LL))(a1, 1.0); *(_BYTE *)(a1 + 840) = 1; *(_BYTE *)(a1 + 864) = 1; v23 = (__m128)*((unsigned int *)a2 + 289); v23.f32[0] = v23.f32[0] * 1000.0; v24 = _mm_or_ps(_mm_and_ps((__m128)xmmword_100A035F0, v23), (__m128)xmmword_100A03600); v24.f32[0] = v24.f32[0] + v23.f32[0]; v23.f32[0] = _mm_cvtepi32_ps(_mm_cvttps_epi32(_mm_round_ss((__m128)0LL, v24, 11))).f32[0] / 1000.0; *(_DWORD *)(a1 + 1156) = v23.i32[0]; *(_DWORD *)(a1 + 992) = v23.i32[0]; *(_DWORD *)(a1 + 68) = 0; result = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 1448LL))(a1, 1.0); *(_BYTE *)(a1 + 840) = 1; *(_BYTE *)(a1 + 864) = 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source