//
// CCTextInputMenu::create from 0x3dc060 to 0x3dc122 (194 bytes)
//
// 1 xrefs:
// > CCTextInputNode::openEditMenu @ 0x3dcd40
//
// 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:46:48 +0000
//
int *__fastcall CCTextInputMenu::create(CCTextInputNode *a1, const cocos2d::CCPoint *a2, float a3, float a4)
{
int *v6; // r4
int v7; // r3
int *v8; // r0
float v10[3]; // [sp+4h] [bp-Ch] BYREF
LODWORD(v10[0]) = a2;
v10[1] = a3;
v10[2] = a4;
v6 = (int *)operator new(0x150u);
memset(v6, 0, 0x150u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v6);
*v6 = (int)&off_C89470;
v6[66] = (int)&off_C896BC;
v6[67] = (int)&off_C896F4;
v6[68] = (int)&off_C89700;
v6[69] = (int)&off_C89710;
v6[70] = (int)&off_C89724;
v6[79] = 0;
cocos2d::CCRect::CCRect((cocos2d::CCRect *)(v6 + 80));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, a2);
if ( CCTextInputMenu::init((cocos2d::CCLayer *)v6, a1, v10) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
v7 = *v6;
v8 = v6;
v6 = nullptr;
(*(void (__fastcall **)(int *))(v7 + 8))(v8);
}
return v6;
}