//
// EditLevelLayer::onSetFolder from 0x49fb50 to 0x49fbc2 (114 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:49 +0000
//
int __fastcall EditLevelLayer::onSetFolder(int this, cocos2d::CCObject *a2)
{
int v2; // r5
int v3; // r2
int v4; // r7
int *v5; // r7
int v6; // r3
int v7[3]; // [sp+0h] [bp-14h] BYREF
v2 = this;
v3 = *(_DWORD *)(this + 348);
if ( v3 )
{
v4 = *(_DWORD *)(v3 + 740);
memset(v7, 0, sizeof(v7));
std::string::__init(v7, "Set Folder", 0xAu);
v5 = (int *)SetFolderPopup::create(v4, 1, v7);
std::string::~string((int)v7);
v6 = *v5;
v5[136] = v2 + 332;
return (*(int (__fastcall **)(int *))(v6 + 656))(v5);
}
return this;
}