//
// VirtualKeyboardNode::create from 0x10052f640 to 0x10052f704 (196 bytes)
//
// 1 xrefs:
// > KeybindCapturePopup::init @ 0x1001a4a4c
//
// 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 11:07:19 +0000
//
char *__fastcall VirtualKeyboardNode::create(__int64 a1)
{
char *v2; // x19
v2 = (char *)operator new(0x170u);
*(_OWORD *)v2 = 0u;
*((_OWORD *)v2 + 1) = 0u;
*((_OWORD *)v2 + 2) = 0u;
*((_OWORD *)v2 + 3) = 0u;
*((_OWORD *)v2 + 4) = 0u;
*((_OWORD *)v2 + 5) = 0u;
*((_OWORD *)v2 + 6) = 0u;
*((_OWORD *)v2 + 7) = 0u;
*((_OWORD *)v2 + 8) = 0u;
*((_OWORD *)v2 + 9) = 0u;
*((_OWORD *)v2 + 10) = 0u;
*((_OWORD *)v2 + 11) = 0u;
*((_OWORD *)v2 + 12) = 0u;
*((_OWORD *)v2 + 13) = 0u;
*((_OWORD *)v2 + 14) = 0u;
*((_OWORD *)v2 + 15) = 0u;
*((_OWORD *)v2 + 16) = 0u;
*((_OWORD *)v2 + 17) = 0u;
*((_OWORD *)v2 + 18) = 0u;
*((_OWORD *)v2 + 19) = 0u;
*((_OWORD *)v2 + 20) = 0u;
*((_OWORD *)v2 + 21) = 0u;
*((_OWORD *)v2 + 22) = 0u;
cocos2d::CCNode::CCNode((__int64)v2);
*(_QWORD *)v2 = off_1009A4750;
*((_QWORD *)v2 + 44) = 0;
*((_QWORD *)v2 + 45) = 0;
*((_QWORD *)v2 + 40) = 0;
*((_QWORD *)v2 + 41) = 0;
*(_DWORD *)(v2 + 335) = 0;
*((_QWORD *)v2 + 43) = v2 + 352;
if ( (unsigned int)cocos2d::CCNode::init() )
{
*((_QWORD *)v2 + 40) = a1;
VirtualKeyboardNode::buildKeys(v2);
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}