//
// sub_100306220 from 0x100306220 to 0x100306294 (116 bytes)
//
// 1 xrefs:
// > sub_1003065B0 @ 0x100306604
//
// 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:07 +0000
//
bool __fastcall sub_100306220(__int64 a1, const char *a2, va_list a3)
{
char *v6; // x0
std::string::value_type *v7; // x19
v6 = (char *)malloc(0x19000u);
v7 = v6;
if ( v6 )
{
vsnprintf(v6, 0x19000u, a2, a3);
std::string::assign((std::string *)(a1 + 56), v7);
free(v7);
}
return v7 != nullptr;
}