//
// PlatformerControlsPopup::onKeyboard from 0x79cfa0 to 0x79cfce (46 bytes)
//
// 0 xrefs:
//
// 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:50 +0000
//
int __fastcall PlatformerControlsPopup::onKeyboard(PlatformerControlsPopup *this, cocos2d::CCObject *a2)
{
GameSettingsLayer *v3; // r1
int v4; // r2
int v5; // r3
bool v6; // r2
int *v7; // r0
if ( PlatformerControlsPopup::sourceIsCustom(this) )
{
PlatformerControlsPopup::ensureCustomDraft((int)this, (size_t)v3, v4, v5);
v7 = LevelBindingsLayer::create((LevelBindingsLayer *)(*((_DWORD *)this + 184) + 68), nullptr, v6);
}
else
{
v7 = KeybindingsLayer::create(nullptr, v3);
}
return (*(int (__fastcall **)(int *))(*v7 + 656))(v7);
}