// // PlatformToolbox::copyToClipboard from 0x1004c4a20 to 0x1004c4abb (155 bytes) // // 2 xrefs: // > InfoLayer::onCopyLevelID @ 0x1007b1f90 // > ProfilePage::onCopyName @ 0x1007bd8f5 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall PlatformToolbox::copyToClipboard( __int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6) { __int64 v6; // rbx __int64 v7; // r12 __int64 v8; // r14 __int64 v9; // r15 __int64 v10; // rdx NSString *v11; // rbx NSPasteboard *v12; // r14 NSArray *v13; // rax if ( (*(_BYTE *)a1 & 1) != 0 ) v10 = *(_QWORD *)(a1 + 16); else v10 = a1 + 1; v11 = +[NSString stringWithUTF8String:]( &OBJC_CLASS___NSString, "stringWithUTF8String:", v10, a4, a5, a6, v6, v7, v8, v9); v12 = +[NSPasteboard generalPasteboard](&OBJC_CLASS___NSPasteboard, "generalPasteboard"); v13 = +[NSArray arrayWithObject:](&OBJC_CLASS___NSArray, "arrayWithObject:", NSStringPboardType); -[NSPasteboard declareTypes:owner:](v12, "declareTypes:owner:", v13, 0); return -[NSPasteboard setString:forType:](v12, "setString:forType:", v11, NSStringPboardType); }
GD Web Decomp Icon

GD Web Decomp

Raw Source