// // GJTransformControl::loadValues from 0x100040c10 to 0x100040d85 (373 bytes) // // 1 xrefs: // > EditorUI::updateTransformControl @ 0x100040646 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJTransformControl::loadValues( GJTransformControl *a1, GameObject *a2, cocos2d::CCArray *a3, std::unordered_map *a4) { cocos2d::CCArray *v5; // r15 cocos2d::CCArray *m_objects; // rdi unsigned int v8; // r12d __int64 v9; // r14 __int64 v10; // rbx __int64 v11; // rax int *v12; // [rsp+8h] [rbp-48h] BYREF cocos2d::CCArray *v13; // [rsp+10h] [rbp-40h] GJTransformControl *v14; // [rsp+18h] [rbp-38h] int v15; // [rsp+20h] [rbp-30h] BYREF _BYTE v16[41]; // [rsp+27h] [rbp-29h] BYREF v5 = a3; if ( a2 && (!a3 || !(unsigned int)sub_100720070(a3)) ) v5 = (cocos2d::CCArray *)sub_10071FA80(a2); m_objects = a1->m_objects; if ( m_objects ) cocos2d::CCObject::release(m_objects); v14 = a1; a1->m_objects = v5; cocos2d::CCObject::retain(v5); if ( v5 && (unsigned int)sub_100720070(v5) && (unsigned int)sub_100720070(v5) ) { v8 = 0; v13 = v5; do { v9 = sub_1007200C0(v5, v8); GameObject::updateStartPos((GameObject *)v9); v15 = *(_DWORD *)(v9 + 916); v12 = &v15; v10 = sub_100056050(a4, &v15, &unk_10081561F, &v12, v16); v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 192LL))(v9); v5 = v13; sub_10028CC90(v10 + 20, v11); _mm_storel_ps( (double *)(v10 + 28), _mm_div_ps((__m128)*(unsigned __int64 *)(v9 + 1152), (__m128)*(unsigned __int64 *)(v9 + 1312))); *(float *)(v10 + 36) = (*(float (__fastcall **)(__int64))(*(_QWORD *)v9 + 368LL))(v9); *(float *)(v10 + 40) = (*(float (__fastcall **)(__int64))(*(_QWORD *)v9 + 384LL))(v9); ++v8; } while ( v8 < (unsigned int)sub_100720070(v5) ); } GJTransformControl::updateButtons(v14, 1, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source