// // SetupCameraRotatePopup::textChanged from 0xaecc10 to 0xaecdac (412 bytes) // // 3 xrefs: // > `non-virtual thunk to'SetupCameraRotatePopup::textChanged @ 0xaecdb4 // > @ 0xfc880 // > @ 0x14ae508 // // 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 13:01:10 +0000 // __int64 __fastcall SetupCameraRotatePopup::textChanged(SetupCameraRotatePopup *this, CCTextInputNode *a2) { int v4; // w0 char *v5; // x0 const char *v6; // x1 float v7; // s8 cocos2d::CCString *v8; // x0 int v9; // s0 Slider *v10; // x0 float v11; // s1 float v12; // s0 bool v13; // nf char *v14; // x0 const char *v15; // x1 float v16; // s8 cocos2d::CCString *v17; // x0 int v18; // s0 __int64 v20[2]; // [xsp+40h] [xbp+40h] BYREF char *v21; // [xsp+50h] [xbp+50h] if ( !*((_BYTE *)this + 744) ) { v4 = (*(__int64 (__fastcall **)(CCTextInputNode *))(*(_QWORD *)a2 + 64LL))(a2); if ( v4 ) { if ( v4 != 2 ) return _stack_chk_guard; CCTextInputNode::getString(a2, v20); v5 = (char *)v20 + 1; if ( (v20[0] & 1) != 0 ) v5 = v21; v7 = atof(v5); if ( (v20[0] & 1) != 0 ) operator delete(v21); v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v6, v7); cocos2d::CCString::floatValue(v8); *((_DWORD *)this + 258) = v9; SetupCameraRotatePopup::updateDuration(this); v10 = *((Slider **)this + 128); v11 = 1.0; v12 = *((float *)this + 258) / 10.0; v13 = v12 < 1.0; if ( v12 >= 1.0 ) goto LABEL_10; } else { CCTextInputNode::getString(a2, v20); v14 = (char *)v20 + 1; if ( (v20[0] & 1) != 0 ) v14 = v21; v16 = atof(v14); if ( (v20[0] & 1) != 0 ) operator delete(v21); v17 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v15, v16); cocos2d::CCString::floatValue(v17); *((_DWORD *)this + 272) = v18; SetupCameraRotatePopup::updateCommandDegrees(this); v10 = *((Slider **)this + 135); v11 = 1.0; v12 = (float)(*((float *)this + 272) / 720.0) + 0.5; v13 = v12 < 1.0; if ( v12 >= 1.0 ) { LABEL_10: if ( !v13 ) v12 = v11; LABEL_12: Slider::setValue(v10, v12); return _stack_chk_guard; } } if ( v12 <= 0.0 ) { Slider::setValue(v10, 0.0); return _stack_chk_guard; } goto LABEL_12; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source