// // EditorUI::copyObjectsDetailed from 0x1401c5ab0 to 0x1401c5c47 (407 bytes) // // 2 xrefs: // > EditorUI::addObjectsToSmartTemplate @ 0x1401b655b // > @ 0x14091a744 // // 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:04 +0000 // // Hidden C++ exception states: #wind=2 _QWORD *__fastcall EditorUI::copyObjectsDetailed(__int64 a1, _QWORD *a2, __int64 a3) { __int64 v6; // rcx unsigned int *v7; // rbx __int64 v8; // rax _QWORD *v9; // rbx _QWORD *i; // rbp _DWORD *v11; // rdi const struct cocos2d::CCPoint *v12; // rax __int64 v13; // rax void **v14; // rdx _BYTE v16[8]; // [rsp+28h] [rbp-70h] BYREF _BYTE v17[8]; // [rsp+30h] [rbp-68h] BYREF _BYTE v18[8]; // [rsp+38h] [rbp-60h] BYREF _QWORD *v19; // [rsp+40h] [rbp-58h] void *v20[4]; // [rsp+48h] [rbp-50h] BYREF v19 = a2; qsort( *(void **)(*(_QWORD *)(a3 + 56) + 16LL), **(unsigned int **)(a3 + 56), 8u, (_CoreCrtNonSecureSearchSortCompareFunction)sub_14019F2E0); EditorUI::getGroupCenter(v6, v16, a3, 0); *(_OWORD *)a2 = 0; a2[2] = 0; a2[3] = 15; *(_BYTE *)a2 = 0; v7 = *(unsigned int **)(a3 + 56); v8 = *v7; if ( (_DWORD)v8 ) { v9 = *((_QWORD **)v7 + 2); for ( i = &v9[v8 - 1]; v9 <= i; ++v9 ) { v11 = (_DWORD *)*v9; if ( !*v9 ) break; if ( v11[259] != 749 ) { v12 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v11 + 200LL))(*v9); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, v12); v13 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v11 + 200LL))(v11); cocos2d::CCPoint::operator-(v13, v17, v16); (*(void (__fastcall **)(_DWORD *, _BYTE *))(*(_QWORD *)v11 + 184LL))(v11, v17); (*(void (__fastcall **)(_DWORD *, void **, _QWORD))(*(_QWORD *)v11 + 1240LL))(v11, v20, *(_QWORD *)(a1 + 1512)); (*(void (__fastcall **)(_DWORD *, _BYTE *))(*(_QWORD *)v11 + 184LL))(v11, v18); v14 = v20; if ( v20[3] > (void *)0xF ) v14 = (void **)v20[0]; sub_140044D80(a2, v14, (size_t)v20[2]); sub_140044D80(a2, &unk_140752308, 1u); sub_14003D310((__int64)v20); } } } return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source