// // SetFolderPopup::create from 0xa2ae08 to 0xa2b080 (632 bytes) // // 4 xrefs: // > LevelInfoLayer::onSetFolder @ 0x7e571c // > EditLevelLayer::onSetFolder @ 0x7ed6f8 // > LevelBrowserLayer::onGoToFolder @ 0x7f57d8 // > @ 0xddf80 // // 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:59:44 +0000 // __int64 __fastcall SetFolderPopup::create(int a1, char a2, char *a3) { __int64 v6; // x19 char v7; // w0 __int64 v8; // x0 __int64 v9; // x1 int v10; // w21 __int64 v11; // x1 __int64 v12; // x0 __int64 v14; // [xsp+50h] [xbp+50h] BYREF __int64 v15; // [xsp+58h] [xbp+58h] void *v16; // [xsp+60h] [xbp+60h] v6 = operator new(0x2D8u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v6); *(_QWORD *)(v6 + 552) = 0; *(_QWORD *)v6 = &off_1419A40; *(_QWORD *)(v6 + 320) = off_1419F90; *(_QWORD *)(v6 + 328) = &off_141A000; *(_QWORD *)(v6 + 336) = off_141A018; *(_QWORD *)(v6 + 344) = off_141A038; *(_QWORD *)(v6 + 352) = off_141A060; *(_QWORD *)(v6 + 408) = &off_141A090; *(_QWORD *)(v6 + 432) = &off_141A110; *(_QWORD *)(v6 + 544) = off_141A130; *(_QWORD *)(v6 + 560) = 0; *(_QWORD *)(v6 + 568) = 0; *(_BYTE *)(v6 + 576) = 0; *(_QWORD *)(v6 + 584) = 0; *(_DWORD *)(v6 + 592) = 0; *(_BYTE *)(v6 + 596) = 0; *(_BYTE *)(v6 + 597) = 0; *(_BYTE *)(v6 + 598) = 0; *(_BYTE *)(v6 + 599) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 600)); *(_DWORD *)(v6 + 632) = -1; *(_DWORD *)(v6 + 640) = -1; *(_DWORD *)(v6 + 684) = 1000; *(_QWORD *)(v6 + 608) = 0; *(_QWORD *)(v6 + 616) = 0; *(_QWORD *)(v6 + 624) = 0; *(_BYTE *)(v6 + 636) = 0; *(_BYTE *)(v6 + 637) = 0; *(_BYTE *)(v6 + 644) = 0; *(_BYTE *)(v6 + 656) = 0; *(_QWORD *)(v6 + 664) = 0; *(_DWORD *)(v6 + 672) = 0; *(_BYTE *)(v6 + 676) = 0; *(_BYTE *)(v6 + 677) = 0; *(_DWORD *)(v6 + 680) = 0; *(_DWORD *)(v6 + 688) = 0; *(_QWORD *)(v6 + 696) = 0; *(_DWORD *)(v6 + 648) = 0; *(_DWORD *)(v6 + 652) = 0; *(_BYTE *)(v6 + 712) = 0; *(_QWORD *)v6 = &off_1481480; *(_QWORD *)(v6 + 320) = off_14819F0; *(_QWORD *)(v6 + 328) = &off_1481A60; *(_QWORD *)(v6 + 336) = off_1481A78; *(_QWORD *)(v6 + 344) = off_1481A98; *(_QWORD *)(v6 + 352) = off_1481AC0; *(_QWORD *)(v6 + 408) = &off_1481AF0; *(_QWORD *)(v6 + 432) = &off_1481B70; *(_QWORD *)(v6 + 544) = off_1481B90; *(_QWORD *)(v6 + 704) = &off_1481BD8; *(_QWORD *)(v6 + 720) = 0; v14 = 0; v15 = 0; v7 = *a3; v16 = nullptr; if ( (v7 & 1) != 0 ) { std::string::__init(&v14, *((void **)a3 + 2), *((_QWORD *)a3 + 1)); } else { v8 = *(_QWORD *)a3; v9 = *((_QWORD *)a3 + 1); v16 = *((void **)a3 + 2); v14 = v8; v15 = v9; } v10 = (unsigned __int8)SetFolderPopup::init(v6, a1, a2, (char *)&v14); if ( (v14 & 1) != 0 ) operator delete(v16); if ( v10 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6); } else { v11 = *(_QWORD *)v6; v12 = v6; v6 = 0; (*(void (__fastcall **)(__int64))(v11 + 16))(v12); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source