//
// sub_100427878 from 0x100427878 to 0x1004278b8 (64 bytes)
//
// 6 xrefs:
// > sub_10036CA60 @ 0x10036ca98
// > sub_10036CA60 @ 0x10036cb34
// > sub_10036CBA4 @ 0x10036cc00
// > sub_100405E68 @ 0x100405f50
// > sub_100405FD4 @ 0x10040607c
// > sub_100405FD4 @ 0x1004060d4
//
// 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:05:02 +0000
//
std::string *__fastcall sub_100427878(__int64 a1, std::string *a2)
{
std::string *result; // x0
result = (std::string *)sub_1000045BC((_QWORD *)(a1 + 1448), a2);
if ( ((unsigned __int8)result & 1) == 0 )
{
result = std::string::operator=((std::string *)(a1 + 1448), a2);
*(_BYTE *)(a1 + 1472) = 1;
}
return result;
}