//
// std::__ndk1::codecvt::do_encoding from 0x970ad8 to 0x970b38 (96 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:52 +0000
//
int __fastcall std::codecvt::do_encoding(int a1)
{
int v2; // r5
int v3; // r6
int v5; // r0
int v6; // r0
v2 = sub_992F18(*(_DWORD *)(a1 + 8));
v3 = sub_993784(0, 0, 1);
if ( v2 )
sub_992F18(v2);
if ( v3 )
return -1;
v5 = *(_DWORD *)(a1 + 8);
if ( v5 )
{
v6 = sub_992F18(v5);
if ( v6 )
sub_992F18(v6);
}
return 1;
}