// // GJTransformControl::refreshControl from 0x6eca1c to 0x6ecb18 (252 bytes) // // 4 xrefs: // > LevelEditorLayer::handleAction @ 0x46f258 // > EditorUI::ccTouchMoved @ 0x6f08a2 // > EditorUI::ccTouchEnded @ 0x6f1058 // > EditorUI::moveObjectCall @ 0x70ede0 // // 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:32 +0000 // int __fastcall GJTransformControl::refreshControl(GJTransformControl *this) { int v2; // r5 void (__fastcall *v3)(int, _BYTE *); // r9 int v4; // r0 int v5; // r0 int v6; // r0 int v7; // r0 int v8; // r0 int result; // r0 int v10; // r0 const cocos2d::CCPoint *v11; // r0 int v12; // r7 _BYTE v13[8]; // [sp+4h] [bp+0h] BYREF _BYTE v14[8]; // [sp+Ch] [bp+8h] BYREF _BYTE v15[8]; // [sp+14h] [bp+10h] BYREF _BYTE v16[8]; // [sp+1Ch] [bp+18h] BYREF _BYTE v17[8]; // [sp+24h] [bp+20h] BYREF cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13); v2 = *((_DWORD *)this + 84); if ( v2 ) { v3 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v2 + 52); v4 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 1); (*(void (__fastcall **)(int))(*(_DWORD *)v4 + 96))(v4); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v17, this); v5 = v2; v2 = 1; v3(v5, v17); v6 = GJTransformControl::spriteByTag((cocos2d::CCArray **)this, 1); (*(void (__fastcall **)(int, void *))(*(_DWORD *)v6 + 92))(v6, &unk_D2DAF0); v7 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 81), 0); v8 = (*(int (__fastcall **)(int))(*(_DWORD *)v7 + 96))(v7); cocos2d::CCPoint::operator=(v13, v8); GJTransformControl::updateButtons(this, 0, 1); } result = GJTransformControl::updateButtons(this, 0, 0); if ( v2 ) { v10 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 81), 0); v11 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(int))(*(_DWORD *)v10 + 96))(v10); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, v11); cocos2d::CCPoint::operator-(v15, v13, v14); v12 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 84) + 60))(*((_DWORD *)this + 84)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, (const cocos2d::CCPoint *)v15); EditorUI::checkDiffAfterTransformAnchor(v16, v12, v17, *((_DWORD *)this + 81)); GJTransformControl::updateButtons(this, 0, 1); return GJTransformControl::updateButtons(this, 0, 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source