//
// VirtualKeyboardNode::create from 0x7a55e0 to 0x7a565a (122 bytes)
//
// 1 xrefs:
// > KeybindCapturePopup::init @ 0x79ad7e
//
// 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:59:57 +0000
//
int *__fastcall VirtualKeyboardNode::create(VirtualKeyboardNode *this, InputCaptureDelegate *a2)
{
int *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (int *)operator new(0x120u);
memset(v3, 0, 0x120u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v3);
*v3 = (int)&off_CFE9F0;
v3[66] = 0;
v3[67] = 0;
*((_BYTE *)v3 + 272) = 0;
*((_BYTE *)v3 + 273) = 0;
*((_BYTE *)v3 + 274) = 0;
v3[70] = 0;
v3[71] = 0;
v3[69] = (int)(v3 + 70);
if ( VirtualKeyboardNode::init((VirtualKeyboardNode *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
v4 = *v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(int *))(v4 + 8))(v5);
}
return v3;
}