//
// GJRotateCommandLayer::updateDegreesLabel from 0x4df1ac to 0x4df24c (160 bytes)
//
// 2 xrefs:
// > GJRotateCommandLayer::init @ 0x4e04fe
// > GJRotateCommandLayer::sliderDegreesChanged @ 0x4e08d0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GJRotateCommandLayer::updateDegreesLabel(GJRotateCommandLayer *a1)
{
CCTextInputNode *m_degreesInput; // r7
char *v3; // r2
GJRotateCommandLayer *v4; // [sp+0h] [bp-10h] BYREF
_BYTE v5[4]; // [sp+4h] [bp-Ch] BYREF
char v6[4]; // [sp+8h] [bp-8h] BYREF
v4 = a1;
a1->m_disableTextChanged = 1;
sub_776584((int)&v4, (char *)&unk_939830);
if ( a1->m_degrees != -99999.0 )
{
truncFloat2ToStr((int)v5, (const char *)LODWORD(a1->m_degrees));
sub_774794(&v4, v5);
sub_774008(v5);
}
m_degreesInput = a1->m_degreesInput;
sub_775C20(v6);
CCTextInputNode::setString((int)m_degreesInput, v6, v3);
sub_774008(v6);
a1->m_disableTextChanged = 0;
sub_774008(&v4);
}