//
// KeybindingsLayer::create from 0x1402bf8a0 to 0x1402bf98a (234 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::onKeybindings @ 0x1400dcf74
// > ??> @ 0x1406d2924
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
KeybindingsLayer *KeybindingsLayer::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x2A8u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v0);
*(_QWORD *)v0 = &KeybindingsLayer::`vftable';
*((_QWORD *)v0 + 40) = &KeybindingsLayer::`vftable';
*((_QWORD *)v0 + 41) = &KeybindingsLayer::`vftable';
*((_QWORD *)v0 + 42) = &KeybindingsLayer::`vftable';
*((_QWORD *)v0 + 43) = &KeybindingsLayer::`vftable';
*((_QWORD *)v0 + 44) = &KeybindingsLayer::`vftable';
*((_QWORD *)v0 + 51) = &KeybindingsLayer::`vftable';
*((_QWORD *)v0 + 54) = &KeybindingsLayer::`vftable';
*((_DWORD *)v0 + 158) = -1;
*(_QWORD *)(v0 + 636) = 0;
if ( KeybindingsLayer::init((KeybindingsLayer *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return (KeybindingsLayer *)v0;
}
else
{
(*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);
return nullptr;
}
}