// // EditorUI::showTransformControl from 0xc02144 to 0xc022b8 (372 bytes) // // 3 xrefs: // > LevelEditorLayer::handleAction @ 0x7a1c30 // > EditorUI::activateTransformControl @ 0xc02a08 // > @ 0xc60e8 // // 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:49 +0000 // __int64 __fastcall EditorUI::showTransformControl(EditorUI *this) { char *v2; // x22 __int64 v3; // x0 __n128 v4; // q0 GJTransformControl *v5; // x23 float v6; // s0 __int64 v7; // x19 __int64 v8; // x0 long double v9; // q0 __int64 v11; // [xsp+40h] [xbp+40h] BYREF if ( (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)) || *((_QWORD *)this + 187) ) { *((_BYTE *)this + 532) = 1; EditorUI::updateEditButtonColor((__int64)this, (_BYTE *)&qword_28 + 7, 10921638); *((_BYTE *)this + 776) = 0; v2 = (char *)this + 768; if ( (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)) ) { EditorUI::getGroupCenter((cocos2d::CCPoint *)&v11, *((cocos2d::CCArray **)this + 112), 0); v4 = cocos2d::CCPoint::operator=((char *)this + 768, &v11); } else { v3 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 187) + 192LL))(*((_QWORD *)this + 187)); v4 = cocos2d::CCPoint::operator=((char *)this + 768, v3); } (*(void (__fastcall **)(_QWORD, char *, long double))(**((_QWORD **)this + 99) + 184LL))( *((_QWORD *)this + 99), v2, *(long double *)&v4); v5 = *((GJTransformControl **)this + 99); v6 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(*((_QWORD *)this + 180) + 3920LL) + 168LL))(*(_QWORD *)(*((_QWORD *)this + 180) + 3920LL)); GJTransformControl::scaleButtons(v5, 1.0 / v6); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 99) + 344LL))(*((_QWORD *)this + 99), 1); v7 = *((_QWORD *)this + 99); v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 192LL))(v7); cocos2d::CCPoint::operator-(&v11, v2, v8, v9); GJTransformControl::updateAnchorSprite(v7, (__int64)&v11); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source