//
// std::__ndk1::collate_byname::collate_byname from 0x96f178 to 0x96f25c (228 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
//
// Alternative name is '_ZNSt6__ndk114collate_bynameIcEC1EPKcj'
_DWORD *__fastcall std::collate_byname::collate_byname(_DWORD *a1, char *a2, int a3)
{
int v5; // r0
void *exception; // r8
size_t v8; // r0
_DWORD *v9; // r0
int v10; // r5
int v11; // r6
int v12[4]; // [sp+0h] [bp-30h] BYREF
_DWORD v13[4]; // [sp+10h] [bp-20h] BYREF
*a1 = &off_D13ECC;
a1[1] = a3 - 1;
v5 = sub_992EBC(8127, a2);
a1[2] = v5;
if ( !v5 )
{
exception = _cxa_allocate_exception(8u);
memset(v12, 0, 12);
v8 = strlen(a2);
std::string::__init(v12, a2, v8);
v9 = std::string::insert(v12, 0, "collate_byname::collate_byname failed to construct for ");
v10 = v9[1];
v11 = v9[2];
v13[0] = *v9;
v13[1] = v10;
v13[2] = v11;
*v9 = 0;
v9[1] = 0;
v9[2] = 0;
std::runtime_error::runtime_error(exception, v13);
_cxa_throw(
exception,
(struct type_info *)&`typeinfo for'std::runtime_error,
(void (*)(void *))std::runtime_error::~runtime_error);
}
return a1;
}