//
// sub_811484 from 0x811484 to 0x8114b8 (52 bytes)
//
// 3 xrefs:
// > sub_8183A0 @ 0x818828
// > sub_8183A0 @ 0x81884a
// > sub_8183A0 @ 0x8188a2
//
// 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 12:01:37 +0000
//
int __fastcall sub_811484(int a1, int a2)
{
const char *v4; // r7
size_t v5; // r5
int *v6; // r0
_BYTE *v7; // r0
if ( !*(_BYTE *)(a1 + 4) )
{
v4 = *(const char **)a1;
v5 = strlen(*(const char **)a1);
v6 = sub_8110DC(a2, v5 + 1);
v7 = memcpy(v6, v4, v5);
v7[v5] = 0;
*(_DWORD *)a1 = v7;
*(_BYTE *)(a1 + 4) = 1;
}
return *(_DWORD *)a1;
}