//
// sub_96DD34 from 0x96dd34 to 0x96ddcc (152 bytes)
//
// 0 xrefs:
//
// 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:05:50 +0000
//
int __fastcall sub_96DD34(int a1, int a2)
{
__int64 v4; // r0
int v5; // r8
int v6; // r0
int v7; // r1
__int64 v8; // kr00_8
unsigned int v9; // r5
std::__shared_count *v10; // r0
HIDWORD(v4) = -1;
v5 = a1 + 8;
LODWORD(v4) = &off_D13EB8;
*(_QWORD *)a1 = v4;
v6 = *(_DWORD *)(a2 + 12) - *(_DWORD *)(a2 + 8);
v7 = 28;
if ( (unsigned int)(v6 >> 2) > 0x1C )
v7 = v6 >> 2;
sub_96D5D0(v5, v7);
std::string::basic_string((int *)(a1 + 144), a2 + 144);
if ( a1 != a2 )
sub_9762F0(v5, *(_DWORD *)(a2 + 8), *(_DWORD *)(a2 + 12));
v8 = *(_QWORD *)(a1 + 8);
if ( HIDWORD(v8) != (_DWORD)v8 )
{
v9 = 0;
do
{
v10 = *(std::__shared_count **)(v8 + 4 * v9);
if ( v10 )
{
std::__shared_count::__add_shared(v10);
v8 = *(_QWORD *)(a1 + 8);
}
++v9;
}
while ( v9 < (HIDWORD(v8) - (int)v8) >> 2 );
}
return a1;
}