// // GJTransformControl::refreshControl from 0x1401a5880 to 0x1401a5a28 (424 bytes) // // 7 xrefs: // > EditorUI::ccTouchMoved @ 0x1401c0bb5 // > EditorUI::ccTouchEnded @ 0x1401c12e5 // > EditorUI::moveObjectCall_1 @ 0x1401fede5 // > LevelEditorLayer::handleAction @ 0x1403f2dc6 // > @ 0x1408a0b34 // > @ 0x1408a0b44 // > @ 0x140919b08 // // 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:27:49 +0000 // __int64 __fastcall GJTransformControl::refreshControl(__int64 a1) { struct cocos2d::CCObject *v2; // rax __int64 *v3; // rdi __int64 v4; // rbx __int64 v5; // rax __int64 v6; // rax struct cocos2d::CCObject *v7; // rax struct cocos2d::CCObject *v8; // rax __int64 v9; // rax __int64 v10; // r8 struct cocos2d::CCObject *v11; // rax const struct cocos2d::CCPoint *v12; // rax __int64 v13; // rsi __int64 v14; // rbp __int64 (__fastcall *v15)(__int64); // rdi __int64 v16; // rax __int64 v17; // rbx __int64 v18; // rax __int64 v19; // r8 _BYTE v21[16]; // [rsp+20h] [rbp-38h] BYREF char v22; // [rsp+60h] [rbp+8h] BYREF char v23; // [rsp+68h] [rbp+10h] BYREF char v24; // [rsp+70h] [rbp+18h] BYREF char v25; // [rsp+78h] [rbp+20h] BYREF cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v22); if ( !*(_QWORD *)(a1 + 440) ) return GJTransformControl::updateButtons(a1, 0, 0); v2 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 512), 0); v3 = *(__int64 **)(a1 + 440); v4 = *v3; v5 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v2 + 200LL))(v2); cocos2d::CCNode::convertToWorldSpace(a1, &v23, v5); (*(void (__fastcall **)(__int64 *, __int64))(v4 + 104))(v3, v6); v7 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 512), 0); (*(void (__fastcall **)(struct cocos2d::CCObject *, void *))(*(_QWORD *)v7 + 184LL))(v7, &unk_14090A6C8); v8 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 424), 0); v9 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v8 + 200LL))(v8); cocos2d::CCPoint::operator=(&v22, v9); LOBYTE(v10) = 1; GJTransformControl::updateButtons(a1, 0, v10); GJTransformControl::updateButtons(a1, 0, 0); v11 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 424), 0); v12 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v11 + 200LL))(v11); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v23, v12); cocos2d::CCPoint::operator-(&v22, &v24, &v23); v13 = *(_QWORD *)(a1 + 440); v14 = *(_QWORD *)(a1 + 424); v15 = *(__int64 (__fastcall **)(__int64))(*(_QWORD *)v13 + 120LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v25, (const struct cocos2d::CCPoint *)&v24); v17 = v16; v18 = v15(v13); EditorUI::checkDiffAfterTransformAnchor(v18, v21, v17, v14); LOBYTE(v19) = 1; GJTransformControl::updateButtons(a1, 0, v19); return GJTransformControl::updateButtons(a1, 0, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source