//
// sub_100006DCC from 0x100006dcc to 0x100006fe0 (532 bytes)
//
// 4 xrefs:
// > sub_1000057F8 @ 0x100005abc
// > sub_1000057F8 @ 0x100005b8c
// > sub_1000057F8 @ 0x100005c64
// > sub_1000057F8 @ 0x100005c78
//
// 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 10:57:11 +0000
//
void __usercall sub_100006DCC(
std::string *__return_ptr a1@,
std::string *this@,
__int64 a3@,
__int64 a4@)
{
__int64 v7; // x24
__int64 v8; // x25
__int64 v9; // x27
unsigned int v10; // w28
__int64 v11; // x19
unsigned int v12; // w23
unsigned int v13; // w26
unsigned int v14; // w8
unsigned int v15; // w9
__int64 v16; // x22
__int64 v17; // x28
unsigned int v18; // w9
unsigned int v19; // w8
std::string::value_type v20; // w24
std::string::value_type v21; // w25
std::string::value_type v22; // w26
std::string::value_type v23; // w27
std::string::value_type v24; // w28
std::string::value_type v25; // w23
std::string::value_type v26; // w22
std::string::value_type v27; // w0
unsigned int v28; // [xsp+Ch] [xbp-64h]
unsigned int v29; // [xsp+10h] [xbp-60h]
unsigned int v30; // [xsp+14h] [xbp-5Ch]
std::string::value_type v31; // [xsp+14h] [xbp-5Ch]
if ( (a3 & 1) != 0 || (a4 & 1) != 0 )
{
v30 = *std::string::at(this, 0);
LODWORD(v7) = *std::string::at(this, 1u);
LODWORD(v8) = *std::string::at(this, 2u);
LODWORD(v9) = *std::string::at(this, 3u);
v10 = *std::string::at(this, 4u);
LODWORD(v11) = *std::string::at(this, 5u);
v12 = *std::string::at(this, 6u);
v13 = *std::string::at(this, 7u);
v14 = *std::string::at(this, 8u);
v15 = v7;
if ( (a3 & 1) != 0 )
v7 = (unsigned int)v7;
else
v7 = (unsigned int)v8;
if ( (a3 & 1) != 0 )
v8 = (unsigned int)v8;
else
v8 = v15;
if ( (a3 & 1) != 0 )
v16 = v10;
else
v16 = (unsigned int)v9;
if ( (a3 & 1) != 0 )
v9 = (unsigned int)v9;
else
v9 = v10;
if ( (a3 & 1) != 0 )
v17 = v12;
else
v17 = v13;
if ( (a3 & 1) != 0 )
v18 = v11;
else
v18 = v14;
if ( (a3 & 1) != 0 )
v11 = v14;
else
v11 = (unsigned int)v11;
if ( (a3 & 1) != 0 )
v19 = v13;
else
v19 = v12;
v28 = v18;
v29 = v19;
v31 = sub_100007B74(v30, a3, a4);
v20 = sub_100007B74(v7, a3, a4);
v21 = sub_100007B74(v8, a3, a4);
v22 = sub_100007B74(v16, a3, a4);
v23 = sub_100007B74(v9, a3, a4);
v24 = sub_100007B74(v17, a3, a4);
v25 = sub_100007B74(v28, a3, a4);
v26 = sub_100007B74(v11, a3, a4);
v27 = sub_100007B74(v29, a3, a4);
sub_1000056D0(v31, v20, v21, v22, v23, v24, v25, v26, a1, v27);
}
else
{
*a1 = *this;
*(_OWORD *)&this->__r_.__value_.__r.__words[1] = 0u;
this->__r_.__value_.__r.__words[0] = 0;
}
}