//
// EditorUI::resetObjectEditorValues from 0x710000 to 0x710068 (104 bytes)
//
// 2 xrefs:
// > GJTransformControl::applyFreeRotation @ 0x6eeea6
// > EditorUI::updateTransformControl @ 0x7101d6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:44 +0000
//
unsigned int __fastcall EditorUI::resetObjectEditorValues(unsigned int this, cocos2d::CCArray *a2, unsigned int a3)
{
unsigned int v3; // r7
int v5; // r7
unsigned int v6; // r4
GameObject *v7; // r0
GameObject *v8; // r8
float v9; // r1
float v10; // r2
int v11; // r3
GameObjectEditorState *v12; // r0
unsigned int v13[3]; // [sp+0h] [bp-Ch] BYREF
v13[0] = this;
v13[1] = (unsigned int)a2;
v13[2] = a3;
v3 = this;
if ( a2 )
{
this = cocos2d::CCArray::count(a2);
if ( this )
{
v5 = v3 + 344;
v6 = 0;
while ( 1 )
{
this = cocos2d::CCArray::count(a2);
if ( v6 >= this )
break;
v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v6++);
v8 = v7;
GameObject::updateStartPos(v7, v9, v10, v11);
v13[0] = *((_DWORD *)v8 + 195);
v12 = (GameObjectEditorState *)std::unordered_map::operator[](v5, v13);
GameObjectEditorState::loadValues(v12, v8);
}
}
}
return this;
}