//
// LevelInfoLayer::onSetFolder from 0x7e5690 to 0x7e5774 (228 bytes)
//
// 3 xrefs:
// > ??> @ 0xa6ff0
// > LevelInfoLayer::init @ 0x7ebe48
// > ??> @ 0x1544b10
//
// 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:54:28 +0000
//
__int64 __fastcall LevelInfoLayer::onSetFolder(LevelInfoLayer *this, cocos2d::CCObject *a2)
{
__int64 v3; // x0
__int64 v5; // x0
__int64 *v6; // x21
__int64 v7; // x1
char v8[9]; // [xsp+31h] [xbp+31h] BYREF
__int16 v9; // [xsp+3Ah] [xbp+3Ah]
int v10; // [xsp+3Ch] [xbp+3Ch]
void *v11; // [xsp+40h] [xbp+40h]
v3 = *((_QWORD *)this + 63);
if ( v3 && !*((_BYTE *)this + 488) )
{
v5 = *(unsigned int *)(v3 + 916);
v8[8] = 0;
v9 = 0;
v10 = 0;
v11 = nullptr;
strcpy(v8, "Set Fol");
v6 = (__int64 *)SetFolderPopup::create(v5);
v7 = *v6;
v6[87] = (__int64)this + 464;
(*(void (__fastcall **)(__int64 *))(v7 + 1312))(v6);
}
return _stack_chk_guard;
}