//
// cocos2d::extension::CCEditBox::setDelegate from 0xd1b7d0 to 0xd1b7e4 (20 bytes)
//
// 1 xrefs:
// > ??> @ 0xbaa48
//
// 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:07:09 +0000
//
__int64 __fastcall cocos2d::extension::CCEditBox::setDelegate(__int64 result, __int64 a2)
{
__int64 v2; // x2
v2 = *(_QWORD *)(result + 576);
*(_QWORD *)(result + 584) = a2;
if ( v2 )
*(_QWORD *)(v2 + 8) = a2;
return result;
}