//
// SupportLayer::onEmail from 0x539c48 to 0x539cbe (118 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:52:13 +0000
//
int __fastcall SupportLayer::onEmail(SupportLayer *this, cocos2d::CCObject *a2)
{
int result; // r0
int *v4; // r6
int v5[3]; // [sp+8h] [bp-10h] BYREF
result = GameToolbox::doWeHaveInternet(this);
if ( result )
{
memset(v5, 0, sizeof(v5));
std::string::__init(v5, "Do you want to send an email to RobTop Games support?", 0x45u);
v4 = FLAlertLayer::create(
(int)this + 480,
(cocos2d::CCLabelBMFont *)"Send Email",
(int)v5,
(ButtonSprite *)"Cancel",
(ButtonSprite *)"Email",
300.0);
std::string::~string((int)v5);
return (*(int (__fastcall **)(int *))(*v4 + 656))(v4);
}
return result;
}