//
// TouchControlEditLayer::onOK from 0xd07504 to 0xd07538 (52 bytes)
//
// 4 xrefs:
// > TouchControlEditLayer::keyBackClicked @ 0xd0753c
// > ??> @ 0xd3120
// > TouchControlEditLayer::buildHud @ 0xd054fc
// > ??> @ 0x1546418
//
// 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:06:57 +0000
//
__int64 __fastcall TouchControlEditLayer::onOK(TouchControlEditLayer *this, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v4; // [xsp+28h] [xbp+28h]
if ( *((_BYTE *)this + 1336) )
{
v4 = a2;
TouchControlEditLayer::saveTarget(this);
a2 = v4;
}
return SetupTriggerPopup::onClose((GameObject **)this, a2);
}