// // GJTransformControl::loadValues from 0x1006455a0 to 0x10064572f (399 bytes) // // 2 xrefs: // > EditorUI::updateTransformControl @ 0x10061384a // > GJTransformControl::applyFreeRotation @ 0x1006475fe // // 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:34:44 +0000 // __int64 __fastcall GJTransformControl::loadValues(__int64 a1, __int64 a2, __int64 a3, float *a4) { __int64 v5; // r15 char v7; // bl _DWORD *v8; // rdi unsigned int v9; // r12d __int64 v10; // r14 char *v11; // rbx _QWORD *v12; // rax int *v14; // [rsp+8h] [rbp-48h] BYREF __int64 v15; // [rsp+10h] [rbp-40h] __int64 v16; // [rsp+18h] [rbp-38h] int v17; // [rsp+20h] [rbp-30h] BYREF v5 = a3; if ( a2 ) { if ( a3 && (unsigned int)sub_1007FEF90(a3) ) goto LABEL_6; v5 = sub_1007FE9A0(a2); } if ( !v5 ) { v7 = 1; v5 = 0; v8 = *(_DWORD **)(a1 + 424); if ( !v8 ) goto LABEL_8; goto LABEL_7; } LABEL_6: cocos2d::CCObject::retain(v5); v7 = 0; v8 = *(_DWORD **)(a1 + 424); if ( v8 ) LABEL_7: cocos2d::CCObject::release(v8); LABEL_8: v16 = a1; *(_QWORD *)(a1 + 424) = v5; if ( !v7 && (unsigned int)sub_1007FEF90(v5) && (unsigned int)sub_1007FEF90(v5) ) { v9 = 0; v15 = v5; do { v10 = sub_1007FEFE0(v5, v9); GameObject::updateStartPos(v10); v17 = *(_DWORD *)(v10 + 916); v14 = &v17; v11 = sub_1000DFF80(a4, &v17, (__int64)&unk_100A0DB2A, &v14); v12 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 192LL))(v10); v5 = v15; sub_100278300(v11 + 20, v12); _mm_storel_ps( (double *)(v11 + 28), _mm_div_ps((__m128)*(unsigned __int64 *)(v10 + 1152), (__m128)*(unsigned __int64 *)(v10 + 1312))); *((float *)v11 + 9) = (*(float (__fastcall **)(__int64))(*(_QWORD *)v10 + 384LL))(v10); *((float *)v11 + 10) = (*(float (__fastcall **)(__int64))(*(_QWORD *)v10 + 400LL))(v10); ++v9; } while ( v9 < (unsigned int)sub_1007FEF90(v5) ); } return GJTransformControl::updateButtons(v16, 1, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source