//
// cocos2d::extension::CCEditBox::setDelegate from 0xaa98e8 to 0xaa98fc (20 bytes)
//
// 1 xrefs:
// > ??> @ 0x8cef8
//
// 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
//
__int64 __fastcall cocos2d::extension::CCEditBox::setDelegate(__int64 result, __int64 a2)
{
__int64 v2; // x2
v2 = *(_QWORD *)(result + 600);
*(_QWORD *)(result + 608) = a2;
if ( v2 )
*(_QWORD *)(v2 + 8) = a2;
return result;
}