// // LevelEditorLayer::pasteColorState from 0x1000c7b50 to 0x1000c7bda (138 bytes) // // 2 xrefs: // > CustomizeObjectLayer::onPaste @ 0x1001da7a3 // > EditorUI::onPasteColor @ 0x1005b86e4 // // 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 12:20:36 +0000 // unsigned int *__fastcall LevelEditorLayer::pasteColorState(__int64 a1, __int64 a2, __int64 a3) { unsigned int *result; // rax _QWORD *v4; // r15 unsigned __int64 v5; // r12 __int64 v6; // r14 result = *(unsigned int **)(a1 + 14120); if ( result ) { if ( a2 ) { result = (unsigned int *)GameObject::duplicateColorMode(a2, result); *(_BYTE *)(a2 + 1148) = 1; } else if ( a3 ) { result = *(unsigned int **)(a3 + 56); if ( *result ) { v4 = *((_QWORD **)result + 2); v5 = (unsigned __int64)&v4[*result - 1]; do { v6 = *v4; if ( !*v4 ) break; result = (unsigned int *)GameObject::duplicateColorMode(*v4, *(_QWORD *)(a1 + 14120)); *(_BYTE *)(v6 + 1148) = 1; ++v4; } while ( (unsigned __int64)v4 <= v5 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source