//
// sub_1003AD7E0 from 0x1003ad7e0 to 0x1003ad9a0 (448 bytes)
//
// 1 xrefs:
// > sub_1003AD2F4 @ 0x1003ad324
//
// 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:52 +0000
//
void __fastcall sub_1003AD7E0(__int64 a1)
{
_QWORD *v2; // x20
_QWORD *v3; // x20
void *v4[2]; // [xsp+0h] [xbp-A0h] BYREF
char v5; // [xsp+17h] [xbp-89h]
void *v6[2]; // [xsp+18h] [xbp-88h] BYREF
char v7; // [xsp+2Fh] [xbp-71h]
void *__p[2]; // [xsp+30h] [xbp-70h] BYREF
char v9; // [xsp+47h] [xbp-59h]
void *v10[2]; // [xsp+48h] [xbp-58h] BYREF
char v11; // [xsp+5Fh] [xbp-41h]
void *v12[2]; // [xsp+60h] [xbp-40h] BYREF
char v13; // [xsp+77h] [xbp-29h]
void *v14[2]; // [xsp+78h] [xbp-28h] BYREF
char v15; // [xsp+8Fh] [xbp-11h]
v2 = sub_1002E736C();
sub_100009900(v14, "...");
sub_100009900(v12, "I... I am free...?");
DialogObject::create((__int64)v14, (__int64)v12, 15, 0, 0xFFFFFF, 1.0);
sub_1002E74E0((__int64)v2);
if ( v13 < 0 )
operator delete(v12[0]);
if ( v15 < 0 )
operator delete(v14[0]);
sub_100009900(v10, "...");
sub_100009900(__p, "So many years lost. Locked away in that filthy cage...");
DialogObject::create((__int64)v10, (__int64)__p, 15, 0, 0xFFFFFF, 1.0);
sub_1002E74E0((__int64)v2);
if ( v9 < 0 )
operator delete(__p[0]);
if ( v11 < 0 )
operator delete(v10[0]);
sub_100009900(v6, "...");
sub_100009900(v4, "Now that I have my freedom,\nI must continue where I left off.");
DialogObject::create((__int64)v6, (__int64)v4, 15, 0, 0xFFFFFF, 1.0);
sub_1002E74E0((__int64)v2);
if ( v5 < 0 )
operator delete(v4[0]);
if ( v7 < 0 )
operator delete(v6[0]);
v3 = DialogLayer::createWithObjects((__int64)v2, 4);
(*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v3, 100);
v3[78] = a1 + 408;
(*(void (__fastcall **)(_QWORD *, __int64))(*v3 + 72LL))(v3, 3);
DialogLayer::updateChatPlacement((__int64)v3, 1);
sub_1000909DC((__int64)v3, 1);
}