//
// EditorUI::removeOffset from 0x10003a560 to 0x10003a5de (126 bytes)
//
// 0 xrefs:
//
// 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 EditorUI::removeOffset(EditorUI *a1, GameObject *a2)
{
__int64 v3; // rax
char v4; // [rsp+0h] [rbp-30h] BYREF
_BYTE v5[40]; // [rsp+8h] [rbp-28h] BYREF
cocos2d::CCPoint v6; // 0:xmm0_8.8
double v7; // 0:xmm0_8.8
v6 = EditorUI::offsetForKey((EditorUI *)v5, (int)a2);
*(cocos2d::CCPoint *)&v7 = GameToolbox::getRelativeOffset((GameObject *)&v4, v6);
v3 = ((__int64 (__fastcall *)(GameObject *, double))a2->getPosition)(a2, v7);
sub_10028CD00(v5, v3, &v4);
((void (__fastcall *)(GameObject *, _BYTE *))a2->setPosition)(a2, v5);
GJBaseGameLayer::reorderObjectSection(a1->m_editorLayer, a2);
}