// // DeathMarkerSettingsPopup::init from 0x1008c6760 to 0x1008c7a54 (4852 bytes) // // 1 xrefs: // > DeathMarkerSettingsPopup::create @ 0x1008c6725 // // 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:37:33 +0000 // __int64 __fastcall DeathMarkerSettingsPopup::init(__int64 a1, __int64 a2) { __int64 v2; // r13 __int64 v3; // rax __m128 v4; // xmm1 __m128 v5; // xmm0 char *v6; // rbx void *v7; // rbx __m128 v8; // xmm2 __int64 v9; // r14 const std::string::value_type *v10; // rsi char *v11; // rbx __int64 v12; // r14 void *v13; // rbx char *v14; // rbx __int64 v15; // r14 void *v16; // rax __int64 v17; // rbx __int64 v18; // rbx char *v19; // rax __int64 v20; // rbx __int64 v21; // rax int IntGameVariable; // eax int v23; // ecx int v24; // ecx int v25; // ebx __int64 v26; // rdi __int64 v27; // rax void *v28; // rbx char *v29; // rbx __int64 v30; // r14 void *v31; // rax __int64 v32; // rbx __int64 v33; // rbx char *v34; // rax __int64 v35; // rbx __int64 v36; // rax int v37; // eax int v38; // r14d __int64 v39; // rbx char *v40; // rax __int64 CString; // rax float v42; // xmm5_4 __m128 inserted; // xmm1 __m128 v44; // xmm0 __m128 v45; // xmm1 float v46; // xmm4_4 float v47; // xmm3_4 unsigned __int64 v48; // rbx char *v49; // r14 char *v50; // rsi char *v51; // r12 __int64 v52; // rax unsigned __int8 GameVariable; // al __int64 v54; // r14 void *v55; // r12 const char *v56; // r15 size_t v57; // rax size_t v58; // r12 char *v59; // r14 size_t v60; // r13 const char *v61; // r15 size_t v62; // rax size_t v63; // r12 char *v64; // r14 size_t v65; // r13 char *v66; // r12 __int64 v67; // r14 char *v68; // rbx void *v69; // rbx __int64 v70; // r14 __int128 v72; // [rsp+0h] [rbp-320h] BYREF void *v73; // [rsp+10h] [rbp-310h] __int128 v74; // [rsp+18h] [rbp-308h] BYREF void *v75; // [rsp+28h] [rbp-2F8h] _BYTE v76[24]; // [rsp+30h] [rbp-2F0h] BYREF __int128 v77; // [rsp+48h] [rbp-2D8h] BYREF void *v78; // [rsp+58h] [rbp-2C8h] __int128 v79; // [rsp+60h] [rbp-2C0h] BYREF void *data; // [rsp+70h] [rbp-2B0h] __int64 v81; // [rsp+78h] [rbp-2A8h] BYREF char v82; // [rsp+80h] [rbp-2A0h] BYREF _BYTE v83[23]; // [rsp+81h] [rbp-29Fh] BYREF __int128 v84; // [rsp+98h] [rbp-288h] BYREF void *v85; // [rsp+A8h] [rbp-278h] __int128 __dst; // [rsp+B0h] [rbp-270h] BYREF void *v87; // [rsp+C0h] [rbp-260h] __int128 v88; // [rsp+C8h] [rbp-258h] BYREF void *v89; // [rsp+D8h] [rbp-248h] __m128 v90; // [rsp+E0h] [rbp-240h] unsigned int v91; // [rsp+F4h] [rbp-22Ch] BYREF float v92; // [rsp+FCh] [rbp-224h] __m128 v93; // [rsp+100h] [rbp-220h] std::string v94; // [rsp+110h] [rbp-210h] BYREF __int64 v95; // [rsp+128h] [rbp-1F8h] _BYTE v96[11]; // [rsp+130h] [rbp-1F0h] BYREF unsigned __int8 v97; // [rsp+13Bh] [rbp-1E5h] float v98; // [rsp+13Ch] [rbp-1E4h] char *__s[4]; // [rsp+140h] [rbp-1E0h] BYREF double v100[6]; // [rsp+160h] [rbp-1C0h] BYREF __int32 v101; // [rsp+190h] [rbp-190h] int ps; // [rsp+194h] [rbp-18Ch] const char *v103; // [rsp+198h] [rbp-188h] const char *v104; // [rsp+1A0h] [rbp-180h] const char *v105; // [rsp+1A8h] [rbp-178h] __int64 (__fastcall *v106)(); // [rsp+1B0h] [rbp-170h] __int64 v107; // [rsp+1B8h] [rbp-168h] __int32 v108; // [rsp+1C0h] [rbp-160h] int v109; // [rsp+1C4h] [rbp-15Ch] const char *v110; // [rsp+1C8h] [rbp-158h] const char *v111; // [rsp+1D0h] [rbp-150h] const char *v112; // [rsp+1D8h] [rbp-148h] __int64 (__fastcall *v113)(); // [rsp+1E0h] [rbp-140h] __int64 v114; // [rsp+1E8h] [rbp-138h] double v115[6]; // [rsp+1F0h] [rbp-130h] BYREF __int32 v116; // [rsp+220h] [rbp-100h] float v117; // [rsp+224h] [rbp-FCh] const char *v118; // [rsp+228h] [rbp-F8h] const char *v119; // [rsp+230h] [rbp-F0h] const char *v120; // [rsp+238h] [rbp-E8h] __int64 (__fastcall *v121)(); // [rsp+240h] [rbp-E0h] __int64 v122; // [rsp+248h] [rbp-D8h] __int32 v123; // [rsp+250h] [rbp-D0h] float v124; // [rsp+254h] [rbp-CCh] const char *v125; // [rsp+258h] [rbp-C8h] const char *v126; // [rsp+260h] [rbp-C0h] const char *v127; // [rsp+268h] [rbp-B8h] __int64 (__fastcall *v128)(); // [rsp+270h] [rbp-B0h] __int64 v129; // [rsp+278h] [rbp-A8h] __int32 v130; // [rsp+280h] [rbp-A0h] float v131; // [rsp+284h] [rbp-9Ch] const char *v132; // [rsp+288h] [rbp-98h] const char *v133; // [rsp+290h] [rbp-90h] const char *v134; // [rsp+298h] [rbp-88h] __int64 (__fastcall *v135)(); // [rsp+2A0h] [rbp-80h] __int64 v136; // [rsp+2A8h] [rbp-78h] __int32 v137; // [rsp+2B0h] [rbp-70h] float v138; // [rsp+2B4h] [rbp-6Ch] const char *v139; // [rsp+2B8h] [rbp-68h] const char *v140; // [rsp+2C0h] [rbp-60h] const char *v141; // [rsp+2C8h] [rbp-58h] __int64 (__fastcall *v142)(); // [rsp+2D0h] [rbp-50h] __int64 v143; // [rsp+2D8h] [rbp-48h] __int32 v144; // [rsp+2E0h] [rbp-40h] float v145; // [rsp+2E4h] [rbp-3Ch] const char *v146; // [rsp+2E8h] [rbp-38h] v2 = a1; v97 = SetupTriggerPopup::init(a1, 0, 0, 1, 360.0, 300.0, 0.0); if ( !v97 ) return v97; *(_QWORD *)(a1 + 1056) = a2; v3 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v81, v3); v5 = (__m128)0x3F000000u; v4 = (__m128)(unsigned int)v81; v4.f32[0] = *(float *)&v81 * 0.5; v90 = v4; v5.f32[0] = 0.5 * *((float *)&v81 + 1); v93 = v5; v82 = 26; strcpy(v83, "Death Markers"); SetupTriggerPopup::addTitle(a1, (__int64)&v82); if ( (v82 & 1) != 0 ) operator delete(*(void **)&v83[15]); v6 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_closeBtn_001.png", *(double *)v5.i64); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v6 + 160LL))(v6, 0.80000001); v7 = CCMenuItemSpriteExtra::create((__int64)v6, 0, a1, 1369, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v7, 1.5); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v7); v8 = v93; v8.f32[0] = v93.f32[0] + 150.0; v9 = *(_QWORD *)(a1 + 552); v93 = v8; sub_100278250((float *)&v94, (float)(v90.f32[0] + -180.0) + 8.0, v8.f32[0] + -12.0); cocos2d::CCNode::convertToNodeSpace((double *)__s, v9, (unsigned int *)&v94); (*(void (__fastcall **)(void *, char **))(*(_QWORD *)v7 + 184LL))(v7, __s); v94.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x80u); v94.__r_.__value_.__r.__words[0] = 129; v94.__r_.__value_.__l.__size_ = 127; strcpy( v94.__r_.__value_.__l.__data_, "Local Markers: Your deaths.\n" "Label counts your deaths near that spot.\n" " \n" "Global Markers: Online players.\n"); if ( *(_QWORD *)(GameManager::sharedState() + 544) && *(_BYTE *)(*(_QWORD *)(GameManager::sharedState() + 544) + 1969LL) != 1 ) { v10 = "No Progress triggers in this level, less info:\n" "Skull% of all players died here.\n" "Wall% of the players that died here never beat the level."; } else { v10 = "Of the players that reached the spot:\nSkull% died here.\nWall% never got past it."; } std::string::append(&v94, v10); LOBYTE(v84) = 26; strcpy((char *)&v84 + 1, "Death Markers"); if ( (*(_BYTE *)&v94.__r_.__value_.__s.0 & 1) != 0 ) { sub_10001AD30(&v79, v94.__r_.__value_.__l.__data_, v94.__r_.__value_.__l.__size_); } else { data = v94.__r_.__value_.__l.__data_; v79 = *(_OWORD *)&v94.__r_.__value_.__l.0; } v11 = InfoAlertButton::create(&v84, &v79, 0.89999998); if ( (v79 & 1) != 0 ) operator delete(data); if ( (v84 & 1) != 0 ) operator delete(v85); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v11); v12 = *(_QWORD *)(a1 + 552); sub_100278250((float *)v96, (float)(v90.f32[0] + 180.0) + -16.0, v93.f32[0] + -16.0); cocos2d::CCNode::convertToNodeSpace((double *)__s, v12, (unsigned int *)v96); (*(void (__fastcall **)(char *, char **))(*(_QWORD *)v11 + 184LL))(v11, __s); v13 = cocos2d::CCLabelBMFont::create_3((__int64)"Frequency:", (__int64)"goldFont.fnt"); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v13 + 160LL))(v13, 0.44999999); sub_100278250((float *)__s, 1.0, 0.5); (*(void (__fastcall **)(void *, char **))(*(_QWORD *)v13 + 296LL))(v13, __s); v98 = v90.f32[0] + -84.0; *(float *)&v95 = v93.f32[0] + -44.0; sub_100278250((float *)__s, (float)(v90.f32[0] + -84.0) + 8.0, v93.f32[0] + -44.0); (*(void (__fastcall **)(void *, char **))(*(_QWORD *)v13 + 184LL))(v13, __s); (*(void (__fastcall **)(_QWORD, void *, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v13, 1); LOBYTE(v72) = 18; strcpy((char *)&v72 + 1, "Frequency"); v75 = operator new(0xD0u); *(_QWORD *)&v74 = 209; *((_QWORD *)&v74 + 1) = 205; strcpy( (char *)v75, "How often markers show when you die.\n" "Lower settings only show them for new bests, repeated deaths at one spot, or spots deadly to eve" "ryone.\n" "Always shows them on every death."); v14 = InfoAlertButton::create(&v72, &v74, 0.5); if ( (v74 & 1) != 0 ) operator delete(v75); if ( (v72 & 1) != 0 ) operator delete(v73); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v14); v15 = *(_QWORD *)(a1 + 552); sub_100278250((float *)v96, v98 + -62.0, *(float *)&v95); cocos2d::CCNode::convertToNodeSpace((double *)__s, v15, (unsigned int *)v96); (*(void (__fastcall **)(char *, char **))(*(_QWORD *)v14 + 184LL))(v14, __s); v16 = cocos2d::CCLabelBMFont::create_3((__int64)"Normal", (__int64)"bigFont.fnt"); *(_QWORD *)(a1 + 1032) = v16; (*(void (__fastcall **)(void *, float))(*(_QWORD *)v16 + 160LL))(v16, 0.40000001); v17 = *(_QWORD *)(a1 + 1032); sub_100278250((float *)__s, 0.0, 0.5); (*(void (__fastcall **)(__int64, char **))(*(_QWORD *)v17 + 296LL))(v17, __s); v18 = *(_QWORD *)(a1 + 1032); sub_100278250((float *)__s, v98 + 12.0, *(float *)&v95); (*(void (__fastcall **)(__int64, char **))(*(_QWORD *)v18 + 184LL))(v18, __s); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 1032), 1); v19 = Slider::create_1(a1, (int)sub_1008C7BF0, 0, 0.64999998); *(_QWORD *)(a1 + 1024) = v19; Slider::setBarVisibility((__int64)v19); sub_1002EF950(*(_QWORD *)(a1 + 1024), 0.2); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), *(_QWORD *)(a1 + 1024), 1); v20 = *(_QWORD *)(a1 + 1024); v92 = v93.f32[0] + -70.0; sub_100278250((float *)__s, v98, v93.f32[0] + -70.0); (*(void (__fastcall **)(__int64, char **))(*(_QWORD *)v20 + 184LL))(v20, __s); v21 = GameManager::sharedState(); IntGameVariable = GameManager::getIntGameVariable(v21, "0205"); v23 = 6; if ( IntGameVariable < 6 ) v23 = IntGameVariable; v24 = v23 - 1; v25 = 2; if ( IntGameVariable > 0 ) v25 = v24; Slider::setValue(*(_QWORD *)(a1 + 1024), (float)v25 / 5.0); v26 = *(_QWORD *)(a1 + 1032); if ( v26 ) { v27 = 0; if ( v25 > 0 ) v27 = (unsigned int)v25; (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v26 + 928LL))(v26, off_100BAFC10[v27]); } v28 = cocos2d::CCLabelBMFont::create_3((__int64)"Duration:", (__int64)"goldFont.fnt"); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v28 + 160LL))(v28, 0.44999999); sub_100278250((float *)__s, 1.0, 0.5); (*(void (__fastcall **)(void *, char **))(*(_QWORD *)v28 + 296LL))(v28, __s); v98 = v90.f32[0] + 92.0; sub_100278250((float *)__s, (float)(v90.f32[0] + 92.0) + 13.0, *(float *)&v95); (*(void (__fastcall **)(void *, char **))(*(_QWORD *)v28 + 184LL))(v28, __s); (*(void (__fastcall **)(_QWORD, void *, __int64))(**(_QWORD **)(v2 + 584) + 464LL))(*(_QWORD *)(v2 + 584), v28, 1); strcpy(v76, " Display Duration"); v78 = operator new(0x78u); *(_QWORD *)&v77 = 121; *((_QWORD *)&v77 + 1) = 112; strcpy( (char *)v78, "Increase or decrease the death marker display time.\nAnimations are not affected."); v29 = InfoAlertButton::create((__int128 *)v76, &v77, 0.5); if ( (v77 & 1) != 0 ) operator delete(v78); if ( (v76[0] & 1) != 0 ) operator delete(*(void **)&v76[16]); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(v2 + 552) + 456LL))(*(_QWORD *)(v2 + 552), v29); v30 = *(_QWORD *)(v2 + 552); sub_100278250((float *)v96, v98 + -57.0, *(float *)&v95); cocos2d::CCNode::convertToNodeSpace((double *)__s, v30, (unsigned int *)v96); (*(void (__fastcall **)(char *, char **))(*(_QWORD *)v29 + 184LL))(v29, __s); v31 = cocos2d::CCLabelBMFont::create_3((__int64)"1.0x", (__int64)"bigFont.fnt"); *(_QWORD *)(v2 + 1048) = v31; (*(void (__fastcall **)(void *, float))(*(_QWORD *)v31 + 160LL))(v31, 0.40000001); v32 = *(_QWORD *)(v2 + 1048); sub_100278250((float *)__s, 0.0, 0.5); (*(void (__fastcall **)(__int64, char **))(*(_QWORD *)v32 + 296LL))(v32, __s); v33 = *(_QWORD *)(v2 + 1048); sub_100278250((float *)__s, v98 + 17.0, *(float *)&v95); (*(void (__fastcall **)(__int64, char **))(*(_QWORD *)v33 + 184LL))(v33, __s); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(v2 + 584) + 464LL))( *(_QWORD *)(v2 + 584), *(_QWORD *)(v2 + 1048), 1); v34 = Slider::create_1(v2, (int)&sub_1008C7D90, 0, 0.64999998); *(_QWORD *)(v2 + 1040) = v34; Slider::setBarVisibility((__int64)v34); sub_1002EF950(*(_QWORD *)(v2 + 1040), 0.06666667); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(v2 + 584) + 464LL))( *(_QWORD *)(v2 + 584), *(_QWORD *)(v2 + 1040), 1); v35 = *(_QWORD *)(v2 + 1040); sub_100278250((float *)__s, v98, v92); (*(void (__fastcall **)(__int64, char **))(*(_QWORD *)v35 + 184LL))(v35, __s); v36 = GameManager::sharedState(); v37 = GameManager::getIntGameVariable(v36, "0211"); if ( v37 <= 0 ) { v38 = 100; } else { v38 = 50; if ( (unsigned int)v37 >= 0x33 ) { v38 = 200; if ( (unsigned int)v37 < 0xC8 ) v38 = v37; } } Slider::setValue(*(_QWORD *)(v2 + 1040), (float)(v38 - 50) / 150.0); v39 = *(_QWORD *)(v2 + 1048); if ( v39 ) { v40 = sub_10088E820("%.1fx", (float)((float)v38 / 100.0)); CString = cocos2d::CCString::getCString((__int64)v40); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v39 + 928LL))(v39, CString); } v42 = v93.f32[0]; inserted = _mm_insert_ps(v90, v93, 16); v44 = _mm_add_ps((__m128)0xC2CC0000C3020000LL, inserted); v45 = _mm_add_ps(inserted, (__m128)xmmword_100A136C0); v46 = v93.f32[0] + -166.0; v47 = v93.f32[0] + -198.0; __s[0] = "Local Markers"; __s[1] = "0200"; __s[2] = (char *)sub_1008C7F70; __s[3] = nullptr; _mm_storel_ps(v100, v44); *(_QWORD *)&v100[1] = "Shows your own deaths as markers in the level."; *(_QWORD *)&v100[2] = "Global Markers"; *(_QWORD *)&v100[3] = "0202"; *(_QWORD *)&v100[4] = sub_1008C7FB0; v100[5] = 0.0; v101 = v45.i32[0]; ps = _mm_extract_ps(v44, 1); v103 = "Shows where all players die. Downloaded automatically for online levels."; v104 = "Switch Color"; v105 = "0204"; v106 = sub_1008C7FF0; v107 = 0; v108 = v44.i32[0]; v109 = _mm_extract_ps(v45, 1); v110 = "Tints your local markers with your primary color instead of your secondary color."; v111 = "Disable Anim"; v112 = "0201"; v113 = sub_1008C8010; v114 = 0; _mm_storel_ps(v115, v45); *(_QWORD *)&v115[1] = "Markers appear instantly when you die, without the pop-in animation."; *(_QWORD *)&v115[2] = "Disable Sound"; *(_QWORD *)&v115[3] = "0206"; *(_QWORD *)&v115[4] = sub_1008C8030; v115[5] = 0.0; v116 = v44.i32[0]; v117 = v46; v118 = "Mutes the marker pop-in sound."; v119 = "Disable Markers"; v120 = "0207"; v121 = sub_1008C8050; v122 = 0; v123 = v45.i32[0]; v124 = v46; v125 = "Hides all death markers."; v126 = "Hide Labels"; v127 = "0208"; v128 = sub_1008C8140; v129 = 0; v130 = v44.i32[0]; v131 = v47; v132 = "Hides the count and rate labels."; v133 = "Limited Labels"; v134 = "0210"; v135 = sub_1008C81F0; v136 = 0; v137 = v45.i32[0]; v138 = v47; v139 = "Only shows the global label where you died. Ignored in the editor."; v140 = "Live Practice Markers"; v141 = "0216"; v142 = sub_1008C8210; v143 = 0; v144 = v44.i32[0]; v145 = v42 + -230.0; v146 = "Death markers stay visible in Practice mode,\n" "from a Start pos, or in your local created levels.\n" "Normal runs use the Frequency setting."; v48 = 40; v95 = v2; do { v49 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_checkOff_001.png", *(double *)v44.i64); v50 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"GJ_checkOn_001.png", *(double *)v44.i64); v51 = CCMenuItemToggler::create((__int64)v49, (__int64)v50, v2, *(_QWORD *)&v96[v48 - 8], *(_QWORD *)&v96[v48]); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v51 + 160LL))(v51, 0.62); v52 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable( v52, (const std::string::value_type *)v94.__r_.__value_.__r.__words[v48 / 8 + 2]); CCMenuItemToggler::toggle((__int64)v51, GameVariable); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(v2 + 552) + 456LL))(*(_QWORD *)(v2 + 552), v51); v54 = *(_QWORD *)(v2 + 552); sub_100278250((float *)&v91, *(float *)&v96[v48 + 8], *(float *)((char *)&v98 + v48)); cocos2d::CCNode::convertToNodeSpace((double *)v96, v54, &v91); (*(void (__fastcall **)(char *, _BYTE *))(*(_QWORD *)v51 + 184LL))(v51, v96); v55 = cocos2d::CCLabelBMFont::create_3(v94.__r_.__value_.__r.__words[v48 / 8 + 1], (__int64)"bigFont.fnt"); sub_100278250((float *)v96, 0.0, 0.5); (*(void (__fastcall **)(void *, _BYTE *))(*(_QWORD *)v55 + 296LL))(v55, v96); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v55 + 160LL))(v55, 0.33000001); sub_100278250((float *)v96, *(float *)&v96[v48 + 8] + 20.0, *(float *)((char *)&v98 + v48)); (*(void (__fastcall **)(void *, _BYTE *))(*(_QWORD *)v55 + 184LL))(v55, v96); (*(void (__fastcall **)(_QWORD, void *, __int64))(**(_QWORD **)(v2 + 584) + 464LL))(*(_QWORD *)(v2 + 584), v55, 1); v56 = (const char *)v94.__r_.__value_.__r.__words[v48 / 8 + 1]; v57 = strlen(v56); if ( v57 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v58 = v57; if ( v57 >= 0x17 ) { v60 = (v57 | 7) + 1; if ( (v57 | 7) == 0x17 ) v60 = 26; v59 = (char *)operator new(v60); v87 = v59; *(_QWORD *)&__dst = v60 | 1; *((_QWORD *)&__dst + 1) = v58; v2 = v95; LABEL_47: memmove(v59, v56, v58); goto LABEL_48; } LOBYTE(__dst) = 2 * v57; v59 = (char *)&__dst + 1; if ( v57 ) goto LABEL_47; LABEL_48: v59[v58] = 0; v61 = __s[v48 / 8]; v62 = strlen(v61); if ( v62 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v63 = v62; if ( v62 >= 0x17 ) { v65 = (v62 | 7) + 1; if ( (v62 | 7) == 0x17 ) v65 = 26; v64 = (char *)operator new(v65); v89 = v64; *(_QWORD *)&v88 = v65 | 1; *((_QWORD *)&v88 + 1) = v63; v2 = v95; LABEL_55: memmove(v64, v61, v63); goto LABEL_56; } LOBYTE(v88) = 2 * v62; v64 = (char *)&v88 + 1; if ( v62 ) goto LABEL_55; LABEL_56: v64[v63] = 0; v66 = InfoAlertButton::create(&__dst, &v88, 0.5); if ( (v88 & 1) != 0 ) operator delete(v89); if ( (__dst & 1) != 0 ) operator delete(v87); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(v2 + 552) + 456LL))(*(_QWORD *)(v2 + 552), v66); v2 = v95; v67 = *(_QWORD *)(v95 + 552); v44.i64[0] = *(unsigned int *)&v96[v48 + 8]; v44.f32[0] = v44.f32[0] + -16.0; sub_100278250((float *)&v91, v44.f32[0], *(float *)((char *)&v98 + v48) + 13.0); cocos2d::CCNode::convertToNodeSpace((double *)v96, v67, &v91); (*(void (__fastcall **)(char *, _BYTE *))(*(_QWORD *)v66 + 184LL))(v66, v96); v48 += 48LL; } while ( v48 != 472 ); v68 = ButtonSprite::create_1( (__int64)"Clear Markers", 0x6Eu, 0, 1u, (__int64)"bigFont.fnt", (__int64)"GJ_button_06.png", 0.60000002, 30.0); (*(void (__fastcall **)(char *, float))(*(_QWORD *)v68 + 160LL))(v68, 0.85000002); v69 = CCMenuItemSpriteExtra::create((__int64)v68, 0, v2, (__int64)sub_1008C8250, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v69, 1.1); (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v2 + 552) + 456LL))(*(_QWORD *)(v2 + 552), v69); v70 = *(_QWORD *)(v2 + 552); sub_100278250((float *)&v91, v90.f32[0], v93.f32[0] + -266.0); cocos2d::CCNode::convertToNodeSpace((double *)v96, v70, &v91); (*(void (__fastcall **)(void *, _BYTE *))(*(_QWORD *)v69 + 184LL))(v69, v96); if ( (*(_BYTE *)&v94.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v94.__r_.__value_.__l.__data_); return v97; }
GD Web Decomp Icon

GD Web Decomp

Raw Source