// // EditorUI::showTransformControl from 0x70ea34 to 0x70eb26 (242 bytes) // // 2 xrefs: // > LevelEditorLayer::handleAction @ 0x46f3f6 // > EditorUI::activateTransformControl @ 0x70f002 // // 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:43 +0000 // int __fastcall EditorUI::showTransformControl(cocos2d::CCArray **this, int a2, int a3, int a4) { int result; // r0 char *v6; // r6 char *v7; // r0 _DWORD *v8; // r1 GJTransformControl *v9; // r8 float v10; // r0 int v11; // r4 int v12; // r0 _DWORD v13[3]; // [sp+4h] [bp-Ch] BYREF v13[0] = a2; v13[1] = a3; v13[2] = a4; result = cocos2d::CCArray::count(*(this + 167)); if ( result || *(this + 249) ) { *((_BYTE *)this + 392) = 1; v6 = (char *)(this + 145); EditorUI::updateEditButtonColor((int)this, (_BYTE *)&word_2E + 1, 10921638); *((_BYTE *)this + 588) = 0; if ( cocos2d::CCArray::count(*(this + 167)) ) { EditorUI::getGroupCenter((EditorUI *)v13, (cocos2d::CCArray *)this, *(this + 167), 0); v7 = (char *)(this + 145); v8 = v13; } else { v8 = (_DWORD *)(*(int (__fastcall **)(_DWORD))(*(_DWORD *)*(this + 249) + 96))(*(this + 249)); v7 = (char *)(this + 145); } cocos2d::CCPoint::operator=(v7, v8); (*(void (__fastcall **)(_DWORD, char *))(*(_DWORD *)*(this + 149) + 92))(*(this + 149), (char *)this + 580); v9 = *(this + 149); v10 = (*(float (__fastcall **)(_DWORD))(**((_DWORD **)*(this + 236) + 609) + 84))(*((_DWORD *)*(this + 236) + 609)); GJTransformControl::scaleButtons(v9, 1.0 / v10); (*(void (__fastcall **)(_DWORD, int))(*(_DWORD *)*(this + 149) + 172))(*(this + 149), 1); v11 = (int)*(this + 149); v12 = (*(int (__fastcall **)(int))(*(_DWORD *)v11 + 96))(v11); cocos2d::CCPoint::operator-(v13, v6, v12); return GJTransformControl::updateAnchorSprite(v11, (int)v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source