//
// CCTextInputNode::updateDefaultFontValues from 0x3e1908 to 0x3e1974 (108 bytes)
//
// 2 xrefs:
// > CCTextInputNode::init @ 0x3e2ae0
// > CCTextInputNode::addTextArea @ 0x3e3292
//
// 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 11:47:02 +0000
//
int __fastcall CCTextInputNode::updateDefaultFontValues(int a1, unsigned __int8 *a2)
{
_BOOL4 v4; // r7
int result; // r0
float v6; // s14
float v7; // s15
int v8[3]; // [sp+0h] [bp-14h] BYREF
memset(v8, 0, sizeof(v8));
std::string::__init(v8, "chatFont.fnt", 0xCu);
v4 = sub_3DC1CE(a2, (unsigned __int8 *)v8);
result = std::string::~string((int)v8);
v6 = 1.5;
if ( v4 )
v6 = -0.5;
v7 = 5.0;
*(float *)(a1 + 348) = v6;
if ( !v4 )
v7 = 20.0;
*(float *)(a1 + 352) = v7;
return result;
}