// // GJRotationControl::setAngle from 0x6edd48 to 0x6eddda (146 bytes) // // 4 xrefs: // > LevelEditorLayer::handleAction @ 0x46f296 // > GJRotationControl::onApplyAngle @ 0x6ee06c // > GJRotationControl::init @ 0x6ef400 // > EditorUI::activateRotationControl @ 0x70ec4c // // 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::setAngle(GJRotationControl *this, float a2) { char *v3; // r7 float v4; // s16 float v5; // s17 float v6; // r0 _BYTE v8[8]; // [sp+4h] [bp-10h] BYREF v3 = (char *)this + 324; *((float *)this + 84) = a2; *((float *)this + 85) = a2; v4 = -(float)(a2 * 0.017453); v5 = cosf(v4); v6 = sinf(v4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, v5 * 60.0, v6 * 60.0); cocos2d::CCPoint::operator=(v3, v8); (*(void (__fastcall **)(_DWORD, char *))(**((_DWORD **)this + 83) + 92))(*((_DWORD *)this + 83), v3); return GJRotationControl::updateAngleInput((int)this, *((const char **)this + 85)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source