//
// PlatformToolbox::isControllerConnected from 0x1004be070 to 0x1004be0b1 (65 bytes)
//
// 33 xrefs:
// > EditLevelLayer::init @ 0x1001de23b
// > LevelAreaLayer::init @ 0x100264075
// > LevelAreaInnerLayer::init @ 0x100266456
// > CreatorLayer::init @ 0x100282f22
// > LevelInfoLayer::init @ 0x1002ac124
// > LevelInfoLayer::init @ 0x1002ac14a
// > GJShopLayer::init @ 0x10030f12f
// > LevelListLayer::init @ 0x100348b31
// > GJGarageLayer::init @ 0x100353fd6
// > AchievementsLayer::customSetup @ 0x10035c695
// > MenuLayer::init @ 0x10037b84c
// > GauntletLayer::init @ 0x10037dd75
// > SecretLayer4::init @ 0x10039a8f6
// > WorldSelectLayer::init @ 0x1003ab57c
// > PauseLayer::customSetup @ 0x1003c0ce3
// > LevelSelectLayer::init @ 0x10041fccb
// > LevelPage::init @ 0x1004239d0
// > SecretLayer5::init @ 0x10046f0d1
// > SecretLayer6::init @ 0x100473830
// > LevelBrowserLayer::init @ 0x100480be2
// > FLAlertLayer::init @ 0x10049478d
// > SecretLayer2::init @ 0x1004969d9
// > SecretLayer3::init @ 0x10049db00
// > EndLevelLayer::customSetup @ 0x1004ba3d3
// > UILayer::init @ 0x1004c248c
// > RetryLevelLayer::customSetup @ 0x1004f7b04
// > LeaderboardsLayer::init @ 0x100513c32
// > GauntletSelectLayer::init @ 0x10059eb5f
// > GJDropDownLayer::init @ 0x1006bb937
// > SecretLayer::init @ 0x1006d2238
// > KeybindingsLayer::showControllerChords @ 0x1006e4745
// > LevelSearchLayer::init @ 0x100706648
// > SecretRewardsLayer::init @ 0x10070d143
//
// This function is hookable on this platform (idp: pc, 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 12:31:04 +0000
//
bool PlatformToolbox::isControllerConnected()
{
AppControllerManager *v0; // rax
AppController *v1; // rax
v0 = +[AppControllerManager sharedInstance](&OBJC_CLASS___AppControllerManager, "sharedInstance");
v1 = -[AppControllerManager controller](v0, "controller");
return -[AppController isControllerConnected](v1, "isControllerConnected") != 0;
}