//
// MenuLayer::onTrailer from 0x3f9964 to 0x3f9988 (36 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:47:19 +0000
//
cocos2d::CCApplication *__fastcall MenuLayer::onTrailer(MenuLayer *this, cocos2d::CCObject *a2)
{
GameToolbox *v2; // r0
cocos2d::CCApplication *result; // r0
int v4; // r0
PlatformToolbox::logEvent((PlatformToolbox *)"gjl_trailer", (const char *)a2);
result = (cocos2d::CCApplication *)GameToolbox::doWeHaveInternet(v2);
if ( result )
{
v4 = cocos2d::CCApplication::sharedApplication(result);
return (cocos2d::CCApplication *)(*(int (__fastcall **)(int, const char *))(*(_DWORD *)v4 + 52))(
v4,
"https://www.youtube.com/watch?v=k90y6PIzIaE");
}
return result;
}