// // EditorUI::showTransformControl from 0x140203340 to 0x1402034b9 (377 bytes) // // 5 xrefs: // > EditorUI::activateTransformControl @ 0x140203326 // > LevelEditorLayer::handleAction @ 0x1403f2e82 // > @ 0x1408a4024 // > @ 0x1408a4034 // > @ 0x14091affc // // This function is hookable on this platform (idp: pc, 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 11:28:14 +0000 // unsigned int __fastcall EditorUI::showTransformControl(__int64 a1) { unsigned int result; // eax cocos2d::CCArray *v3; // rcx __int64 v4; // rcx cocos2d::CCPoint *GroupCenter; // rax __int64 v6; // rdx __int64 v7; // rax __int64 v8; // rbx struct cocos2d::CCObject *v9; // rax __int64 v10; // rcx __int16 v11; // [rsp+30h] [rbp+8h] BYREF char v12; // [rsp+32h] [rbp+Ah] result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 944)); if ( result || *(_QWORD *)(a1 + 1568) ) { v11 = -22874; v12 = -90; *(_BYTE *)(a1 + 556) = 1; EditorUI::updateEditButtonColor(a1, 47, &v11); v3 = *(cocos2d::CCArray **)(a1 + 944); *(_BYTE *)(a1 + 824) = 0; if ( cocos2d::CCArray::count(v3) ) GroupCenter = EditorUI::getGroupCenter(v4, (cocos2d::CCPoint *)&v11, *(cocos2d::CCArray **)(a1 + 944), 0); else GroupCenter = (cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1568) + 200LL))(*(_QWORD *)(a1 + 1568)); cocos2d::CCPoint::operator=(a1 + 816, GroupCenter); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 840) + 184LL))(*(_QWORD *)(a1 + 840), a1 + 816); (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 1512) + 4296LL) + 168LL))(*(_QWORD *)(*(_QWORD *)(a1 + 1512) + 4296LL)); GJTransformControl::scaleButtons(*(_QWORD *)(a1 + 840)); LOBYTE(v6) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 840) + 336LL))(*(_QWORD *)(a1 + 840), v6); v7 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 840) + 200LL))(*(_QWORD *)(a1 + 840)); cocos2d::CCPoint::operator-(a1 + 816, &v11, v7); v8 = *(_QWORD *)(a1 + 840); v9 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v8 + 512), 0); result = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *, __int16 *))(*(_QWORD *)v9 + 184LL))(v9, &v11); v10 = *(_QWORD *)(v8 + 440); if ( v10 ) return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v10 + 96LL))(v10); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source