//
// ControllerInputNode::setController2 from 0x76537c to 0x76539c (32 bytes)
//
// 3 xrefs:
// > KeybindCapturePopup::init @ 0x79af96
// > KeybindCapturePopup::onToggleController @ 0x79b2d6
// > KeybindCapturePopup::keyDown @ 0x79b3c8
//
// 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:07 +0000
//
int __fastcall ControllerInputNode::setController2(ControllerInputNode *this, int a2)
{
int v2; // r0
void *v3; // r1
*((_BYTE *)this + 268) = a2;
v2 = *((_DWORD *)this + 70);
if ( a2 )
v3 = &unk_BF09BC;
else
v3 = &unk_BF09BF;
return (*(int (__fastcall **)(int, void *))(*(_DWORD *)v2 + 480))(v2, v3);
}