// // SetupObjectOptionsPopup::init from 0x1003030c0 to 0x100304cff (7231 bytes) // // 1 xrefs: // > SetupObjectOptionsPopup::create @ 0x100301dda // // 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 12:28:34 +0000 // __int64 __fastcall SetupObjectOptionsPopup::init(__int64 a1, __int64 a2, __int64 a3) { __int64 v4; // r15 __int64 v5; // r14 __int64 result; // rax __int64 v7; // rax __int64 v8; // rax __int64 v9; // r15 __int64 v10; // rax __int64 v11; // r15 __int64 v12; // r12 char *v13; // r15 void *v14; // rax __int64 v15; // r15 __int64 v16; // r12 unsigned __int8 v17; // r13 __int64 v18; // r15 __int64 v19; // rbx unsigned __int8 v20; // r13 __int64 v21; // r15 __int64 v22; // rbx unsigned __int8 v23; // r13 __int64 v24; // r15 __int64 v25; // rbx unsigned __int8 v26; // r13 __int64 v27; // r15 __int64 v28; // rbx unsigned __int8 v29; // r13 __int64 v30; // r15 __int64 v31; // rbx unsigned __int8 v32; // bl __int64 v33; // r15 __int64 v34; // r13 unsigned __int8 v35; // bl __int64 v36; // r15 __int64 v37; // r13 unsigned __int8 v38; // bl __int64 v39; // r15 __int64 v40; // r13 unsigned __int8 v41; // bl __int64 v42; // r15 __int64 v43; // r13 unsigned __int8 v44; // bl __int64 v45; // r15 __int64 v46; // r13 unsigned __int8 v47; // bl __int64 v48; // r15 __int64 v49; // r13 unsigned __int8 v50; // bl __int64 v51; // r15 __int64 v52; // r13 unsigned __int8 v53; // bl __int64 v54; // r15 __int64 v55; // r13 unsigned __int8 v56; // bl __int64 v57; // r15 __int64 v58; // r13 unsigned __int8 v59; // bl __int64 v60; // r15 __int64 v61; // r13 unsigned __int8 v62; // bl __int64 v63; // r15 __int64 v64; // r13 unsigned __int8 v65; // bl __int64 v66; // r15 __int64 v67; // r13 unsigned __int8 v68; // bl __int64 v69; // r15 __int64 v70; // r13 unsigned __int8 v71; // bl __int64 v72; // r15 __int64 v73; // r13 unsigned __int8 v74; // bl __int64 v75; // r15 __int64 v76; // r13 unsigned __int8 v77; // bl __int64 v78; // r15 __int64 v79; // r13 unsigned __int8 v80; // bl __int64 v81; // r15 __int64 v82; // r13 unsigned __int8 v83; // bl __int64 v84; // r15 __int64 v85; // r13 _DWORD *v86; // rdi unsigned __int8 v87; // bl __int64 v88; // r15 __int64 v89; // r13 char v90; // [rsp+38h] [rbp-2D8h] BYREF char v91[15]; // [rsp+39h] [rbp-2D7h] BYREF void *v92; // [rsp+48h] [rbp-2C8h] _QWORD v93[2]; // [rsp+50h] [rbp-2C0h] BYREF void *__p; // [rsp+60h] [rbp-2B0h] char v95; // [rsp+68h] [rbp-2A8h] BYREF char v96[15]; // [rsp+69h] [rbp-2A7h] BYREF void *v97; // [rsp+78h] [rbp-298h] BYREF char v98; // [rsp+80h] [rbp-290h] BYREF char v99[15]; // [rsp+81h] [rbp-28Fh] BYREF void *v100; // [rsp+90h] [rbp-280h] BYREF char v101; // [rsp+98h] [rbp-278h] BYREF char v102[15]; // [rsp+99h] [rbp-277h] BYREF void *v103; // [rsp+A8h] [rbp-268h] BYREF char v104; // [rsp+B0h] [rbp-260h] BYREF char v105[15]; // [rsp+B1h] [rbp-25Fh] BYREF void *v106; // [rsp+C0h] [rbp-250h] BYREF char v107; // [rsp+C8h] [rbp-248h] BYREF char v108[15]; // [rsp+C9h] [rbp-247h] BYREF void *v109; // [rsp+D8h] [rbp-238h] BYREF char v110; // [rsp+E0h] [rbp-230h] BYREF char v111[15]; // [rsp+E1h] [rbp-22Fh] BYREF void *v112; // [rsp+F0h] [rbp-220h] BYREF char v113; // [rsp+F8h] [rbp-218h] BYREF char v114[15]; // [rsp+F9h] [rbp-217h] BYREF void *v115; // [rsp+108h] [rbp-208h] BYREF char v116; // [rsp+110h] [rbp-200h] BYREF char v117[15]; // [rsp+111h] [rbp-1FFh] BYREF void *v118; // [rsp+120h] [rbp-1F0h] BYREF char v119; // [rsp+128h] [rbp-1E8h] BYREF char v120[15]; // [rsp+129h] [rbp-1E7h] BYREF void *v121; // [rsp+138h] [rbp-1D8h] BYREF char v122; // [rsp+140h] [rbp-1D0h] BYREF char v123[15]; // [rsp+141h] [rbp-1CFh] BYREF void *v124; // [rsp+150h] [rbp-1C0h] BYREF char v125; // [rsp+158h] [rbp-1B8h] BYREF char v126[15]; // [rsp+159h] [rbp-1B7h] BYREF void *v127; // [rsp+168h] [rbp-1A8h] BYREF char v128; // [rsp+170h] [rbp-1A0h] BYREF char v129[15]; // [rsp+171h] [rbp-19Fh] BYREF void *v130; // [rsp+180h] [rbp-190h] BYREF char v131; // [rsp+188h] [rbp-188h] BYREF char v132[15]; // [rsp+189h] [rbp-187h] BYREF void *v133; // [rsp+198h] [rbp-178h] BYREF char v134; // [rsp+1A0h] [rbp-170h] BYREF char v135[15]; // [rsp+1A1h] [rbp-16Fh] BYREF void *v136; // [rsp+1B0h] [rbp-160h] BYREF char v137; // [rsp+1B8h] [rbp-158h] BYREF char v138[15]; // [rsp+1B9h] [rbp-157h] BYREF void *v139; // [rsp+1C8h] [rbp-148h] BYREF char v140; // [rsp+1D0h] [rbp-140h] BYREF char v141[15]; // [rsp+1D1h] [rbp-13Fh] BYREF void *v142; // [rsp+1E0h] [rbp-130h] BYREF char v143; // [rsp+1E8h] [rbp-128h] BYREF char v144[15]; // [rsp+1E9h] [rbp-127h] BYREF void *v145; // [rsp+1F8h] [rbp-118h] BYREF void *v146[3]; // [rsp+200h] [rbp-110h] BYREF char v147; // [rsp+218h] [rbp-F8h] BYREF char v148[15]; // [rsp+219h] [rbp-F7h] BYREF void *v149; // [rsp+228h] [rbp-E8h] BYREF char v150; // [rsp+230h] [rbp-E0h] BYREF char v151[15]; // [rsp+231h] [rbp-DFh] BYREF void *v152; // [rsp+240h] [rbp-D0h] BYREF char v153; // [rsp+248h] [rbp-C8h] BYREF char v154[15]; // [rsp+249h] [rbp-C7h] BYREF void *v155; // [rsp+258h] [rbp-B8h] BYREF char v156; // [rsp+260h] [rbp-B0h] BYREF char v157[15]; // [rsp+261h] [rbp-AFh] BYREF void *v158; // [rsp+270h] [rbp-A0h] BYREF char v159; // [rsp+278h] [rbp-98h] BYREF char v160[15]; // [rsp+279h] [rbp-97h] BYREF void *v161; // [rsp+288h] [rbp-88h] BYREF char v162; // [rsp+290h] [rbp-80h] BYREF char v163[15]; // [rsp+291h] [rbp-7Fh] BYREF void *v164; // [rsp+2A0h] [rbp-70h] BYREF float v165; // [rsp+2ACh] [rbp-64h] BYREF float v166; // [rsp+2B0h] [rbp-60h] unsigned __int8 v167; // [rsp+2B7h] [rbp-59h] unsigned __int64 v168[2]; // [rsp+2B8h] [rbp-58h] BYREF float v169; // [rsp+2C8h] [rbp-48h] BYREF void **v170; // [rsp+2D0h] [rbp-40h] unsigned __int64 v171; // [rsp+2D8h] [rbp-38h] BYREF double v172[6]; // [rsp+2E0h] [rbp-30h] BYREF v4 = a2; v5 = a1; result = FLAlertLayer::init_1(a1, 150); if ( (_BYTE)result ) { v167 = result; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1088LL))(a1, 1); v7 = 664; if ( a2 || (v7 = 672, (v4 = a3) != 0) ) { *(_QWORD *)(a1 + v7) = v4; a1 = v4; cocos2d::CCObject::retain(v4); } *(_BYTE *)(v5 + 596) = 1; v8 = cocos2d::CCDirector::sharedDirector(a1, 1); cocos2d::CCDirector::getWinSize(&v165, v8); sub_100278270((__int64)v168, 0.0, 0.0, (__m128)0x42A00000u, (__m128)0x42A00000u); v9 = cocos2d::extension::CCScale9Sprite::create_2("GJ_square02.png", v168); sub_100278260((float *)v168, 390.0, 310.0); (*(void (__fastcall **)(__int64, unsigned __int64 *))(*(_QWORD *)v9 + 320LL))(v9, v168); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v5 + 584) + 464LL))( *(_QWORD *)(v5 + 584), v9, 4294967294LL); sub_100278250((float *)v168, v165 * 0.5, v166 * 0.5); (*(void (__fastcall **)(__int64, unsigned __int64 *))(*(_QWORD *)v9 + 184LL))(v9, v168); v10 = cocos2d::CCMenu::create(); *(_QWORD *)(v5 + 552) = v10; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(v5 + 584) + 464LL))(*(_QWORD *)(v5 + 584), v10, 10); v11 = *(_QWORD *)(v5 + 552); sub_100278250((float *)v168, v165 * 0.5, (float)((float)(v166 * 0.5) + -155.0) + 24.0); (*(void (__fastcall **)(__int64, unsigned __int64 *))(*(_QWORD *)v11 + 184LL))(v11, v168); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1344LL))(v5); v12 = cocos2d::CCLabelBMFont::create_3("Object Options", "goldFont.fnt"); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 456LL))(v5, v12); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v12 + 160LL))(v12, 0.5); sub_100278250((float *)v168, v165 * 0.5, (float)((float)(v166 * 0.5) + 155.0) + -15.0); (*(void (__fastcall **)(__int64, unsigned __int64 *))(*(_QWORD *)v12 + 184LL))(v12, v168); v13 = ButtonSprite::create_1( (__int64)"OK", 0x28u, 0, 1u, (__int64)"goldFont.fnt", (__int64)"GJ_button_01.png", 0.80000001, 30.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v13 + 160LL))(v13, 0.80000001); v14 = CCMenuItemSpriteExtra::create((__int64)v13, 0, v5, 1353, 0); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v5 + 552) + 456LL))(*(_QWORD *)(v5 + 552), v14); v90 = 8; strcpy(v91, "Help"); __p = operator new(0x1B0u); v93[0] = 433; v93[1] = 430; strcpy( (char *)__p, "NoTouch disables player collision for solid objects.\n" "No Effects disables effects for portals.\n" "Passable lets you jump through solid blocks.\n" "Hide makes the opacity 0.\n" "Dont BoostY and BoostX let you disable player being bounced from interaction with moving objects on each a" "xis.\n" "IceBlock, GripSlope, NonStickX, NonStickY, ExtraSticky, and ScaleStick are meant for Platformer game type."); v15 = InfoAlertButton::create(&v90, v93, 1.0); if ( (v93[0] & 1) != 0 ) operator delete(__p); if ( (v90 & 1) != 0 ) operator delete(v92); v170 = &v97; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v15 + 160LL))(v15, 0.80000001); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v5 + 552) + 456LL))(*(_QWORD *)(v5 + 552), v15); v16 = *(_QWORD *)(v5 + 552); sub_100278250( (float *)v172, (float)((float)(v165 * 0.5) + -195.0) + 16.0, (float)((float)(v166 * 0.5) + 155.0) + -14.0); cocos2d::CCNode::convertToNodeSpace((double *)v168, v16, (unsigned int *)v172); (*(void (__fastcall **)(__int64, unsigned __int64 *))(*(_QWORD *)v15 + 184LL))(v15, v168); sub_100278250((float *)v168, (float)((float)(v165 * 0.5) + -60.0) + -90.0, (float)(0.5 * v166) + 112.0); v95 = 18; strcpy(v96, "Dont\nFade"); v17 = *(_BYTE *)(v5 + 681); v18 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -0.0); sub_100278350(v172, v168, &v171); v19 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v95, (unsigned int)SetupObjectOptionsPopup::onDontFade, 0, v17, v18, (unsigned int)v172, v5, v19, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v95 & 1) != 0 ) operator delete(v97); v170 = &v118; v116 = 20; strcpy(v117, "Dont\nEnter"); v20 = *(_BYTE *)(v5 + 682); v21 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -30.0); sub_100278350(v172, v168, &v171); v22 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v116, (unsigned int)SetupObjectOptionsPopup::onDontEnter, 0, v20, v21, (unsigned int)v172, v5, v22, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v116 & 1) != 0 ) operator delete(v118); v170 = &v121; v119 = 20; strcpy(v120, "No\nEffects"); v23 = *(_BYTE *)(v5 + 683); v24 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -60.0); sub_100278350(v172, v168, &v171); v25 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v119, (unsigned int)SetupObjectOptionsPopup::onHideEffects, 0, v23, v24, (unsigned int)v172, v5, v25, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v119 & 1) != 0 ) operator delete(v121); v170 = &v124; v122 = 24; strcpy(v123, "Group\nParent"); v26 = *(_BYTE *)(v5 + 696); v27 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -90.0); sub_100278350(v172, v168, &v171); v28 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v122, (unsigned int)SetupObjectOptionsPopup::onToggleGroupParent, 0, v26, v27, (unsigned int)v172, v5, v28, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v122 & 1) != 0 ) operator delete(v124); v170 = &v127; v125 = 22; strcpy(v126, "Area\nParent"); v29 = *(_BYTE *)(v5 + 697); v30 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -120.0); sub_100278350(v172, v168, &v171); v31 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v125, (unsigned int)SetupObjectOptionsPopup::onToggleAreaParent, 0, v29, v30, (unsigned int)v172, v5, v31, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v125 & 1) != 0 ) operator delete(v127); v170 = &v130; v128 = 22; strcpy(v129, "Dont\nBoostY"); v32 = *(_BYTE *)(v5 + 691); v33 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -150.0); sub_100278350(v172, v168, &v171); v34 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v128, (unsigned int)SetupObjectOptionsPopup::onDontBoost, 0, v32, v33, (unsigned int)v172, v5, v34, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v128 & 1) != 0 ) operator delete(v130); v170 = &v133; v131 = 22; strcpy(v132, "Dont\nBoostX"); v35 = *(_BYTE *)(v5 + 692); v36 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -180.0); sub_100278350(v172, v168, &v171); v37 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v131, (unsigned int)SetupObjectOptionsPopup::onDontBoostX, 0, v35, v36, (unsigned int)v172, v5, v37, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v131 & 1) != 0 ) operator delete(v133); if ( *(_BYTE *)(v5 + 704) == 1 ) { v170 = &v136; v134 = 26; strcpy(v135, "Single\nPTouch"); v38 = *(_BYTE *)(v5 + 705); v39 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -210.0); sub_100278350(v172, v168, &v171); v40 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v134, (unsigned int)SetupObjectOptionsPopup::onSinglePlayerTouch, 0, v38, v39, (unsigned int)v172, v5, v40, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v134 & 1) != 0 ) operator delete(v136); } v170 = &v139; *(float *)v168 = *(float *)v168 + 120.0; v137 = 22; strcpy(v138, "High\nDetail"); v41 = *(_BYTE *)(v5 + 695); v42 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -0.0); sub_100278350(v172, v168, &v171); v43 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v137, (unsigned int)SetupObjectOptionsPopup::onHighDetail, 0, v41, v42, (unsigned int)v172, v5, v43, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v137 & 1) != 0 ) operator delete(v139); v170 = &v142; v140 = 14; strcpy(v141, "NoTouch"); v44 = *(_BYTE *)(v5 + 685); v45 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -30.0); sub_100278350(v172, v168, &v171); v46 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v140, (unsigned int)SetupObjectOptionsPopup::onDisableObject, 0, v44, v45, (unsigned int)v172, v5, v46, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v140 & 1) != 0 ) operator delete(v142); v170 = &v100; v98 = 16; strcpy(v99, "Passable"); v47 = *(_BYTE *)(v5 + 686); v48 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -60.0); sub_100278350(v172, v168, &v171); v49 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v98, (unsigned int)SetupObjectOptionsPopup::onPassable, 0, v47, v48, (unsigned int)v172, v5, v49, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v98 & 1) != 0 ) operator delete(v100); v170 = &v103; v101 = 8; strcpy(v102, "Hide"); v50 = *(_BYTE *)(v5 + 687); v51 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -90.0); sub_100278350(v172, v168, &v171); v52 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v101, (unsigned int)SetupObjectOptionsPopup::onAlwaysHide, 0, v50, v51, (unsigned int)v172, v5, v52, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v101 & 1) != 0 ) operator delete(v103); v170 = &v106; v104 = 18; strcpy(v105, "NonStickX"); v53 = *(_BYTE *)(v5 + 688); v54 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -120.0); sub_100278350(v172, v168, &v171); v55 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v104, (unsigned int)SetupObjectOptionsPopup::onNonStickX, 0, v53, v54, (unsigned int)v172, v5, v55, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v104 & 1) != 0 ) operator delete(v106); v170 = &v145; v143 = 22; strcpy(v144, "ExtraSticky"); v56 = *(_BYTE *)(v5 + 690); v57 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -150.0); sub_100278350(v172, v168, &v171); v58 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v143, (unsigned int)SetupObjectOptionsPopup::onExtraSticky, 0, v56, v57, (unsigned int)v172, v5, v58, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v143 & 1) != 0 ) operator delete(v145); v170 = &v146[2]; strcpy((char *)v146, "$Extended\nCollision"); v59 = *(_BYTE *)(v5 + 701); v60 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -180.0); sub_100278350(v172, v168, &v171); v61 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)v146, (unsigned int)SetupObjectOptionsPopup::onExtendedCollision, 0, v59, v60, (unsigned int)v172, v5, v61, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( ((__int64)v146[0] & 1) != 0 ) operator delete(v146[2]); if ( *(_BYTE *)(v5 + 704) == 1 ) { v170 = &v149; v147 = 26; strcpy(v148, "Center\nEffect"); v62 = *(_BYTE *)(v5 + 706); v63 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -210.0); sub_100278350(v172, v168, &v171); v64 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v147, (unsigned int)SetupObjectOptionsPopup::onCenterEffect, 0, v62, v63, (unsigned int)v172, v5, v64, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v147 & 1) != 0 ) operator delete(v149); } v170 = &v109; *(float *)v168 = *(float *)v168 + 120.0; v107 = 16; strcpy(v108, "IceBlock"); v65 = *(_BYTE *)(v5 + 680); v66 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -0.0); sub_100278350(v172, v168, &v171); v67 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v107, (unsigned int)SetupObjectOptionsPopup::onIceBlock, 0, v65, v66, (unsigned int)v172, v5, v67, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v107 & 1) != 0 ) operator delete(v109); v170 = &v112; v110 = 18; strcpy(v111, "GripSlope"); v68 = *(_BYTE *)(v5 + 698); v69 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -30.0); sub_100278350(v172, v168, &v171); v70 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v110, (unsigned int)SetupObjectOptionsPopup::onGripSlope, 0, v68, v69, (unsigned int)v172, v5, v70, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v110 & 1) != 0 ) operator delete(v112); v170 = &v152; v150 = 12; strcpy(v151, "NoGlow"); v71 = *(_BYTE *)(v5 + 699); v72 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -60.0); sub_100278350(v172, v168, &v171); v73 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v150, (unsigned int)SetupObjectOptionsPopup::onDisableGlow, 0, v71, v72, (unsigned int)v172, v5, v73, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v150 & 1) != 0 ) operator delete(v152); v170 = &v155; v153 = 20; strcpy(v154, "NoParticle"); v74 = *(_BYTE *)(v5 + 684); v75 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -90.0); sub_100278350(v172, v168, &v171); v76 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v153, (unsigned int)SetupObjectOptionsPopup::onNoParticle, 0, v74, v75, (unsigned int)v172, v5, v76, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v153 & 1) != 0 ) operator delete(v155); v170 = &v115; v113 = 18; strcpy(v114, "NonStickY"); v77 = *(_BYTE *)(v5 + 689); v78 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -120.0); sub_100278350(v172, v168, &v171); v79 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v113, (unsigned int)SetupObjectOptionsPopup::onNonStickY, 0, v77, v78, (unsigned int)v172, v5, v79, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v113 & 1) != 0 ) operator delete(v115); v170 = &v158; v156 = 20; strcpy(v157, "ScaleStick"); v80 = *(_BYTE *)(v5 + 694); v81 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -150.0); sub_100278350(v172, v168, &v171); v82 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v156, (unsigned int)SetupObjectOptionsPopup::onApplyScaleStick, 0, v80, v81, (unsigned int)v172, v5, v82, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v156 & 1) != 0 ) operator delete(v158); v170 = &v161; v159 = 28; strcpy(v160, "No Audio\nScale"); v83 = *(_BYTE *)(v5 + 693); v84 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -180.0); sub_100278350(v172, v168, &v171); v85 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v159, (unsigned int)SetupObjectOptionsPopup::onNoAudioScale, 0, v83, v84, (unsigned int)v172, v5, v85, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v159 & 1) != 0 ) operator delete(v161); v86 = *(_DWORD **)(v5 + 664); if ( v86 && v86[312] == 1 && (*(unsigned __int8 (__fastcall **)(_DWORD *, double, double, double))(*(_QWORD *)v86 + 1680LL))( v86, COERCE_DOUBLE(1060320051), COERCE_DOUBLE(1051931443), COERCE_DOUBLE(1121714176)) ) { v170 = &v164; v162 = 14; strcpy(v163, "Reverse"); v87 = *(_BYTE *)(v5 + 700); v88 = *(_QWORD *)(v5 + 552); sub_100278250((float *)&v171, 0.0, -210.0); sub_100278350(v172, v168, &v171); v89 = *(_QWORD *)(v5 + 584); sub_100278250(&v169, 8.0, 0.0); GameToolbox::createToggleButton( (unsigned int)&v162, (unsigned int)SetupObjectOptionsPopup::onReverse, 0, v87, v88, (unsigned int)v172, v5, v89, (__int64)&v169, (__int64)"bigFont.fnt", 0, 0, 0); if ( (v162 & 1) != 0 ) operator delete(v164); } return v167; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source