// // SetFolderPopup::create from 0x1002adba0 to 0x1002add7d (477 bytes) // // 3 xrefs: // > EditLevelLayer::onSetFolder @ 0x1001fcfe5 // > LevelInfoLayer::onSetFolder @ 0x1002c29fb // > LevelBrowserLayer::onGoToFolder @ 0x10048e04e // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // char *__fastcall SetFolderPopup::create(unsigned int a1, unsigned __int8 a2, __int128 *a3) { char *v4; // rbx char v5; // r14 __int128 v7; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] v4 = (char *)operator new(0x2C0u); cocos2d::CCLayerColor::CCLayerColor(v4); *((_QWORD *)v4 + 72) = 0; *((_DWORD *)v4 + 146) = 0; v4[588] = 0; *((_OWORD *)v4 + 34) = 0; *(_OWORD *)(v4 + 553) = 0; *((_OWORD *)v4 + 37) = 0; *((_QWORD *)v4 + 76) = 0; *((_DWORD *)v4 + 154) = -1; *((_WORD *)v4 + 310) = 0; *((_DWORD *)v4 + 156) = -1; v4[628] = 0; *((_DWORD *)v4 + 164) = 0; *((_QWORD *)v4 + 80) = 0; *(_QWORD *)(v4 + 646) = 0; *(_QWORD *)(v4 + 660) = 1000; *((_QWORD *)v4 + 84) = 0; *(_QWORD *)v4 = off_100900E28; *((_QWORD *)v4 + 40) = off_100901368; *((_QWORD *)v4 + 41) = &off_1009013D8; *((_QWORD *)v4 + 42) = off_1009013F0; *((_QWORD *)v4 + 43) = off_100901410; *((_QWORD *)v4 + 44) = off_100901430; *((_QWORD *)v4 + 51) = off_100901458; *((_QWORD *)v4 + 54) = off_1009014D8; *((_QWORD *)v4 + 79) = off_1009014F8; *((_QWORD *)v4 + 85) = &off_100901540; v4[688] = 0; *((_QWORD *)v4 + 87) = 0; if ( (*(_BYTE *)a3 & 1) != 0 ) { sub_100006B70(&v7, *((const void **)a3 + 2), *((_QWORD *)a3 + 1), 0.0); } else { __p = *((void **)a3 + 2); v7 = *a3; } v5 = SetFolderPopup::init(v4, a1, a2, &v7); if ( (v7 & 1) != 0 ) operator delete(__p); if ( v5 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source