//
// InfoLayer::onCopyLevelID from 0x907390 to 0x907420 (144 bytes)
//
// 3 xrefs:
// > ??> @ 0xdb4f0
// > InfoLayer::setupLevelInfo @ 0x907768
// > ??> @ 0x1546938
//
// This function is hookable on this platform (idp: arm, 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:57:09 +0000
//
__int64 __fastcall InfoLayer::onCopyLevelID(InfoLayer *this, cocos2d::CCObject *a2)
{
int ID; // w0
unsigned __int64 v4[3]; // [xsp+20h] [xbp+20h] BYREF
ID = InfoLayer::getID(this);
GameToolbox::intToString(v4, (GameToolbox *)abs32(ID));
PlatformToolbox::copyToClipboard((__int64)v4);
if ( (v4[0] & 1) != 0 )
operator delete((void *)v4[2]);
return _stack_chk_guard;
}