//
// PlayLayer::startGame from 0x710f18 to 0x710f94 (124 bytes)
//
// 3 xrefs:
// > ??> @ 0xb11d8
// > PlayLayer::setupHasCompleted @ 0x7082a8
// > ??> @ 0x15450c0
//
// 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 12:52:13 +0000
//
__int64 __fastcall PlayLayer::startGame(PlayLayer *this)
{
char *v1; // x21
__int64 result; // x0
v1 = (char *)this + 12288;
*(_BYTE *)(cocos2d::CCDirector::sharedDirector(this) + 178) = 1;
v1[376] = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 407) + 344LL))(*((_QWORD *)this + 407), 1);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 408) + 344LL))(*((_QWORD *)this + 408), 1);
result = (unsigned __int8)v1[1885];
if ( !v1[1885] )
result = PlayLayer::startMusic((__int64)this);
v1[1885] = 0;
return result;
}