//
// GJRotationControl::updateAngleInput from 0x6edcc8 to 0x6edd3e (118 bytes)
//
// 3 xrefs:
// > GJRotationControl::setAngle @ 0x6eddc2
// > GJRotationControl::updateSliderPosition @ 0x6edeac
// > GJRotationControl::onApplyAngle @ 0x6edfc6
//
// 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:57:33 +0000
//
int __fastcall GJRotationControl::updateAngleInput(int this, const char *a2)
{
int v2; // r6
int v3; // r5
cocos2d::CCString *v4; // r0
const char *CString; // r7
size_t v6; // r0
int v7[3]; // [sp+0h] [bp-14h] BYREF
v2 = *(_DWORD *)(this + 356);
if ( v2 )
{
v3 = *(unsigned __int8 *)(v2 + 344);
if ( !*(_BYTE *)(v2 + 344) )
{
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.2f", a2, *(float *)&a2);
v7[0] = v3;
v7[1] = v3;
v7[2] = v3;
CString = (const char *)cocos2d::CCString::getCString(v4);
v6 = strlen(CString);
std::string::__init(v7, CString, v6);
CCTextInputNode::setString(v2, (int)v7);
return std::string::~string((int)v7);
}
}
return this;
}