//
// sub_1000D6C44 from 0x1000d6c44 to 0x1000d6c88 (68 bytes)
//
// 1 xrefs:
// > LevelListLayer::cellPerformedAction @ 0x1002e3704
//
// 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:58:56 +0000
//
void __fastcall sub_1000D6C44(std::string *a1, int a2, int a3)
{
_DWORD *size; // x9
_DWORD *v4; // x10
int v5; // w8
int v6; // w2
size = (_DWORD *)a1[13].__r_.__value_.__l.__size_;
v4 = (_DWORD *)a1[13].__r_.__value_.__r.__words[2];
if ( size == v4 )
{
v5 = 0;
}
else
{
v5 = 0;
do
{
if ( *size == a2 )
break;
++v5;
++size;
}
while ( size != v4 );
}
if ( a3 )
v6 = v5 - 1;
else
v6 = v5 + 1;
sub_1000D6B78(a1, a2, v6);
}