//
// -[RootViewController sendMail:Body:To:] from 0x10030999c to 0x100309a60 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009cf240
//
// 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 11:03:09 +0000
//
bool __cdecl -[RootViewController sendMail:Body:To:](RootViewController *self, SEL a2, id a3, id a4, id a5)
{
_BOOL4 v9; // w19
id v10; // x23
v9 = +[MFMailComposeViewController canSendMail](&OBJC_CLASS___MFMailComposeViewController, "canSendMail");
if ( v9 )
{
v10 = objc_alloc_init((Class)&OBJC_CLASS___MFMailComposeViewController);
objc_msgSend(v10, "setMailComposeDelegate:", self);
if ( a5 )
objc_msgSend(
v10,
"setToRecipients:",
+[NSArray arrayWithObjects:](&OBJC_CLASS___NSArray, "arrayWithObjects:", a5, 0));
objc_msgSend(v10, "setMessageBody:isHTML:", a4, 0);
objc_msgSend(v10, "setSubject:", a3);
-[RootViewController presentModalViewController:animated:](self, "presentModalViewController:animated:", v10, 1);
objc_release(v10);
}
return v9;
}