//
// SetItemIDLayer::dSetItemIDLayer from 0x140597ee0 to 0x140597faa (202 bytes)
//
// 3 xrefs:
// > sub_140598B58 @ 0x140598b5f
// > ??> @ 0x1407e5e40
// > ??> @ 0x14092d1e8
//
// 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:34:34 +0000
//
_QWORD *__fastcall SetItemIDLayer::dSetItemIDLayer(_QWORD *Block, char a2)
{
*Block = &SetItemIDLayer::`vftable';
Block[40] = &SetItemIDLayer::`vftable';
Block[41] = &SetItemIDLayer::`vftable';
Block[42] = &SetItemIDLayer::`vftable';
Block[43] = &SetItemIDLayer::`vftable';
Block[44] = &SetItemIDLayer::`vftable';
Block[51] = &SetItemIDLayer::`vftable';
Block[54] = &SetItemIDLayer::`vftable';
Block[68] = &SetItemIDLayer::`vftable';
Block[83] = &SetItemIDLayer::`vftable';
Block[84] = &SetItemIDLayer::`vftable';
SetupTriggerPopup::dSetupTriggerPopup(Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}