//
// MenuLayer::onTrailer from 0x6ead04 to 0x6ead44 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0xe5120
//
// 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:51:45 +0000
//
__int64 __fastcall MenuLayer::onTrailer(MenuLayer *this, cocos2d::CCObject *a2)
{
GameToolbox *v2; // x0
__int64 result; // x0
__int64 v4; // x0
PlatformToolbox::logEvent((PlatformToolbox *)"gjl_trailer", (const char *)a2);
result = (unsigned __int8)GameToolbox::doWeHaveInternet(v2);
if ( (_BYTE)result )
{
v4 = cocos2d::CCApplication::sharedApplication((cocos2d::CCApplication *)result);
return (*(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v4 + 104LL))(
v4,
"https://www.youtube.com/watch?v=k90y6PIzIaE");
}
return result;
}