//
// ControllerInputNode::create from 0x1004ab4c4 to 0x1004ab5c0 (252 bytes)
//
// 1 xrefs:
// > KeybindCapturePopup::init @ 0x1001a4898
//
// 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:06:07 +0000
//
_QWORD *__fastcall ControllerInputNode::create(__int64 a1, float32x2_t *a2)
{
_QWORD *v4; // x19
__int64 i; // x22
v4 = operator new(0x1B8u);
*(_OWORD *)v4 = 0u;
*((_OWORD *)v4 + 1) = 0u;
*((_OWORD *)v4 + 2) = 0u;
*((_OWORD *)v4 + 3) = 0u;
*((_OWORD *)v4 + 4) = 0u;
*((_OWORD *)v4 + 5) = 0u;
*((_OWORD *)v4 + 6) = 0u;
*((_OWORD *)v4 + 7) = 0u;
*((_OWORD *)v4 + 8) = 0u;
*((_OWORD *)v4 + 9) = 0u;
*((_OWORD *)v4 + 10) = 0u;
*((_OWORD *)v4 + 11) = 0u;
*((_OWORD *)v4 + 12) = 0u;
*((_OWORD *)v4 + 13) = 0u;
*((_OWORD *)v4 + 14) = 0u;
*((_OWORD *)v4 + 15) = 0u;
*((_OWORD *)v4 + 16) = 0u;
*((_OWORD *)v4 + 17) = 0u;
*((_OWORD *)v4 + 18) = 0u;
*((_OWORD *)v4 + 19) = 0u;
*((_OWORD *)v4 + 20) = 0u;
*((_OWORD *)v4 + 21) = 0u;
*((_OWORD *)v4 + 22) = 0u;
*((_OWORD *)v4 + 23) = 0u;
*((_OWORD *)v4 + 24) = 0u;
*((_OWORD *)v4 + 25) = 0u;
*((_OWORD *)v4 + 26) = 0u;
v4[54] = 0;
cocos2d::CCNode::CCNode((__int64)v4);
*v4 = off_100981468;
v4[40] = 0;
*((_BYTE *)v4 + 328) = 0;
*(_QWORD *)((char *)v4 + 332) = 0x3F80000000000000LL;
*(_OWORD *)(v4 + 43) = 0u;
*(_OWORD *)(v4 + 45) = 0u;
*(_OWORD *)(v4 + 47) = 0u;
*(_OWORD *)(v4 + 49) = 0u;
for ( i = 51; i != 55; ++i )
sub_1000262EC(&v4[i]);
if ( (unsigned int)ControllerInputNode::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v4 + 16LL))(v4);
return nullptr;
}
return v4;
}