//
// EditorUI::resetObjectEditorValues from 0xc04234 to 0xc042f0 (188 bytes)
//
// 3 xrefs:
// > GJTransformControl::applyFreeRotation @ 0xbd3900
// > EditorUI::updateTransformControl @ 0xc043c4
// > ??> @ 0x7de48
//
// This function is hookable on this platform (idp: arm, 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 13:03:50 +0000
//
__int64 __fastcall EditorUI::resetObjectEditorValues(EditorUI *this, cocos2d::CCArray *a2)
{
unsigned int v4; // w19
char *v5; // x22
unsigned int v6; // w1
GameObject *v7; // x20
GameObjectEditorState *v8; // x0
int v10; // [xsp+44h] [xbp+44h] BYREF
if ( a2 && (unsigned int)cocos2d::CCArray::count(a2) )
{
v4 = 0;
v5 = (char *)this + 464;
while ( v4 < (unsigned int)cocos2d::CCArray::count(a2) )
{
v6 = v4++;
v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(a2, v6);
GameObject::updateStartPos(v7);
v10 = *((_DWORD *)v7 + 229);
v8 = (GameObjectEditorState *)std::unordered_map::operator[]((__int64)v5, &v10);
GameObjectEditorState::loadValues(v8, v7);
}
}
return _stack_chk_guard;
}