//
// EditorUI::removeOffset from 0x70d680 to 0x70d6dc (92 bytes)
//
// 2 xrefs:
// > EditorUI::onCreateObject @ 0x487708
// > EditorUI::transformObject @ 0x70ddb4
//
// 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:42 +0000
//
int __fastcall EditorUI::removeOffset(GJBaseGameLayer **this, GameObject *a2)
{
int v4; // r0
_BYTE v6[8]; // [sp+4h] [bp-8h] BYREF
_BYTE v7[8]; // [sp+Ch] [bp+0h] BYREF
EditorUI::getRelativeOffset((EditorUI *)v6, (GameObject *)this, (int)a2);
v4 = (*(int (__fastcall **)(GameObject *))(*(_DWORD *)a2 + 96))(a2);
cocos2d::CCPoint::operator-(v7, v4, v6);
(*(void (__fastcall **)(GameObject *, _BYTE *))(*(_DWORD *)a2 + 92))(a2, v7);
return GJBaseGameLayer::reorderObjectSection(*(this + 236), a2);
}