//
// LevelSettingsLayer::onMode from 0xb64d54 to 0xb64d94 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x60448
// > LevelSettingsLayer::init @ 0xb65d68
// > ??> @ 0x1542440
//
// 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 13:02:14 +0000
//
__int64 __fastcall LevelSettingsLayer::onMode(LevelSettingsLayer *this, cocos2d::CCObject *a2)
{
char *v2; // x19
__int64 *v3; // x0
__int64 v4; // x2
v2 = (char *)this + 680;
v3 = (__int64 *)SelectSettingLayer::create(
*(unsigned __int8 *)(*((_QWORD *)this + 102) + 341LL),
*(_DWORD *)(*((_QWORD *)this + 102) + 328LL));
v4 = *v3;
v3[85] = (__int64)v2;
return (*(__int64 (**)(void))(v4 + 1312))();
}