; ; GameOptionsLayer::setupOptions from 0x14029ef40 to 0x14029fa08 (2760 bytes) ; ; 2 xrefs: ; > @ 0x140578fe0 ; > @ 0x1406d1f28 ; ; 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 ; mov rax, rsp ; +0x0, 0x14029ef40 mov [rax+10h], rbx ; +0x3, 0x14029ef43 mov [rax+18h], rsi ; +0x7, 0x14029ef47 mov [rax+20h], rdi ; +0xb, 0x14029ef4b push rbp ; +0xf, 0x14029ef4f push r12 ; +0x10, 0x14029ef50 push r13 ; +0x12, 0x14029ef52 push r14 ; +0x14, 0x14029ef54 push r15 ; +0x16, 0x14029ef56 lea rbp, [rax-68h] ; +0x18, 0x14029ef58 sub rsp, 140h ; +0x1c, 0x14029ef5c movaps xmmword ptr [rax-38h], xmm7 ; +0x23, 0x14029ef63 movaps xmmword ptr [rax-48h], xmm8 ; +0x27, 0x14029ef67 movaps xmmword ptr [rax-58h], xmm9 ; +0x2c, 0x14029ef6c mov rax, cs:__security_cookie ; +0x31, 0x14029ef71 xor rax, rsp ; +0x38, 0x14029ef78 mov [rbp+60h+var_58], rax ; +0x3b, 0x14029ef7b mov rsi, rcx ; +0x3f, 0x14029ef7f call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x42, 0x14029ef82 mov rcx, rax ; +0x48, 0x14029ef88 lea rdx, [rbp+60h+var_A8] ; +0x4b, 0x14029ef8b call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x4f, 0x14029ef8f mov dword ptr [rsi+3E8h], 42000000h ; +0x55, 0x14029ef95 mov dword ptr [rsi+3A8h], 42140000h ; +0x5f, 0x14029ef9f mov dword ptr [rsi+3B0h], 0Ch ; +0x69, 0x14029efa9 mov rcx, cs:qword_1406C2ED8 ; +0x73, 0x14029efb3 test rcx, rcx ; +0x7a, 0x14029efba jnz short loc_14029EFED ; +0x7d, 0x14029efbd mov ecx, 668h; Size ; +0x7f, 0x14029efbf call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x84, 0x14029efc4 mov [rbp+60h+var_E0], rax ; +0x89, 0x14029efc9 mov rcx, rax ; +0x8d, 0x14029efcd call sub_14017AB00 ; +0x90, 0x14029efd0 nop ; +0x95, 0x14029efd5 mov cs:qword_1406C2ED8, rax ; +0x96, 0x14029efd6 mov rdx, [rax] ; +0x9d, 0x14029efdd mov rcx, rax ; +0xa0, 0x14029efe0 call qword ptr [rdx+48h] ; +0xa3, 0x14029efe3 mov rcx, cs:qword_1406C2ED8 ; +0xa6, 0x14029efe6 lea rdx, a0026; "0026" ; +0xad, 0x14029efed call GameManager__getGameVariable ; +0xb4, 0x14029eff4 lea rbx, byte_140518980 ; +0xb9, 0x14029eff9 mov [rsp+160h+var_140], rbx ; +0xc0, 0x14029f000 movzx r9d, al ; +0xc5, 0x14029f005 mov r8d, 1 ; +0xc9, 0x14029f009 lea rdx, aAutoRetry; "Auto-Retry" ; +0xcf, 0x14029f00f mov rcx, rsi ; +0xd6, 0x14029f016 call GJOptionsLayer__addToggleInternal ; +0xd9, 0x14029f019 mov rcx, cs:qword_1406C2ED8 ; +0xde, 0x14029f01e test rcx, rcx ; +0xe5, 0x14029f025 jnz short loc_14029F058 ; +0xe8, 0x14029f028 mov ecx, 668h; Size ; +0xea, 0x14029f02a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xef, 0x14029f02f mov [rbp+60h+var_E0], rax ; +0xf4, 0x14029f034 mov rcx, rax ; +0xf8, 0x14029f038 call sub_14017AB00 ; +0xfb, 0x14029f03b nop ; +0x100, 0x14029f040 mov cs:qword_1406C2ED8, rax ; +0x101, 0x14029f041 mov rdx, [rax] ; +0x108, 0x14029f048 mov rcx, rax ; +0x10b, 0x14029f04b call qword ptr [rdx+48h] ; +0x10e, 0x14029f04e mov rcx, cs:qword_1406C2ED8 ; +0x111, 0x14029f051 lea rdx, a0027; "0027" ; +0x118, 0x14029f058 call GameManager__getGameVariable ; +0x11f, 0x14029f05f mov [rsp+160h+var_140], rbx ; +0x124, 0x14029f064 movzx r9d, al ; +0x129, 0x14029f069 mov r8d, 2 ; +0x12d, 0x14029f06d lea rdx, aAutoCheckpoint; "Auto-Checkpoints" ; +0x133, 0x14029f073 mov rcx, rsi ; +0x13a, 0x14029f07a call GJOptionsLayer__addToggleInternal ; +0x13d, 0x14029f07d mov r9, cs:qword_1406C2ED8 ; +0x142, 0x14029f082 test r9, r9 ; +0x149, 0x14029f089 jnz short loc_14029F0BC ; +0x14c, 0x14029f08c mov ecx, 668h; Size ; +0x14e, 0x14029f08e call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x153, 0x14029f093 mov [rbp+60h+var_E0], rax ; +0x158, 0x14029f098 mov rcx, rax ; +0x15c, 0x14029f09c call sub_14017AB00 ; +0x15f, 0x14029f09f nop ; +0x164, 0x14029f0a4 mov cs:qword_1406C2ED8, rax ; +0x165, 0x14029f0a5 mov rdx, [rax] ; +0x16c, 0x14029f0ac mov rcx, rax ; +0x16f, 0x14029f0af call qword ptr [rdx+48h] ; +0x172, 0x14029f0b2 mov r9, cs:qword_1406C2ED8 ; +0x175, 0x14029f0b5 mov [rsp+160h+var_140], rbx ; +0x17c, 0x14029f0bc movzx r9d, byte ptr [r9+394h] ; +0x181, 0x14029f0c1 mov r8d, 3 ; +0x189, 0x14029f0c9 lea rdx, aShowProgressBa; "Show Progress Bar" ; +0x18f, 0x14029f0cf mov rcx, rsi ; +0x196, 0x14029f0d6 call GJOptionsLayer__addToggleInternal ; +0x199, 0x14029f0d9 mov rcx, cs:qword_1406C2ED8 ; +0x19e, 0x14029f0de test rcx, rcx ; +0x1a5, 0x14029f0e5 jnz short loc_14029F118 ; +0x1a8, 0x14029f0e8 mov ecx, 668h; Size ; +0x1aa, 0x14029f0ea call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1af, 0x14029f0ef mov [rbp+60h+var_E0], rax ; +0x1b4, 0x14029f0f4 mov rcx, rax ; +0x1b8, 0x14029f0f8 call sub_14017AB00 ; +0x1bb, 0x14029f0fb nop ; +0x1c0, 0x14029f100 mov cs:qword_1406C2ED8, rax ; +0x1c1, 0x14029f101 mov rdx, [rax] ; +0x1c8, 0x14029f108 mov rcx, rax ; +0x1cb, 0x14029f10b call qword ptr [rdx+48h] ; +0x1ce, 0x14029f10e mov rcx, cs:qword_1406C2ED8 ; +0x1d1, 0x14029f111 lea rdx, a0040; "0040" ; +0x1d8, 0x14029f118 call GameManager__getGameVariable ; +0x1df, 0x14029f11f mov [rsp+160h+var_140], rbx ; +0x1e4, 0x14029f124 movzx r9d, al ; +0x1e9, 0x14029f129 mov r8d, 4 ; +0x1ed, 0x14029f12d lea rdx, aShowPercentage; "Show Percentage" ; +0x1f3, 0x14029f133 mov rcx, rsi ; +0x1fa, 0x14029f13a call GJOptionsLayer__addToggleInternal ; +0x1fd, 0x14029f13d mov rcx, cs:qword_1406C2ED8 ; +0x202, 0x14029f142 test rcx, rcx ; +0x209, 0x14029f149 jnz short loc_14029F17C ; +0x20c, 0x14029f14c mov ecx, 668h; Size ; +0x20e, 0x14029f14e call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x213, 0x14029f153 mov [rbp+60h+var_E0], rax ; +0x218, 0x14029f158 mov rcx, rax ; +0x21c, 0x14029f15c call sub_14017AB00 ; +0x21f, 0x14029f15f nop ; +0x224, 0x14029f164 mov cs:qword_1406C2ED8, rax ; +0x225, 0x14029f165 mov rdx, [rax] ; +0x22c, 0x14029f16c mov rcx, rax ; +0x22f, 0x14029f16f call qword ptr [rdx+48h] ; +0x232, 0x14029f172 mov rcx, cs:qword_1406C2ED8 ; +0x235, 0x14029f175 lea rdx, a0145; "0145" ; +0x23c, 0x14029f17c call GameManager__getGameVariable ; +0x243, 0x14029f183 mov [rsp+160h+var_140], rbx ; +0x248, 0x14029f188 movzx r9d, al ; +0x24d, 0x14029f18d mov r8d, 7 ; +0x251, 0x14029f191 lea rdx, aShowTime; "Show Time" ; +0x257, 0x14029f197 mov rcx, rsi ; +0x25e, 0x14029f19e call GJOptionsLayer__addToggleInternal ; +0x261, 0x14029f1a1 mov rcx, cs:qword_1406C2ED8 ; +0x266, 0x14029f1a6 test rcx, rcx ; +0x26d, 0x14029f1ad jnz short loc_14029F1E0 ; +0x270, 0x14029f1b0 mov ecx, 668h; Size ; +0x272, 0x14029f1b2 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x277, 0x14029f1b7 mov [rbp+60h+var_E0], rax ; +0x27c, 0x14029f1bc mov rcx, rax ; +0x280, 0x14029f1c0 call sub_14017AB00 ; +0x283, 0x14029f1c3 nop ; +0x288, 0x14029f1c8 mov cs:qword_1406C2ED8, rax ; +0x289, 0x14029f1c9 mov rdx, [rax] ; +0x290, 0x14029f1d0 mov rcx, rax ; +0x293, 0x14029f1d3 call qword ptr [rdx+48h] ; +0x296, 0x14029f1d6 mov rcx, cs:qword_1406C2ED8 ; +0x299, 0x14029f1d9 lea rdx, a0144; "0144" ; +0x2a0, 0x14029f1e0 call GameManager__getGameVariable ; +0x2a7, 0x14029f1e7 mov [rsp+160h+var_140], rbx ; +0x2ac, 0x14029f1ec movzx r9d, al ; +0x2b1, 0x14029f1f1 mov r8d, 5 ; +0x2b5, 0x14029f1f5 lea rdx, aAudioVisualize; "Audio Visualizer" ; +0x2bb, 0x14029f1fb mov rcx, rsi ; +0x2c2, 0x14029f202 call GJOptionsLayer__addToggleInternal ; +0x2c5, 0x14029f205 mov rcx, cs:qword_1406C2ED8 ; +0x2ca, 0x14029f20a test rcx, rcx ; +0x2d1, 0x14029f211 jnz short loc_14029F244 ; +0x2d4, 0x14029f214 mov ecx, 668h; Size ; +0x2d6, 0x14029f216 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2db, 0x14029f21b mov [rbp+60h+var_E0], rax ; +0x2e0, 0x14029f220 mov rcx, rax ; +0x2e4, 0x14029f224 call sub_14017AB00 ; +0x2e7, 0x14029f227 nop ; +0x2ec, 0x14029f22c mov cs:qword_1406C2ED8, rax ; +0x2ed, 0x14029f22d mov rdx, [rax] ; +0x2f4, 0x14029f234 mov rcx, rax ; +0x2f7, 0x14029f237 call qword ptr [rdx+48h] ; +0x2fa, 0x14029f23a mov rcx, cs:qword_1406C2ED8 ; +0x2fd, 0x14029f23d lea rdx, a0109; "0109" ; +0x304, 0x14029f244 call GameManager__getGameVariable ; +0x30b, 0x14029f24b mov [rsp+160h+var_140], rbx ; +0x310, 0x14029f250 movzx r9d, al ; +0x315, 0x14029f255 mov r8d, 6 ; +0x319, 0x14029f259 lea rdx, aShowInfoLabel; "Show Info Label" ; +0x31f, 0x14029f25f mov rcx, rsi ; +0x326, 0x14029f266 call GJOptionsLayer__addToggleInternal ; +0x329, 0x14029f269 mov rcx, cs:qword_1406C2ED8 ; +0x32e, 0x14029f26e test rcx, rcx ; +0x335, 0x14029f275 jnz short loc_14029F2A8 ; +0x338, 0x14029f278 mov ecx, 668h; Size ; +0x33a, 0x14029f27a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x33f, 0x14029f27f mov [rbp+60h+var_E0], rax ; +0x344, 0x14029f284 mov rcx, rax ; +0x348, 0x14029f288 call sub_14017AB00 ; +0x34b, 0x14029f28b nop ; +0x350, 0x14029f290 mov cs:qword_1406C2ED8, rax ; +0x351, 0x14029f291 mov rdx, [rax] ; +0x358, 0x14029f298 mov rcx, rax ; +0x35b, 0x14029f29b call qword ptr [rdx+48h] ; +0x35e, 0x14029f29e mov rcx, cs:qword_1406C2ED8 ; +0x361, 0x14029f2a1 lea rdx, a0146; "0146" ; +0x368, 0x14029f2a8 call GameManager__getGameVariable ; +0x36f, 0x14029f2af mov [rsp+160h+var_140], rbx ; +0x374, 0x14029f2b4 movzx r9d, al ; +0x379, 0x14029f2b9 mov r8d, 8 ; +0x37d, 0x14029f2bd lea rdx, aDisableCheckpo; "Disable Checkpoints" ; +0x383, 0x14029f2c3 mov rcx, rsi ; +0x38a, 0x14029f2ca call GJOptionsLayer__addToggleInternal ; +0x38d, 0x14029f2cd mov rcx, cs:qword_1406C2ED8 ; +0x392, 0x14029f2d2 test rcx, rcx ; +0x399, 0x14029f2d9 jnz short loc_14029F30C ; +0x39c, 0x14029f2dc mov ecx, 668h; Size ; +0x39e, 0x14029f2de call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x3a3, 0x14029f2e3 mov [rbp+60h+var_E0], rax ; +0x3a8, 0x14029f2e8 mov rcx, rax ; +0x3ac, 0x14029f2ec call sub_14017AB00 ; +0x3af, 0x14029f2ef nop ; +0x3b4, 0x14029f2f4 mov cs:qword_1406C2ED8, rax ; +0x3b5, 0x14029f2f5 mov rdx, [rax] ; +0x3bc, 0x14029f2fc mov rcx, rax ; +0x3bf, 0x14029f2ff call qword ptr [rdx+48h] ; +0x3c2, 0x14029f302 mov rcx, cs:qword_1406C2ED8 ; +0x3c5, 0x14029f305 lea rdx, a0166; "0166" ; +0x3cc, 0x14029f30c call GameManager__getGameVariable ; +0x3d3, 0x14029f313 lea rcx, aShowsHitboxesW; "Shows hitboxes while in practice mode." ; +0x3d8, 0x14029f318 mov [rsp+160h+var_140], rcx ; +0x3df, 0x14029f31f movzx r9d, al ; +0x3e4, 0x14029f324 mov r8d, 9 ; +0x3e8, 0x14029f328 lea rdx, qword_140551EB8 ; +0x3ee, 0x14029f32e mov rcx, rsi ; +0x3f5, 0x14029f335 call GJOptionsLayer__addToggleInternal ; +0x3f8, 0x14029f338 mov rcx, cs:qword_1406C2ED8 ; +0x3fd, 0x14029f33d test rcx, rcx ; +0x404, 0x14029f344 jnz short loc_14029F377 ; +0x407, 0x14029f347 mov ecx, 668h; Size ; +0x409, 0x14029f349 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x40e, 0x14029f34e mov [rbp+60h+var_E0], rax ; +0x413, 0x14029f353 mov rcx, rax ; +0x417, 0x14029f357 call sub_14017AB00 ; +0x41a, 0x14029f35a nop ; +0x41f, 0x14029f35f mov cs:qword_1406C2ED8, rax ; +0x420, 0x14029f360 mov rdx, [rax] ; +0x427, 0x14029f367 mov rcx, rax ; +0x42a, 0x14029f36a call qword ptr [rdx+48h] ; +0x42d, 0x14029f36d mov rcx, cs:qword_1406C2ED8 ; +0x430, 0x14029f370 lea rdx, a0179; "0179" ; +0x437, 0x14029f377 call GameManager__getGameVariable ; +0x43e, 0x14029f37e lea rcx, aShowsHitboxesU; "Shows hitboxes upon death in both norma"... ; +0x443, 0x14029f383 mov [rsp+160h+var_140], rcx ; +0x44a, 0x14029f38a movzx r9d, al ; +0x44f, 0x14029f38f mov r8d, 0Bh ; +0x453, 0x14029f393 lea rdx, aHitboxOnDeath; "Hitbox On Death" ; +0x459, 0x14029f399 mov rcx, rsi ; +0x460, 0x14029f3a0 call GJOptionsLayer__addToggleInternal ; +0x463, 0x14029f3a3 call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x468, 0x14029f3a8 mov r14, rax ; +0x46e, 0x14029f3ae xor r8d, r8d ; +0x471, 0x14029f3b1 lea rdx, [rbp+60h+var_88] ; +0x474, 0x14029f3b4 mov rcx, rsi ; +0x478, 0x14029f3b8 call sub_140290310 ; +0x47b, 0x14029f3bb lea rax, [rbp+60h+var_D0] ; +0x480, 0x14029f3c0 mov [rbp+60h+var_E0], rax ; +0x484, 0x14029f3c4 xorps xmm0, xmm0 ; +0x488, 0x14029f3c8 movups [rbp+60h+var_D0], xmm0 ; +0x48b, 0x14029f3cb xor r12d, r12d ; +0x48f, 0x14029f3cf mov [rbp+60h+var_C0], r12 ; +0x492, 0x14029f3d2 mov [rbp+60h+var_B8], 0Fh ; +0x496, 0x14029f3d6 lea ecx, [r12+20h] ; +0x49e, 0x14029f3de call sub_14003AA10 ; +0x4a3, 0x14029f3e3 mov qword ptr [rbp+60h+var_D0], rax ; +0x4a8, 0x14029f3e8 mov [rbp+60h+var_C0], 13h ; +0x4ac, 0x14029f3ec mov [rbp+60h+var_B8], 1Fh ; +0x4b4, 0x14029f3f4 movups xmm0, cs:xmmword_140571650 ; +0x4bc, 0x14029f3fc movups xmmword ptr [rax], xmm0 ; +0x4c3, 0x14029f403 movzx ecx, cs:word_140571660 ; +0x4c6, 0x14029f406 mov [rax+10h], cx ; +0x4cd, 0x14029f40d movzx ecx, cs:byte_140571662 ; +0x4d1, 0x14029f411 mov [rax+12h], cl ; +0x4d8, 0x14029f418 mov [rax+13h], r12b ; +0x4db, 0x14029f41b mov rbx, cs:qword_1406C2EE8 ; +0x4df, 0x14029f41f test rbx, rbx ; +0x4e6, 0x14029f426 jnz short loc_14029F459 ; +0x4e9, 0x14029f429 mov ecx, 3E0h; Size ; +0x4eb, 0x14029f42b call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x4f0, 0x14029f430 mov [rbp+60h+var_98], rax ; +0x4f5, 0x14029f435 mov rcx, rax ; +0x4f9, 0x14029f439 call sub_1401D0AE0 ; +0x4fc, 0x14029f43c nop ; +0x501, 0x14029f441 mov cs:qword_1406C2EE8, rax ; +0x502, 0x14029f442 mov rdx, [rax] ; +0x509, 0x14029f449 mov rcx, rax ; +0x50c, 0x14029f44c call qword ptr [rdx+48h] ; +0x50f, 0x14029f44f mov rbx, cs:qword_1406C2EE8 ; +0x512, 0x14029f452 mov edx, 0Ch ; +0x519, 0x14029f459 lea r8d, [rdx+5] ; +0x51e, 0x14029f45e call GameStatsManager__isItemUnlocked ; +0x522, 0x14029f462 test al, al ; +0x527, 0x14029f467 jnz short loc_14029F470 ; +0x529, 0x14029f469 xor dil, dil ; +0x52b, 0x14029f46b jmp short loc_14029F4AA ; +0x52e, 0x14029f46e mov r9d, 0Ch ; +0x530, 0x14029f470 lea r8d, [r9+5] ; +0x536, 0x14029f476 lea rdx, [rbp+60h+var_78] ; +0x53a, 0x14029f47a call GameStatsManager__getItemKey ; +0x53e, 0x14029f47e nop ; +0x543, 0x14029f483 lea rdx, [rbp+60h+var_78] ; +0x544, 0x14029f484 mov rcx, [rbx+378h] ; +0x548, 0x14029f488 call cs:?valueForKey@CCDictionary@cocos2d@@QEAAPEBVCCString@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::valueForKey(std::string const &) ; +0x54f, 0x14029f48f mov rcx, rax ; +0x555, 0x14029f495 call cs:?boolValue@CCString@cocos2d@@QEBA_NXZ; cocos2d::CCString::boolValue(void) ; +0x558, 0x14029f498 movzx edi, al ; +0x55e, 0x14029f49e lea rcx, [rbp+60h+var_78] ; +0x561, 0x14029f4a1 call sub_14003A830 ; +0x565, 0x14029f4a5 xorps xmm8, xmm8 ; +0x56a, 0x14029f4aa xorps xmm2, xmm2 ; +0x56e, 0x14029f4ae movss xmm1, cs:dword_140623068 ; +0x571, 0x14029f4b1 lea rcx, [rbp+60h+var_80] ; +0x579, 0x14029f4b9 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x57d, 0x14029f4bd mov rbx, rax ; +0x583, 0x14029f4c3 lea rdx, [rbp+60h+var_88] ; +0x586, 0x14029f4c6 lea rcx, [rbp+60h+var_90] ; +0x58a, 0x14029f4ca call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x58e, 0x14029f4ce mov rcx, rax ; +0x594, 0x14029f4d4 mov [rsp+160h+var_F0], r14 ; +0x597, 0x14029f4d7 mov dword ptr [rsp+160h+var_F8], r12d ; +0x59c, 0x14029f4dc mov byte ptr [rsp+160h+var_100], 0 ; +0x5a1, 0x14029f4e1 lea rax, qword_14052A4D8 ; +0x5a6, 0x14029f4e6 mov qword ptr [rsp+160h+var_108], rax ; +0x5ad, 0x14029f4ed mov [rsp+160h+var_110], rbx ; +0x5b2, 0x14029f4f2 movss xmm0, dword ptr [rsi+3C0h] ; +0x5b7, 0x14029f4f7 movss dword ptr [rsp+160h+var_118], xmm0 ; +0x5bf, 0x14029f4ff movss xmm1, dword ptr [rsi+3BCh] ; +0x5c5, 0x14029f505 movss [rsp+160h+var_120], xmm1 ; +0x5cd, 0x14029f50d movss xmm7, cs:dword_140622BA4 ; +0x5d3, 0x14029f513 movss [rsp+160h+var_128], xmm7 ; +0x5db, 0x14029f51b mov rax, [rsi+240h] ; +0x5e1, 0x14029f521 mov qword ptr [rsp+160h+var_130], rax ; +0x5e8, 0x14029f528 mov [rsp+160h+var_138], rsi ; +0x5ed, 0x14029f52d mov [rsp+160h+var_140], rcx ; +0x5f2, 0x14029f532 mov r9, [rsi+220h] ; +0x5f7, 0x14029f537 movzx r8d, dil ; +0x5fe, 0x14029f53e lea rdx, GameOptionsLayer__onPracticeMusicSync ; +0x602, 0x14029f542 lea rcx, [rbp+60h+var_D0] ; +0x609, 0x14029f549 call GameToolbox__createToggleButton ; +0x60d, 0x14029f54d mov rbx, rax ; +0x612, 0x14029f552 cmp cs:qword_1406C2EE8, 0 ; +0x615, 0x14029f555 jnz short loc_14029F587 ; +0x61d, 0x14029f55d mov ecx, 3E0h; Size ; +0x61f, 0x14029f55f call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x624, 0x14029f564 mov [rbp+60h+var_98], rax ; +0x629, 0x14029f569 mov rcx, rax ; +0x62d, 0x14029f56d call sub_1401D0AE0 ; +0x630, 0x14029f570 nop ; +0x635, 0x14029f575 mov cs:qword_1406C2EE8, rax ; +0x636, 0x14029f576 mov r9, [rax] ; +0x63d, 0x14029f57d mov rcx, rax ; +0x640, 0x14029f580 call qword ptr [r9+48h] ; +0x643, 0x14029f583 mov edx, 0Ch ; +0x647, 0x14029f587 lea r8d, [rdx+5] ; +0x64c, 0x14029f58c call GameStatsManager__isItemUnlocked ; +0x650, 0x14029f590 test al, al ; +0x655, 0x14029f595 jnz short loc_14029F605 ; +0x657, 0x14029f597 mov edx, 1 ; +0x659, 0x14029f599 mov rcx, r14 ; +0x65e, 0x14029f59e call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x661, 0x14029f5a1 mov rdi, rax ; +0x667, 0x14029f5a7 mov byte ptr [rbx+189h], 1 ; +0x66a, 0x14029f5aa mov [rbp+60h+var_D4], 9696h ; +0x671, 0x14029f5b1 movzx ecx, [rbp+60h+var_D4] ; +0x677, 0x14029f5b7 mov [rbp+60h+var_D8], cx ; +0x67b, 0x14029f5bb mov [rbp+60h+var_D6], 96h ; +0x67f, 0x14029f5bf cmp byte ptr [rbx+188h], 0 ; +0x683, 0x14029f5c3 jz short loc_14029F5D5 ; +0x68a, 0x14029f5ca mov rcx, [rbx+180h] ; +0x68c, 0x14029f5cc jmp short loc_14029F5DC ; +0x693, 0x14029f5d3 mov rcx, [rbx+178h] ; +0x695, 0x14029f5d5 mov rax, [rcx] ; +0x69c, 0x14029f5dc call qword ptr [rax+3A8h] ; +0x69f, 0x14029f5df lea rcx, [rax+140h] ; +0x6a5, 0x14029f5e5 mov rax, [rcx] ; +0x6ac, 0x14029f5ec lea rdx, [rbp+60h+var_D8] ; +0x6af, 0x14029f5ef call qword ptr [rax] ; +0x6b3, 0x14029f5f3 lea rcx, [rdi+170h] ; +0x6b5, 0x14029f5f5 mov rax, [rcx] ; +0x6bc, 0x14029f5fc lea rdx, [rbp+60h+var_D8] ; +0x6bf, 0x14029f5ff call qword ptr [rax] ; +0x6c3, 0x14029f603 mov rax, cs:qword_1406C2ED8 ; +0x6c5, 0x14029f605 test rax, rax ; +0x6cc, 0x14029f60c jnz short loc_14029F63F ; +0x6cf, 0x14029f60f mov ecx, 668h; Size ; +0x6d1, 0x14029f611 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x6d6, 0x14029f616 mov [rbp+60h+var_90], rax ; +0x6db, 0x14029f61b mov rcx, rax ; +0x6df, 0x14029f61f call sub_14017AB00 ; +0x6e2, 0x14029f622 nop ; +0x6e7, 0x14029f627 mov cs:qword_1406C2ED8, rax ; +0x6e8, 0x14029f628 mov rdx, [rax] ; +0x6ef, 0x14029f62f mov rcx, rax ; +0x6f2, 0x14029f632 call qword ptr [rdx+48h] ; +0x6f5, 0x14029f635 mov rax, cs:qword_1406C2ED8 ; +0x6f8, 0x14029f638 mov rax, [rax+208h] ; +0x6ff, 0x14029f63f lea r13, aGoldfontFnt; "goldFont.fnt" ; +0x706, 0x14029f646 movss xmm9, cs:dword_140622B08 ; +0x70d, 0x14029f64d test rax, rax ; +0x716, 0x14029f656 jz loc_14029F82E ; +0x719, 0x14029f659 mov rax, [rax+878h] ; +0x71f, 0x14029f65f test rax, rax ; +0x726, 0x14029f666 jz loc_14029F82E ; +0x729, 0x14029f669 cmp dword ptr [rax+454h], 2 ; +0x72f, 0x14029f66f jnz loc_14029F82E ; +0x736, 0x14029f676 inc dword ptr [rsi+3B4h] ; +0x73c, 0x14029f67c xor edx, edx ; +0x742, 0x14029f682 mov rcx, rsi ; +0x744, 0x14029f684 call GJOptionsLayer__incrementCountForPage ; +0x747, 0x14029f687 xor edx, edx ; +0x74c, 0x14029f68c mov rcx, rsi ; +0x74e, 0x14029f68e call GJOptionsLayer__layerForPage ; +0x751, 0x14029f691 mov r15, rax ; +0x756, 0x14029f696 xor r8d, r8d ; +0x759, 0x14029f699 lea rdx, [rbp+60h+var_E0] ; +0x75c, 0x14029f69c mov rcx, rsi ; +0x760, 0x14029f6a0 call sub_140290310 ; +0x763, 0x14029f6a3 lea rax, [rbp+60h+var_D0] ; +0x768, 0x14029f6a8 mov [rbp+60h+var_90], rax ; +0x76c, 0x14029f6ac mov word ptr [rbp+60h+var_D0+0Eh], r12w ; +0x770, 0x14029f6b0 mov [rbp+60h+var_C0], 0Dh ; +0x775, 0x14029f6b5 mov [rbp+60h+var_B8], 0Fh ; +0x77d, 0x14029f6bd movsd xmm0, cs:qword_140551DB0 ; +0x785, 0x14029f6c5 movsd qword ptr [rbp+60h+var_D0], xmm0 ; +0x78d, 0x14029f6cd mov eax, cs:dword_140551DB8 ; +0x792, 0x14029f6d2 mov dword ptr [rbp+60h+var_D0+8], eax ; +0x798, 0x14029f6d8 movzx eax, cs:byte_140551DBC ; +0x79b, 0x14029f6db mov byte ptr [rbp+60h+var_D0+0Ch], al ; +0x7a2, 0x14029f6e2 mov byte ptr [rbp+60h+var_D0+0Dh], 0 ; +0x7a5, 0x14029f6e5 mov r14, cs:qword_1406C2ED8 ; +0x7a9, 0x14029f6e9 test r14, r14 ; +0x7b0, 0x14029f6f0 jnz short loc_14029F723 ; +0x7b3, 0x14029f6f3 mov ecx, 668h; Size ; +0x7b5, 0x14029f6f5 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x7ba, 0x14029f6fa mov [rbp+60h+var_80], rax ; +0x7bf, 0x14029f6ff mov rcx, rax ; +0x7c3, 0x14029f703 call sub_14017AB00 ; +0x7c6, 0x14029f706 nop ; +0x7cb, 0x14029f70b mov cs:qword_1406C2ED8, rax ; +0x7cc, 0x14029f70c mov rdx, [rax] ; +0x7d3, 0x14029f713 mov rcx, rax ; +0x7d6, 0x14029f716 call qword ptr [rdx+48h] ; +0x7d9, 0x14029f719 mov r14, cs:qword_1406C2ED8 ; +0x7dc, 0x14029f71c xorps xmm2, xmm2 ; +0x7e3, 0x14029f723 movss xmm1, cs:dword_140623068 ; +0x7e6, 0x14029f726 lea rcx, [rbp+60h+var_98] ; +0x7ee, 0x14029f72e call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x7f2, 0x14029f732 mov rbx, rax ; +0x7f8, 0x14029f738 lea rdx, [rbp+60h+var_E0] ; +0x7fb, 0x14029f73b lea rcx, [rbp+60h+var_B0] ; +0x7ff, 0x14029f73f call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x803, 0x14029f743 mov rdi, rax ; +0x809, 0x14029f749 lea rdx, a0173; "0173" ; +0x80c, 0x14029f74c mov rcx, r14 ; +0x813, 0x14029f753 call GameManager__getGameVariable ; +0x816, 0x14029f756 movzx r8d, al ; +0x81b, 0x14029f75b mov [rsp+160h+var_F0], r12 ; +0x81f, 0x14029f75f mov dword ptr [rsp+160h+var_F8], r12d ; +0x824, 0x14029f764 mov byte ptr [rsp+160h+var_100], 0 ; +0x829, 0x14029f769 mov qword ptr [rsp+160h+var_108], r13 ; +0x82e, 0x14029f76e mov [rsp+160h+var_110], rbx ; +0x833, 0x14029f773 movss xmm0, dword ptr [rsi+3C0h] ; +0x838, 0x14029f778 movss dword ptr [rsp+160h+var_118], xmm0 ; +0x840, 0x14029f780 movss [rsp+160h+var_120], xmm9 ; +0x846, 0x14029f786 movss [rsp+160h+var_128], xmm7 ; +0x84d, 0x14029f78d mov qword ptr [rsp+160h+var_130], r15 ; +0x853, 0x14029f793 mov [rsp+160h+var_138], rsi ; +0x858, 0x14029f798 mov [rsp+160h+var_140], rdi ; +0x85d, 0x14029f79d mov r9, [rsi+220h] ; +0x862, 0x14029f7a2 lea rdx, GJOptionsLayer__onToggle ; +0x869, 0x14029f7a9 lea rcx, [rbp+60h+var_D0] ; +0x870, 0x14029f7b0 call GameToolbox__createToggleButton ; +0x874, 0x14029f7b4 mov rbx, rax ; +0x879, 0x14029f7b9 mov r8, [rax] ; +0x87c, 0x14029f7bc mov edx, 0Ah ; +0x87f, 0x14029f7bf mov rcx, rax ; +0x884, 0x14029f7c4 call qword ptr [r8+40h] ; +0x887, 0x14029f7c7 mov rcx, [rbx+178h] ; +0x88b, 0x14029f7cb mov dword ptr [rcx+174h], 3F800000h ; +0x892, 0x14029f7d2 mov rcx, [rbx+180h] ; +0x89c, 0x14029f7dc mov dword ptr [rcx+174h], 3F800000h ; +0x8a3, 0x14029f7e3 movzx edx, byte ptr [rbx+188h] ; +0x8ad, 0x14029f7ed mov rcx, rbx ; +0x8b4, 0x14029f7f4 call CCMenuItemToggler__toggle ; +0x8b7, 0x14029f7f7 xor edx, edx ; +0x8bc, 0x14029f7fc mov rcx, rsi ; +0x8be, 0x14029f7fe call GJOptionsLayer__objectsForPage ; +0x8c1, 0x14029f801 mov rdx, rbx ; +0x8c6, 0x14029f806 mov rcx, rax ; +0x8c9, 0x14029f809 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x8cc, 0x14029f80c mov rax, [rbx] ; +0x8d2, 0x14029f812 xor edx, edx ; +0x8d5, 0x14029f815 mov rcx, rbx ; +0x8d7, 0x14029f817 call qword ptr [rax+140h] ; +0x8da, 0x14029f81a mov rax, [r15] ; +0x8e0, 0x14029f820 xor edx, edx ; +0x8e3, 0x14029f823 mov rcx, r15 ; +0x8e5, 0x14029f825 call qword ptr [rax+140h] ; +0x8e8, 0x14029f828 movss xmm2, [rbp+60h+var_A4] ; +0x8ee, 0x14029f82e mulss xmm2, xmm9 ; +0x8f3, 0x14029f833 movss xmm0, dword ptr [rsi+2C8h] ; +0x8f8, 0x14029f838 mulss xmm0, xmm9 ; +0x900, 0x14029f840 subss xmm2, xmm0 ; +0x905, 0x14029f845 addss xmm2, cs:dword_140623148 ; +0x909, 0x14029f849 movss xmm1, [rbp+60h+var_A8] ; +0x911, 0x14029f851 mulss xmm1, xmm9 ; +0x916, 0x14029f856 lea rcx, [rbp+60h+var_B0] ; +0x91b, 0x14029f85b call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x91f, 0x14029f85f mov r8, rax ; +0x925, 0x14029f865 lea rdx, [rbp+60h+var_A0] ; +0x928, 0x14029f868 mov rcx, [rsi+220h] ; +0x92c, 0x14029f86c call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x933, 0x14029f873 movss [rsp+160h+var_128], xmm8 ; +0x939, 0x14029f879 lea rdi, aGjButton01Png; "GJ_button_01.png" ; +0x940, 0x14029f880 mov qword ptr [rsp+160h+var_130], rdi ; +0x947, 0x14029f887 mov [rsp+160h+var_138], r13 ; +0x94c, 0x14029f88c mov byte ptr [rsp+160h+var_140], 0 ; +0x951, 0x14029f891 movss xmm7, cs:flt_140622C24 ; +0x956, 0x14029f896 movaps xmm3, xmm7 ; +0x95e, 0x14029f89e xor r8d, r8d ; +0x961, 0x14029f8a1 xor edx, edx ; +0x964, 0x14029f8a4 lea rcx, aPlatformerUi; "Platformer UI" ; +0x966, 0x14029f8a6 call ButtonSprite__create_1 ; +0x96d, 0x14029f8ad mov rbx, rax ; +0x972, 0x14029f8b2 mov rdx, [rax] ; +0x975, 0x14029f8b5 movss xmm1, cs:dword_140622B74 ; +0x978, 0x14029f8b8 mov rcx, rax ; +0x980, 0x14029f8c0 call qword ptr [rdx+0A0h] ; +0x983, 0x14029f8c3 lea r9, GameOptionsLayer__onUIOptions ; +0x989, 0x14029f8c9 mov r8, rsi ; +0x990, 0x14029f8d0 xor edx, edx ; +0x993, 0x14029f8d3 mov rcx, rbx ; +0x995, 0x14029f8d5 call CCMenuItemSpriteExtra__create ; +0x998, 0x14029f8d8 mov rbx, rax ; +0x99d, 0x14029f8dd mov rcx, [rsi+220h] ; +0x9a0, 0x14029f8e0 mov r8, [rcx] ; +0x9a7, 0x14029f8e7 mov rdx, rax ; +0x9aa, 0x14029f8ea call qword ptr [r8+1C0h] ; +0x9ad, 0x14029f8ed xorps xmm2, xmm2 ; +0x9b4, 0x14029f8f4 movss xmm1, cs:dword_1406239A4 ; +0x9b7, 0x14029f8f7 lea rcx, [rbp+60h+var_B0] ; +0x9bf, 0x14029f8ff call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x9c3, 0x14029f903 mov r8, rax ; +0x9c9, 0x14029f909 lea rdx, [rbp+60h+var_E0] ; +0x9cc, 0x14029f90c lea rcx, [rbp+60h+var_A0] ; +0x9d0, 0x14029f910 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x9d4, 0x14029f914 mov rax, [rbx] ; +0x9da, 0x14029f91a lea rdx, [rbp+60h+var_E0] ; +0x9dd, 0x14029f91d mov rcx, rbx ; +0x9e1, 0x14029f921 call qword ptr [rax+0B8h] ; +0x9e4, 0x14029f924 movss [rsp+160h+var_128], xmm8 ; +0x9ea, 0x14029f92a mov qword ptr [rsp+160h+var_130], rdi ; +0x9f1, 0x14029f931 mov [rsp+160h+var_138], r13 ; +0x9f6, 0x14029f936 mov byte ptr [rsp+160h+var_140], 0 ; +0x9fb, 0x14029f93b movaps xmm3, xmm7 ; +0xa00, 0x14029f940 xor r8d, r8d ; +0xa03, 0x14029f943 xor edx, edx ; +0xa06, 0x14029f946 lea rcx, aPracticeUi; "Practice UI" ; +0xa08, 0x14029f948 call ButtonSprite__create_1 ; +0xa0f, 0x14029f94f mov rbx, rax ; +0xa14, 0x14029f954 mov rdx, [rax] ; +0xa17, 0x14029f957 movss xmm1, cs:dword_140622B74 ; +0xa1a, 0x14029f95a mov rcx, rax ; +0xa22, 0x14029f962 call qword ptr [rdx+0A0h] ; +0xa25, 0x14029f965 lea r9, GameOptionsLayer__onUIPOptions ; +0xa2b, 0x14029f96b mov r8, rsi ; +0xa32, 0x14029f972 xor edx, edx ; +0xa35, 0x14029f975 mov rcx, rbx ; +0xa37, 0x14029f977 call CCMenuItemSpriteExtra__create ; +0xa3a, 0x14029f97a mov rbx, rax ; +0xa3f, 0x14029f97f mov rcx, [rsi+220h] ; +0xa42, 0x14029f982 mov r8, [rcx] ; +0xa49, 0x14029f989 mov rdx, rax ; +0xa4c, 0x14029f98c call qword ptr [r8+1C0h] ; +0xa4f, 0x14029f98f xorps xmm2, xmm2 ; +0xa56, 0x14029f996 movss xmm1, cs:dword_14062326C ; +0xa59, 0x14029f999 lea rcx, [rbp+60h+var_B0] ; +0xa61, 0x14029f9a1 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xa65, 0x14029f9a5 mov r8, rax ; +0xa6b, 0x14029f9ab lea rdx, [rbp+60h+var_E0] ; +0xa6e, 0x14029f9ae lea rcx, [rbp+60h+var_A0] ; +0xa72, 0x14029f9b2 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0xa76, 0x14029f9b6 mov rax, [rbx] ; +0xa7c, 0x14029f9bc lea rdx, [rbp+60h+var_E0] ; +0xa7f, 0x14029f9bf mov rcx, rbx ; +0xa83, 0x14029f9c3 call qword ptr [rax+0B8h] ; +0xa86, 0x14029f9c6 mov rcx, [rbp+60h+var_58] ; +0xa8c, 0x14029f9cc xor rcx, rsp; StackCookie ; +0xa90, 0x14029f9d0 call __security_check_cookie ; +0xa93, 0x14029f9d3 lea r11, [rsp+160h+var_20] ; +0xa98, 0x14029f9d8 mov rbx, [r11+38h] ; +0xaa0, 0x14029f9e0 mov rsi, [r11+40h] ; +0xaa4, 0x14029f9e4 mov rdi, [r11+48h] ; +0xaa8, 0x14029f9e8 movaps xmm7, xmmword ptr [r11-10h] ; +0xaac, 0x14029f9ec movaps xmm8, xmmword ptr [r11-20h] ; +0xab1, 0x14029f9f1 movaps xmm9, xmmword ptr [r11-30h] ; +0xab6, 0x14029f9f6 mov rsp, r11 ; +0xabb, 0x14029f9fb pop r15 ; +0xabe, 0x14029f9fe pop r14 ; +0xac0, 0x14029fa00 pop r13 ; +0xac2, 0x14029fa02 pop r12 ; +0xac4, 0x14029fa04 pop rbp ; +0xac6, 0x14029fa06 retn ; +0xac7, 0x14029fa07