// // MoreOptionsLayer::init from 0x8f7994 to 0x8f8b88 (4596 bytes) // // 3 xrefs: // > MoreOptionsLayer::create @ 0x8f8d20 // > @ 0xe0a88 // > @ 0x145fac0 // // 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:57:02 +0000 // __int64 __fastcall MoreOptionsLayer::init(MoreOptionsLayer *this) { GameManager *v2; // x0 unsigned int v3; // w23 GameManager *v5; // x0 cocos2d::CCDirector *v6; // x0 cocos2d::CCDirector *v7; // x0 cocos2d::CCLayer *WinSize; // x0 __int64 v9; // x0 __int64 v10; // x27 void (__fastcall *v11)(__int64, __int64 *); // x28 void (__fastcall *v12)(__int64, __int64 *); // x28 const char *v13; // x2 __int64 v14; // x27 void (__fastcall *v15)(__int64, __int64 *); // x28 cocos2d::CCObject *v16; // x0 cocos2d::CCDictionary *v17; // x0 cocos2d::CCObject *v18; // x0 cocos2d::CCMenu *v19; // x0 __int64 v20; // x0 cocos2d::CCObject *v21; // x25 const char *v22; // x1 __int64 v23; // x0 cocos2d::CCObject *v24; // x27 void (__fastcall *v25)(cocos2d::CCObject *, __int64 *); // x28 const char *v26; // x6 __int64 v27; // x0 cocos2d::CCObject *v28; // x27 void (__fastcall *v29)(cocos2d::CCObject *, __int64 *); // x28 cocos2d::CCObject *v30; // x28 const char *v31; // x1 __int64 v32; // x27 cocos2d::CCObject *v33; // x27 cocos2d::CCObject *v34; // x27 void (__fastcall *v35)(cocos2d::CCObject *, __int64 *); // x28 const char *v36; // x2 cocos2d::CCObject *v37; // x27 void (__fastcall *v38)(cocos2d::CCObject *, __int64 *); // x28 cocos2d::CCObject *v39; // x21 const char *v40; // x4 __int64 v41; // x0 __int64 v42; // x21 FMODAudioEngine *v43; // x0 FMODAudioEngine *v44; // x0 const char *v45; // x1 _QWORD *v46; // x21 __int64 v47; // x0 cocos2d::CCString *v48; // x0 const char *CString; // x0 size_t v50; // x0 __int64 v51; // x0 __int64 v52; // x24 cocos2d::CCNode *v53; // x26 void (__fastcall *v54)(__int64, __int64 *); // x25 float v55; // s8 const char *v56; // x1 __int64 v57; // x0 __int64 v58; // x0 cocos2d::CCDirector **v59; // x25 cocos2d::CCNode *v60; // x27 void (__fastcall *v61)(cocos2d::CCDirector **, __int64 *); // x26 cocos2d::CCDirector *v62; // x0 float v63; // s0 const char *v64; // x1 cocos2d::CCSprite *v65; // x24 __int64 v66; // x0 cocos2d::CCDirector **v67; // x24 cocos2d::CCNode *v68; // x26 void (__fastcall *v69)(cocos2d::CCDirector **, __int64 *); // x25 cocos2d::CCDirector *v70; // x0 float v71; // s0 cocos2d::CCNode *v72; // [xsp+C8h] [xbp+C8h] cocos2d::CCNode *v73; // [xsp+D0h] [xbp+D0h] cocos2d::CCNode *v74; // [xsp+D0h] [xbp+D0h] cocos2d::CCNode *v75; // [xsp+D0h] [xbp+D0h] cocos2d::CCNode *v76; // [xsp+D0h] [xbp+D0h] int v77; // [xsp+E8h] [xbp+E8h] __int64 v78; // [xsp+F0h] [xbp+F0h] BYREF _BYTE v79[8]; // [xsp+F8h] [xbp+F8h] BYREF _BYTE v80[8]; // [xsp+100h] [xbp+100h] BYREF _BYTE v81[8]; // [xsp+108h] [xbp+108h] BYREF _BYTE v82[16]; // [xsp+110h] [xbp+110h] BYREF __int64 v83[2]; // [xsp+120h] [xbp+120h] BYREF __int64 v84; // [xsp+130h] [xbp+130h] BYREF __int64 v85; // [xsp+138h] [xbp+138h] void *v86; // [xsp+140h] [xbp+140h] LODWORD(v83[0]) = 1258291200; v2 = (GameManager *)(unsigned __int8)cocos2d::CCLayerColor::initWithColor(this, v83); v3 = (unsigned __int8)v2; if ( (_BYTE)v2 ) { v5 = (GameManager *)GameManager::sharedState(v2); if ( (unsigned __int8)GameManager::getGameVariable(v5, "0168") ) *((_BYTE *)this + 596) = 1; FLAlertLayer::incrementForcePrio(this); (*(void (__fastcall **)(MoreOptionsLayer *, __int64))(*(_QWORD *)this + 1000LL))(this, 1); v6 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(MoreOptionsLayer *, __int64))(*(_QWORD *)this + 1072LL))( this, 1); v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6); WinSize = (cocos2d::CCLayer *)cocos2d::CCDirector::getWinSize(&v78, v7); v9 = cocos2d::CCLayer::create(WinSize); *((_QWORD *)this + 73) = v9; (*(void (__fastcall **)(MoreOptionsLayer *, __int64))(*(_QWORD *)this + 456LL))(this, v9); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v83, 0.0, 0.0, 80.0, 80.0); v10 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v83); v11 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v10 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v83, 400.0, 280.0); v11(v10, v83); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v10, 0xFFFFFFFFLL); v12 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v10 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v83, *(float *)&v78 * 0.5, *((float *)&v78 + 1) * 0.5); v12(v10, v83); v14 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Options", "bigFont.fnt", v13); *((_QWORD *)this + 94) = v14; v15 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v14 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v83, *(float *)&v78 * 0.5, (float)((float)(*((float *)&v78 + 1) * 0.5) + 140.0) - 16.0); v15(v14, v83); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 73) + 456LL))( *((_QWORD *)this + 73), *((_QWORD *)this + 94)); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 94) + 160LL))(*((_QWORD *)this + 94), 0.7); *((_DWORD *)this + 160) = -1; v16 = (cocos2d::CCObject *)cocos2d::CCDictionary::create((cocos2d::CCDictionary *)0xFFFFFFFFLL); *((_QWORD *)this + 88) = v16; v17 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v16); v18 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v17); *((_QWORD *)this + 87) = v18; v19 = (cocos2d::CCMenu *)cocos2d::CCObject::retain(v18); v20 = cocos2d::CCMenu::create(v19); *((_QWORD *)this + 69) = v20; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v20, 10); MoreOptionsLayer::addToggle(this, "Auto-Retry", "0026", "Restarts level upon death automatically."); MoreOptionsLayer::addToggle(this, "Enable Faster Reset", "0052", "Restarts in 0.5s instead of 1.0s upon death."); MoreOptionsLayer::addToggle( this, "Click Between Steps", "0177", "Toggles substeps on, allowing you to click in-between the default normal steps. This may affect performance."); MoreOptionsLayer::addToggle( this, "Click On Steps", "0176", "Allows you to click on every step, regardless of your refresh rate. This is beneficial for users below 240 Hz."); MoreOptionsLayer::addToggle( this, "Flip 2-Player\nControls", "0010", "Flips which side controls which player during 2-player mode."); MoreOptionsLayer::addToggle( this, "Always Limit\nControls", "0011", "Limits player 1 controls to one side even when dual mode is inactive."); MoreOptionsLayer::offsetToNextPage((__int64)this); MoreOptionsLayer::addToggle(this, "Hide Attempts", "0135", "Hides the attempt counter when playing levels."); MoreOptionsLayer::addToggle(this, "Flip Pause Button", "0015", "Flips the location of the pause button."); MoreOptionsLayer::addToggle(this, "Disable Portal Guide", "0129", "Disables extra indicators on portals."); MoreOptionsLayer::addToggle(this, "Enable Orb Guide", "0130", "Enables extra indicators on orbs."); MoreOptionsLayer::addToggle(this, "Disable Orb Scale", "0140", "Disables the scaling effect on all orbs."); MoreOptionsLayer::addToggle( this, "Disable Trigger\nOrb Scale", "0141", "Disables the scaling effect on only trigger orbs."); MoreOptionsLayer::addToggle(this, "Disable Shake", "0172", "Disables shake effects."); MoreOptionsLayer::addToggle( this, "Disable Explosion\nShake", "0014", "Disables the shake effect that happens upon death."); MoreOptionsLayer::addToggle( this, "Disable Gravity\nEffect", "0072", "Disables the effect that happens upon changing gravity."); MoreOptionsLayer::addToggle(this, "Default Mini Icon", "0060", "Sets player icon in mini mode to default."); MoreOptionsLayer::addToggle( this, "Switch Spider\nTeleport Color", "0061", "Toggles between main and secondary color for the teleport effect in spider mode."); MoreOptionsLayer::addToggle( this, "Switch Dash\nFire Color", "0062", "Toggles between main and secondary color for the fire effect from dash orbs."); MoreOptionsLayer::addToggle( this, "Switch Wave\nTrail Color", "0096", "Toggles between main and secondary color for the trail in wave mode."); MoreOptionsLayer::addToggle( this, "Hide Playtest Text", "0174", "Hides text in the top left when using start positions or ignore damage."); MoreOptionsLayer::addToggle( this, "Hitbox On Death", "0179", "Shows hitboxes upon death in both normal and practice mode."); MoreOptionsLayer::offsetToNextPage((__int64)this); MoreOptionsLayer::addToggle( this, "Hide Attempts", "0134", "Hides the attempt counter when playing levels in practice mode."); MoreOptionsLayer::addToggle( this, "Enable Auto-Checkpoints", "0027", "Places checkpoints automatically in practice mode."); MoreOptionsLayer::addToggle( this, "Enable Quick\nCheckpoints", "0068", "Tries to place checkpoints more often in practice mode."); MoreOptionsLayer::addToggle(this, "Enable Death Effect", "0100", "Shows death effects in practice mode."); MoreOptionsLayer::addToggle( this, "Skip Death Triggers", "0212", "Skips On Death trigger effects and any extended reset time from an Options Trigger while in practice mode."); MoreOptionsLayer::addToggle( this, "Enable Normal Music\nIn Editor", "0125", "Plays normal music in sync to editor levels in practice mode."); MoreOptionsLayer::addToggle(this, "Show Hitboxes", "0166", "Shows hitboxes while in practice mode."); MoreOptionsLayer::addToggle( this, "Disable Player Hitbox", "0171", "Disables the player's hitbox in practice mode\n(if hitboxes are shown)."); MoreOptionsLayer::offsetToNextPage((__int64)this); MoreOptionsLayer::addToggle( this, "Enable Smooth Fix", "0023", "Makes some optimizations that can reduce lag. Disable if game speed becomes inconsistent."); MoreOptionsLayer::addToggle( this, "Increase Draw Capacity", "0066", "Increases draw capacity for batch nodes at level start. Can improve performance on some levels, but may cause issu" "es on low-end devices."); MoreOptionsLayer::addToggle( this, "Enable Low Detail", "0108", "Enables low detail mode on levels that support it automatically."); MoreOptionsLayer::addToggle( this, "Disable High Object\nAlert", "0082", "Removes the alert shown when starting levels with a high object count."); MoreOptionsLayer::addToggle( this, "Enable Extra LDM", "0136", "Removes glow and enter effects while in low detail mode. Levels without LDM show LDM Lite."); MoreOptionsLayer::addToggle( this, "Increase Maximum\nLevels", "0042", "Increases maximum locally saved levels from 10 to 100. This refers to level data, not statistics. Enabling this ca" "n make your save file considerably larger, so keeping the option off is recommended for quicker saving."); MoreOptionsLayer::addToggle( this, "Disable Level Saving", "0119", "Saves level statistics as usual, but levels need to be redownloaded every time you restart the game. Makes saving " "and loading faster."); MoreOptionsLayer::addToggle( this, "Save Gauntlets", "0127", "Saves gauntlet levels locally so they do not have to be redownloaded. Increases save time but helpful if you have " "poor connection."); MoreOptionsLayer::addToggle( this, "Disable Shader\nAnti-Aliasing", "0155", "Disables anti-aliasing on shader effects."); MoreOptionsLayer::offsetToNextPage((__int64)this); MoreOptionsLayer::addToggle( this, "Disable Song Alert", "0083", "Removes the alert shown when starting levels without the song downloaded."); MoreOptionsLayer::addToggle( this, "No Song Limit", "0018", "Stops automatic deletion of custom songs. This is done by default to save space."); MoreOptionsLayer::addToggle( this, "Reduce Quality\n(Read Info)", "0142", "Lowers audio sampling rate from 44100 Hz to 24000 Hz. Requires restarting to take effect."); MoreOptionsLayer::addToggle( this, "Audio Fix 01", "0159", "Increases the audio buffer size, which may fix certain issues. Do not enable if audio is working fine. Causes a sl" "ight more audio delay. Requires restarting to take effect."); MoreOptionsLayer::offsetToNextPage((__int64)this); MoreOptionsLayer::addToggle(this, "More Comments", "0094", "Shows more comments per page. Why not?"); MoreOptionsLayer::addToggle(this, "Load Comments", "0090", "Loads comments automatically."); MoreOptionsLayer::addToggle( this, "New Completed Filter", "0073", "Makes completed levels filter based only on percentage from update 2.1. Useful to rebeat levels for Mana Orbs."); MoreOptionsLayer::addToggle( this, "Increase Local Levels\nPer Page", "0093", "Increases created and saved levels per page from 10 to 20."); MoreOptionsLayer::addToggle( this, "Manual Level Order", "0084", "Places new levels last in the saved levels list. Useful if you want to manually move levels to the top."); MoreOptionsLayer::addToggle(this, "Percentage Decimals", "0126", "Shows decimals in level progress."); MoreOptionsLayer::addToggle( this, "Show Leaderboard\nPercentage", "0099", "Toggles viewing the leaderboard percentage you have on levels. To upload your level progress to the level leaderbo" "ard, you need to replay levels completed before 2.11."); MoreOptionsLayer::addToggle(this, "Do Not...", "0095", "Does not do anything... Well, nothing useful."); MoreOptionsLayer::addToggle(this, "Confirm Exit", "0167", "Adds an extra confirmation window when exiting levels."); MoreOptionsLayer::addToggle(this, "Fast\nMenu", "0168", "Makes transitions between menu pages faster."); v21 = MoreOptionsLayer::objectsForPage(this, &byte_5); v23 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_savedSongsBtn_001.png", v22); v24 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create( v23, 0, (__int64)this, (__int64)MoreOptionsLayer::onSongBrowser, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v24, 1.2); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), v24); v25 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v24 + 184LL); v73 = *((cocos2d::CCNode **)this + 69); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v82, (float)((float)(*(float *)&v78 * 0.5) + 200.0) - 36.0, (float)((float)((float)(*((float *)&v78 + 1) * 0.5) + -140.0) + 36.0) + 2.0); cocos2d::CCNode::convertToNodeSpace(v83, v73, (const cocos2d::CCPoint *)v82); v25(v24, v83); cocos2d::CCArray::addObject(v21, v24); (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v24 + 344LL))(v24, 0); v27 = ButtonSprite::create( (ButtonSprite *)"DEBUG", (const char *)&dword_44 + 2, 0, 0, 0.6, "goldFont.fnt", "GJ_button_04.png", v26, 25.0); v28 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create( v27, 0, (__int64)this, (__int64)MoreOptionsLayer::onFMODDebug, 0); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), v28); v29 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v28 + 184LL); v74 = *((cocos2d::CCNode **)this + 69); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v82, (float)(*(float *)&v78 * 0.5) + 40.0, (float)((float)(*((float *)&v78 + 1) * 0.5) + -140.0) + 30.0); cocos2d::CCNode::convertToNodeSpace(v83, v74, (const cocos2d::CCPoint *)v82); v29(v28, v83); cocos2d::CCArray::addObject(v21, v28); (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v28 + 344LL))(v28, 0); v30 = MoreOptionsLayer::objectsForPage(this, &byte_6); v32 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_profileButton_001.png", v31); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v32 + 160LL))(v32, 0.8); v33 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create( v32, 0, (__int64)this, (__int64)MoreOptionsLayer::onParental, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v33, 1.2); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), v33); v75 = *(cocos2d::CCNode **)(*(_QWORD *)v33 + 184LL); v72 = *((cocos2d::CCNode **)this + 69); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v82, (float)((float)(*(float *)&v78 * 0.5) + 200.0) - 36.0, (float)((float)(*((float *)&v78 + 1) * 0.5) + -140.0) + 36.0); cocos2d::CCNode::convertToNodeSpace(v83, v72, (const cocos2d::CCPoint *)v82); ((void (__fastcall *)(cocos2d::CCObject *, __int64 *))v75)(v33, v83); cocos2d::CCArray::addObject(v30, v33); (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v33 + 344LL))(v33, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v83, (const cocos2d::CCPoint *)&algn_155CC59[7]); v34 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create("Parental\nControls", "goldFont.fnt", 1, v83, -1.0); (*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v34 + 160LL))(v34, 0.45); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 73) + 456LL))( *((_QWORD *)this + 73), v34); cocos2d::CCArray::addObject(v30, v34); v35 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v34 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v83, (float)((float)(*(float *)&v78 * 0.5) + 200.0) - 36.0, (float)((float)(*((float *)&v78 + 1) * 0.5) + -140.0) + 75.0); v35(v34, v83); (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v34 + 344LL))(v34, 0); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v79, (float)((float)(*(float *)&v78 * 0.5) + -200.0) + 75.0, (float)((float)(*((float *)&v78 + 1) * 0.5) + -140.0) + 35.0); v37 = (cocos2d::CCObject *)cocos2d::CCLabelBMFont::create( (cocos2d::CCLabelBMFont *)"Music Offset (MS)", "bigFont.fnt", v36); (*(void (__fastcall **)(cocos2d::CCObject *, float))(*(_QWORD *)v37 + 160LL))(v37, 0.4); v38 = *(void (__fastcall **)(cocos2d::CCObject *, __int64 *))(*(_QWORD *)v37 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v82, 0.0, 25.0); cocos2d::CCPoint::operator+(v83, v79); v38(v37, v83); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *))(**((_QWORD **)this + 73) + 456LL))( *((_QWORD *)this + 73), v37); cocos2d::CCArray::addObject(v21, v37); (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v37 + 344LL))(v37, 0); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v82, 0.0, 0.0, 40.0, 40.0); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v83, (const cocos2d::CCRect *)v82); v39 = (cocos2d::CCObject *)cocos2d::extension::CCScale9Sprite::create("square02_small.png", v83); (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v39 + 912LL))(v39, 100); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v80, 100.0, 30.0); (*(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v39 + 320LL))(v39, v80); (*(void (__fastcall **)(_QWORD, cocos2d::CCObject *, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v39, 0xFFFFFFFFLL); (*(void (__fastcall **)(cocos2d::CCObject *, _BYTE *))(*(_QWORD *)v39 + 184LL))(v39, v79); cocos2d::CCArray::addObject(v21, v39); (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v39 + 344LL))(v39, 0); v41 = CCTextInputNode::create( (CCTextInputNode *)"Offset", 100.0, 50.0, "Thonburi", (const char *)&off_18, "bigFont.fnt", v40); *((_QWORD *)this + 91) = v41; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v41, 20); *(_QWORD *)(*((_QWORD *)this + 91) + 584LL) = (char *)this + 544; (*(void (__fastcall **)(_QWORD, _BYTE *))(**((_QWORD **)this + 91) + 184LL))(*((_QWORD *)this + 91), v79); CCTextInputNode::setMaxLabelScale(*((CCTextInputNode **)this + 91), 0.7); CCTextInputNode::setMaxLabelWidth(*((CCTextInputNode **)this + 91), 200.0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*((_QWORD *)this + 91) + 576LL) + 344LL))( *(_QWORD *)(*((_QWORD *)this + 91) + 576LL), 0); *(_DWORD *)(*((_QWORD *)this + 91) + 592LL) = 4; v84 = 0; v42 = *((_QWORD *)this + 91); v85 = 0; v86 = nullptr; std::string::__init(&v84, "0123456789-", 0xBu); CCTextInputNode::setAllowedChars(v42, (__int64)&v84); if ( (v84 & 1) != 0 ) operator delete(v86); LOWORD(v77) = -21896; BYTE2(v77) = -16; CCTextInputNode::setLabelPlaceholderColor(*((_QWORD *)this + 91), v77); CCTextInputNode::setLabelPlaceholderScale(*((CCTextInputNode **)this + 91), 0.5); cocos2d::CCArray::addObject(v21, *((cocos2d::CCObject **)this + 91)); v43 = (FMODAudioEngine *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 91) + 344LL))( *((_QWORD *)this + 91), 0); v44 = (FMODAudioEngine *)*(unsigned int *)(FMODAudioEngine::sharedEngine(v43) + 548); if ( (_DWORD)v44 ) { v46 = *((_QWORD **)this + 91); v47 = FMODAudioEngine::sharedEngine(v44); v48 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)*(unsigned int *)(v47 + 548)); CString = (const char *)cocos2d::CCString::getCString(v48); v84 = 0; v76 = (cocos2d::CCNode *)CString; v85 = 0; v86 = nullptr; v50 = strlen(CString); std::string::__init(&v84, v76, v50); CCTextInputNode::setString(v46, (char *)&v84); if ( (v84 & 1) != 0 ) operator delete(v86); } v51 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_closeBtn_001.png", v45); v52 = CCMenuItemSpriteExtra::create(v51, 0, (__int64)this, (__int64)MoreOptionsLayer::onClose, 0); CCMenuItemSpriteExtra::setSizeMult(v52, 1.5); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v52); v53 = *((cocos2d::CCNode **)this + 69); v54 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v52 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v81, (float)((float)(*(float *)&v78 * 0.5) + -200.0) + 5.0, (float)((float)(*((float *)&v78 + 1) * 0.5) + 140.0) - 5.0); cocos2d::CCNode::convertToNodeSpace(v83, v53, (const cocos2d::CCPoint *)v81); v54(v52, v83); v55 = *((float *)&v78 + 1) * 0.5; v57 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_01_001.png", v56); v58 = CCMenuItemSpriteExtra::create(v57, 0, (__int64)this, (__int64)MoreOptionsLayer::onPrevPage, 0); *((_QWORD *)this + 89) = v58; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v58); v59 = *((cocos2d::CCDirector ***)this + 89); v60 = *((cocos2d::CCNode **)this + 69); v61 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v59 + 23); v62 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v59); cocos2d::CCDirector::getScreenLeft(v62); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v81, v63 + 20.0, v55); cocos2d::CCNode::convertToNodeSpace(v83, v60, (const cocos2d::CCPoint *)v81); v61(v59, v83); CCMenuItemSpriteExtra::setSizeMult(*((_QWORD *)this + 89), 1.5); v65 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"GJ_arrow_01_001.png", v64); cocos2d::CCSprite::setFlipX(v65, 1); v66 = CCMenuItemSpriteExtra::create((__int64)v65, 0, (__int64)this, (__int64)MoreOptionsLayer::onNextPage, 0); *((_QWORD *)this + 90) = v66; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v66); v67 = *((cocos2d::CCDirector ***)this + 90); v68 = *((cocos2d::CCNode **)this + 69); v69 = *((void (__fastcall **)(cocos2d::CCDirector **, __int64 *))*v67 + 23); v70 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(*v67); cocos2d::CCDirector::getScreenRight(v70); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v81, v71 - 20.0, v55); cocos2d::CCNode::convertToNodeSpace(v83, v68, (const cocos2d::CCPoint *)v81); v69(v67, v83); CCMenuItemSpriteExtra::setSizeMult(*((_QWORD *)this + 90), 1.5); MoreOptionsLayer::goToPage(this, 0); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source