//
// GJGarageLayer::textChanged from 0x8b99d0 to 0x8b9a70 (160 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'GJGarageLayer::textChanged @ 0x8b9a74
// > ??> @ 0xdf498
// > ??> @ 0x145ab80
//
// 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 12:56:26 +0000
//
__int64 __fastcall GJGarageLayer::textChanged(GJGarageLayer *this, CCTextInputNode *a2)
{
char *v3; // x1
__int64 v5[2]; // [xsp+30h] [xbp+30h] BYREF
char *v6; // [xsp+40h] [xbp+40h]
CCTextInputNode::getString(a2, v5);
v3 = (char *)v5 + 1;
if ( (v5[0] & 1) != 0 )
v3 = v6;
GJGarageLayer::updatePlayerName(this, v3);
if ( (v5[0] & 1) != 0 )
operator delete(v6);
return _stack_chk_guard;
}