// // EditorUI::moveObject from 0x1401fee70 to 0x1401ff2c6 (1110 bytes) // // 19 xrefs: // > EditorUI::ccTouchMoved @ 0x1401c0a39 // > EditorUI::ccTouchMoved @ 0x1401c0a71 // > EditorUI::ccTouchEnded @ 0x1401c11be // > EditorUI::repositionObjectsToCenter @ 0x1401c7467 // > EditorUI::moveObjectCall_1 @ 0x1401fec87 // > EditorUI::moveObjectCall_1 @ 0x1401fed8d // > EditorUI::transformObject @ 0x1401ffeb1 // > EditorUI::flipObjectsX @ 0x1402000a7 // > EditorUI::flipObjectsY @ 0x140200297 // > EditorUI::rotateObjects @ 0x1402004e2 // > EditorUI::scaleObjects @ 0x140200ba0 // > EditorUI::transformObjects @ 0x140201211 // > EditorUI::alignObjectsOnAxis @ 0x140201735 // > EditorUI::alignObjectsOnAxis @ 0x140201762 // > EditorUI::alignObjects @ 0x140201c19 // > EditorUI::alignObjects @ 0x140201cdd // > @ 0x1408a3a7c // > @ 0x1408a3ab0 // > @ 0x14091ac84 // // 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:12 +0000 // void __fastcall EditorUI::moveObject(__int64 a1, __int64 a2, __int64 a3) { __int64 v6; // rax float v7; // xmm2_4 __int64 v8; // rax __int64 v9; // rcx int v10; // eax __int64 v11; // rbx int v12; // edx bool v13; // zf char v14; // r14 __int64 v15; // rsi __int64 v16; // rbx int v17; // ecx __int64 v18; // rdx int v19; // ecx int v20; // ecx int v21; // ecx int v22; // ecx int v23; // ecx int v24; // ecx int v25; // ecx int v26; // ecx int v27; // ecx int v28; // ecx int v29; // ecx int v30; // ecx float v31; // [rsp+48h] [rbp+10h] BYREF float v32; // [rsp+4Ch] [rbp+14h] char v33; // [rsp+58h] [rbp+20h] BYREF if ( !a2 ) return; v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 200LL))(a2); cocos2d::CCPoint::operator+(v6, &v31, a3); v7 = fmaxf(-3000.0, v32); v8 = *(_QWORD *)(a1 + 1512); v32 = v7; v31 = fminf(240000.0, fmaxf(-3000.0, v31)); v9 = *(_QWORD *)(v8 + 3528); v10 = 80; if ( *(_BYTE *)(v9 + 461) ) v10 = 1000; v32 = fminf((float)((float)v10 * 30.0) + 90.0, v7); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v33, (const struct cocos2d::CCPoint *)&v31); (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)a2 + 184LL))(a2, &v33); (*(void (__fastcall **)(__int64))(*(_QWORD *)a2 + 1224LL))(a2); v11 = *(_QWORD *)(a1 + 1512); GJBaseGameLayer::removeObjectFromSection(v11, a2); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 1192LL))(v11, a2); v12 = *(_DWORD *)(a2 + 1036); if ( v12 > 1934 ) { if ( v12 == 1935 || v12 == 2900 || v12 == 2902 || v12 == 3022 ) goto LABEL_20; v13 = v12 == 3027; goto LABEL_18; } if ( v12 == 1934 ) { LABEL_20: v14 = 1; goto LABEL_21; } if ( v12 > 203 ) { if ( v12 != 1334 ) { v13 = v12 == 1917; goto LABEL_18; } goto LABEL_20; } if ( v12 == 203 || v12 == 200 || v12 == 201 ) goto LABEL_20; v13 = v12 == 202; LABEL_18: if ( v13 ) goto LABEL_20; v14 = 0; LABEL_21: if ( v12 == 747 ) { v15 = *(_QWORD *)(a2 + 1864); if ( v15 ) { v16 = *(_QWORD *)(a1 + 1512); GJBaseGameLayer::removeObjectFromSection(v16, *(_QWORD *)(a2 + 1864)); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v16 + 1192LL))(v16, v15); } } v17 = *(_DWORD *)(a2 + 1036); v18 = *(_QWORD *)(a1 + 1512); if ( v17 <= 744 ) { if ( v17 != 744 ) { switch ( v17 ) { case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 31: case 32: case 33: case 55: case 56: case 57: case 58: case 59: goto LABEL_61; case 29: case 30: case 105: goto LABEL_39; default: goto LABEL_62; } goto LABEL_62; } goto LABEL_39; } if ( v17 > 2899 ) { if ( v17 <= 3643 ) { if ( v17 != 3643 ) { switch ( v17 ) { case 2903: case 2904: case 2905: case 2907: case 2909: case 2910: case 2911: case 2912: case 2913: case 2914: case 2915: case 2916: case 2917: case 2919: case 2920: case 2921: case 2922: case 2923: case 2924: case 3006: case 3007: case 3008: case 3009: case 3010: case 3016: case 3017: case 3018: case 3019: case 3020: case 3021: case 3022: case 3023: case 3024: goto LABEL_61; default: goto LABEL_62; } goto LABEL_62; } goto LABEL_61; } if ( v17 != 3660 ) goto LABEL_62; LABEL_61: *(_BYTE *)(*(_QWORD *)(v18 + 14944) + 516LL) = 1; goto LABEL_62; } if ( v17 == 2899 ) goto LABEL_61; if ( v17 > 1594 ) { if ( v17 <= 1819 ) { if ( v17 != 1819 ) { v25 = v17 - 1612; if ( v25 ) { v26 = v25 - 1; if ( v26 ) { v27 = v26 - 201; if ( v27 ) { if ( v27 != 4 ) goto LABEL_62; } } } } goto LABEL_61; } v28 = v17 - 1912; if ( v28 ) { v29 = v28 - 3; if ( !v29 ) goto LABEL_61; v30 = v29 - 152; if ( !v30 ) goto LABEL_61; if ( v30 != 1 ) goto LABEL_62; } LABEL_56: *(_BYTE *)(v18 + 14828) = 1; goto LABEL_61; } if ( v17 == 1594 ) goto LABEL_61; if ( v17 > 1007 ) { v23 = v17 - 1049; if ( !v23 ) goto LABEL_61; v24 = v23 - 219; if ( v24 ) { if ( (unsigned int)(v24 - 78) >= 2 ) goto LABEL_62; goto LABEL_61; } goto LABEL_56; } if ( v17 == 1007 ) { *(_BYTE *)(v18 + 14827) = 1; goto LABEL_61; } v19 = v17 - 899; if ( !v19 ) goto LABEL_39; v20 = v19 - 1; if ( !v20 ) goto LABEL_39; v21 = v20 - 1; if ( !v21 ) goto LABEL_61; v22 = v21 - 14; if ( !v22 ) { LABEL_39: *(_BYTE *)(v18 + 14825) = 1; goto LABEL_61; } if ( v22 == 91 ) { *(_BYTE *)(v18 + 14826) = 1; goto LABEL_61; } LABEL_62: if ( *(_BYTE *)(a2 + 1261) ) *(_BYTE *)(v18 + 14840) = 1; if ( *(_BYTE *)(a2 + 1263) ) cocos2d::CCPoint::operator=(a2 + 1816, &dword_14090AF10); if ( v14 || (*(unsigned __int8 (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 1528LL))(a2, v18) ) *(_BYTE *)(a1 + 917) = 1; }