// // GJTransformControl::loadValues from 0x1003f056c to 0x1003f0680 (276 bytes) // // 1 xrefs: // > EditorUI::updateTransformControl @ 0x1003f00c4 // // 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; // x21 cocos2d::CCArray *m_objects; // x0 unsigned int v9; // w22 GameObject *v10; // x24 __int64 v11; // x0 int m_uniqueID; // [xsp+0h] [xbp-50h] BYREF char v13; // [xsp+7h] [xbp-49h] BYREF int *p_m_uniqueID; // [xsp+8h] [xbp-48h] BYREF v5 = a3; if ( a2 && (!a3 || !(unsigned int)sub_10024A36C((__int64)a3)) ) v5 = (cocos2d::CCArray *)sub_10024A1B8((__int64)a2); m_objects = a1->m_objects; if ( m_objects ) cocos2d::CCObject::release(m_objects); a1->m_objects = v5; cocos2d::CCObject::retain(v5); if ( v5 && (unsigned int)sub_10024A36C((__int64)v5) && (unsigned int)sub_10024A36C((__int64)v5) ) { v9 = 0; do { v10 = (GameObject *)sub_10024A388((__int64)v5, v9); GameObject::updateStartPos(v10); m_uniqueID = v10->m_uniqueID; p_m_uniqueID = &m_uniqueID; v11 = sub_1003FC990(a4, &m_uniqueID, &unk_100647441, &p_m_uniqueID, &v13); GameObjectEditorState::loadValues((GameObjectEditorState *)(v11 + 20), v10); ++v9; } while ( v9 < (unsigned int)sub_10024A36C((__int64)v5) ); } GJTransformControl::updateButtons(a1, 1, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source