//
// sub_1003AD00C from 0x1003ad00c to 0x1003ad238 (556 bytes)
//
// 1 xrefs:
// > sub_1003ACEA4 @ 0x1003acfc8
//
// 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_1003AD00C(__int64 a1)
{
_QWORD *v2; // x20
_QWORD *v3; // x20
void *v4[2]; // [xsp+0h] [xbp-D0h] BYREF
char v5; // [xsp+17h] [xbp-B9h]
void *v6[2]; // [xsp+18h] [xbp-B8h] BYREF
char v7; // [xsp+2Fh] [xbp-A1h]
void *v8[2]; // [xsp+30h] [xbp-A0h] BYREF
char v9; // [xsp+47h] [xbp-89h]
void *v10[2]; // [xsp+48h] [xbp-88h] BYREF
char v11; // [xsp+5Fh] [xbp-71h]
void *__p[2]; // [xsp+60h] [xbp-70h] BYREF
char v13; // [xsp+77h] [xbp-59h]
void *v14[2]; // [xsp+78h] [xbp-58h] BYREF
char v15; // [xsp+8Fh] [xbp-41h]
void *v16[2]; // [xsp+90h] [xbp-40h] BYREF
char v17; // [xsp+A7h] [xbp-29h]
void *v18[2]; // [xsp+A8h] [xbp-28h] BYREF
char v19; // [xsp+BFh] [xbp-11h]
v2 = sub_1002E736C();
sub_100009900(v18, "...");
sub_100009900(v16, "RubRub locked me in here, for no reason.");
DialogObject::create((__int64)v18, (__int64)v16, 15, 0, 0xFFFFFF, 1.0);
sub_1002E74E0((__int64)v2);
if ( v17 < 0 )
operator delete(v16[0]);
if ( v19 < 0 )
operator delete(v18[0]);
sub_100009900(v14, "...");
sub_100009900(__p, "He said there would be chicken.");
DialogObject::create((__int64)v14, (__int64)__p, 15, 0, 0xFFFFFF, 1.0);
sub_1002E74E0((__int64)v2);
if ( v13 < 0 )
operator delete(__p[0]);
if ( v15 < 0 )
operator delete(v14[0]);
sub_100009900(v10, "...");
sub_100009900(v8, "There was no chicken...");
DialogObject::create((__int64)v10, (__int64)v8, 15, 0, 0xFFFFFF, 1.0);
sub_1002E74E0((__int64)v2);
if ( v9 < 0 )
operator delete(v8[0]);
if ( v11 < 0 )
operator delete(v10[0]);
sub_100009900(v6, "...");
sub_100009900(v4, "I cannot stay here any longer.\nYou must find a way to release me.");
DialogObject::create((__int64)v6, (__int64)v4, 15, 0, 0xFFFFFF, 0.9);
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, 2);
DialogLayer::updateChatPlacement((__int64)v3, 1);
sub_1000909DC((__int64)v3, 1);
}