//
// CCTextInputMenu::rightClick from 0x14004dbd0 to 0x14004dc37 (103 bytes)
//
// 2 xrefs:
// > ??> @ 0x14070c2e8
// > ??> @ 0x1409101a8
//
// This function is hookable on this platform (idp: pc, 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 11:25:33 +0000
//
char __fastcall CCTextInputMenu::rightClick(__int64 a1, float a2, float a3)
{
const struct cocos2d::CCPoint *v4; // rax
__int64 v5; // rdx
__int64 v7; // rax
cocos2d::CCObject *v8; // rbx
char v9; // [rsp+30h] [rbp+8h] BYREF
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, a2, a3);
if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)(a1 + 64), v4) )
return 1;
v7 = *(_QWORD *)(a1 + 56);
v8 = *(cocos2d::CCObject **)(v7 + 696);
if ( v8 )
{
*(_QWORD *)(v7 + 696) = 0;
LOBYTE(v5) = 1;
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v8 + 520LL))(v8, v5);
cocos2d::CCObject::release(v8);
}
return 0;
}