//
// EditorUI::orderUpCustomItem from 0x6f687e to 0x6f68ba (60 bytes)
//
// 0 xrefs:
//
// 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:39 +0000
//
int *__fastcall EditorUI::orderUpCustomItem(int *this, cocos2d::CCObject *a2)
{
int *v2; // r4
cocos2d::CCDictionary **v3; // r0
int *v4; // r5
v2 = this;
if ( *(this + 223) < 0 )
{
v3 = (cocos2d::CCDictionary **)GameManager::sharedState((GameManager *)this);
this = (int *)GameManager::reorderKey(v3, (const char *)v2[223], 1);
v4 = this;
if ( this != (int *)v2[223] )
{
EditorUI::reloadCustomItems((EditButtonBar **)v2);
v2[223] = (int)v4;
return (int *)EditorUI::updateCreateMenu((EditorUI *)v2, 0);
}
}
return this;
}