// // GJRotationControl::setAngle from 0xbcee1c to 0xbceee4 (200 bytes) // // 5 xrefs: // > LevelEditorLayer::handleAction @ 0x7a23a4 // > GJRotationControl::onApplyAngle @ 0xbcefec // > GJRotationControl::init @ 0xbd4164 // > EditorUI::activateRotationControl @ 0xc0249c // > @ 0xf9b08 // // 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:03:36 +0000 // __int64 __fastcall GJRotationControl::setAngle(GJRotationControl *this, float a2) { float v3; // s8 char *v4; // x22 float v5; // s9 float v6; // s0 long double v7; // q0 const char *v8; // x1 _BYTE v10[8]; // [xsp+50h] [xbp+50h] BYREF v3 = (float)-a2 * 0.017453; v4 = (char *)this + 412; *((float *)this + 108) = a2; *((float *)this + 109) = a2; v5 = cosf(v3); v6 = sinf(v3); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, v5 * 60.0, v6 * 60.0); *(__n128 *)&v7 = cocos2d::CCPoint::operator=(v4, v10); (*(void (__fastcall **)(_QWORD, char *, long double))(**((_QWORD **)this + 53) + 184LL))( *((_QWORD *)this + 53), v4, v7); GJRotationControl::updateAngleInput(this, *((float *)this + 109), v8); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source