//
// -[RootViewController sendMail:Body:To:] from 0x10026bb94 to 0x10026bc5c (200 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008473b8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __cdecl -[RootViewController sendMail:Body:To:](RootViewController *self, SEL a2, id a3, id a4, id a5)
{
_BOOL4 v9; // w19
void *v10; // x23
v9 = +[MFMailComposeViewController canSendMail](&OBJC_CLASS___MFMailComposeViewController, "canSendMail");
if ( v9 )
{
v10 = objc_msgSend(objc_alloc((Class)&OBJC_CLASS___MFMailComposeViewController), "init");
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;
}