//
// std::__ndk1::collate_byname::do_transform from 0x96f430 to 0x96f4e0 (176 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:51 +0000
//
int __fastcall std::collate_byname::do_transform(_DWORD *a1)
{
char *v2; // r1
int v3; // r0
char *v4; // r1
bool v5; // zf
int v6; // r0
_DWORD v8[2]; // [sp+0h] [bp-20h] BYREF
char *v9; // [sp+8h] [bp-18h]
int v10; // [sp+10h] [bp-10h]
v9 = nullptr;
v8[0] = 0;
v8[1] = 0;
std::string::__init(v8);
v2 = v9;
if ( (v8[0] & 1) == 0 )
v2 = (char *)v8 + 1;
v3 = sub_9932A8(0, v2);
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
std::string::__init(a1, v3, 0);
v4 = v9;
if ( (*(_BYTE *)a1 & 1) != 0 )
{
v6 = a1[2];
v5 = (v8[0] & 1) == 0;
}
else
{
v5 = (v8[0] & 1) == 0;
v6 = (int)a1 + 1;
}
if ( v5 )
v4 = (char *)v8 + 1;
sub_9932A8(v6, v4);
std::string::~string((int)v8);
return _stack_chk_guard - v10;
}