; ; GJGarageLayer::setupSpecialPage from 0x140276ac0 to 0x140277165 (1701 bytes) ; ; 2 xrefs: ; > GJGarageLayer::setupPage @ 0x1402760ee ; > @ 0x1406d0f98 ; ; 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, 0x140276ac0 mov [rax+10h], rbx ; +0x3, 0x140276ac3 mov [rax+18h], rsi ; +0x7, 0x140276ac7 mov [rax+20h], rdi ; +0xb, 0x140276acb push rbp ; +0xf, 0x140276acf push r12 ; +0x10, 0x140276ad0 push r13 ; +0x12, 0x140276ad2 push r14 ; +0x14, 0x140276ad4 push r15 ; +0x16, 0x140276ad6 lea rbp, [rax-78h] ; +0x18, 0x140276ad8 sub rsp, 150h ; +0x1c, 0x140276adc movaps xmmword ptr [rax-38h], xmm6 ; +0x23, 0x140276ae3 movaps xmmword ptr [rax-48h], xmm7 ; +0x27, 0x140276ae7 movaps xmmword ptr [rax-58h], xmm8 ; +0x2b, 0x140276aeb movaps xmmword ptr [rax-68h], xmm9 ; +0x30, 0x140276af0 movaps xmmword ptr [rax-78h], xmm11 ; +0x35, 0x140276af5 mov rax, cs:__security_cookie ; +0x3a, 0x140276afa xor rax, rsp ; +0x41, 0x140276b01 mov [rbp+70h+var_78], rax ; +0x44, 0x140276b04 mov r15, rcx ; +0x48, 0x140276b08 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x4b, 0x140276b0b mov rcx, rax ; +0x51, 0x140276b11 lea rdx, [rsp+170h+var_100] ; +0x54, 0x140276b14 call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x59, 0x140276b19 mov rcx, [r15+230h] ; +0x5f, 0x140276b1f test rcx, rcx ; +0x66, 0x140276b26 jz short loc_140276B3F ; +0x69, 0x140276b29 mov rax, [rcx] ; +0x6b, 0x140276b2b call qword ptr [rax+200h] ; +0x6e, 0x140276b2e mov qword ptr [r15+230h], 0 ; +0x74, 0x140276b34 mov edx, 63h ; 'c' ; +0x7f, 0x140276b3f mov rcx, r15 ; +0x84, 0x140276b44 call GJGarageLayer__getItems_1 ; +0x87, 0x140276b47 mov rbx, rax ; +0x8c, 0x140276b4c movss xmm2, [rsp+170h+var_FC] ; +0x8f, 0x140276b4f movss xmm11, cs:dword_140622B08 ; +0x95, 0x140276b55 mulss xmm2, xmm11 ; +0x9e, 0x140276b5e movss xmm6, cs:flt_140623010 ; +0xa3, 0x140276b63 subss xmm2, xmm6 ; +0xab, 0x140276b6b movss xmm7, cs:dword_140623210 ; +0xaf, 0x140276b6f subss xmm2, xmm7 ; +0xb7, 0x140276b77 movss xmm1, [rsp+170h+var_100] ; +0xbb, 0x140276b7b mulss xmm1, xmm11 ; +0xc1, 0x140276b81 lea rcx, [rsp+170h+var_F8] ; +0xc6, 0x140276b86 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xcb, 0x140276b8b mov rdx, rax ; +0xd1, 0x140276b91 movss xmm8, cs:dword_1406233F4 ; +0xd4, 0x140276b94 movss [rsp+170h+var_138], xmm8 ; +0xdd, 0x140276b9d movss xmm9, cs:dword_140623144 ; +0xe4, 0x140276ba4 movss [rsp+170h+var_140], xmm9 ; +0xed, 0x140276bad movss [rsp+170h+var_148], xmm6 ; +0xf4, 0x140276bb4 movss [rsp+170h+var_150], xmm6 ; +0xfa, 0x140276bba mov r9d, 3 ; +0x100, 0x140276bc0 lea r8d, [r9+9] ; +0x106, 0x140276bc6 mov rcx, rbx ; +0x10a, 0x140276bca call ListButtonBar__create ; +0x10d, 0x140276bcd mov [r15+230h], rax ; +0x112, 0x140276bd2 mov rcx, [rax+140h] ; +0x119, 0x140276bd9 call BoomScrollLayer__togglePageIndicators ; +0x120, 0x140276be0 mov rax, [r15] ; +0x125, 0x140276be5 mov r8d, 64h ; 'd' ; +0x128, 0x140276be8 mov rdx, [r15+230h] ; +0x12e, 0x140276bee mov rcx, r15 ; +0x135, 0x140276bf5 call qword ptr [rax+1B8h] ; +0x138, 0x140276bf8 mov rcx, [r15+228h] ; +0x13e, 0x140276bfe mov rax, [r15+218h] ; +0x145, 0x140276c05 mov rsi, [rax] ; +0x14c, 0x140276c0c test rcx, rcx ; +0x14f, 0x140276c0f jz short loc_140276C64 ; +0x152, 0x140276c12 mov rdi, rcx ; +0x154, 0x140276c14 mov rax, [rcx] ; +0x157, 0x140276c17 call qword ptr [rax+0C8h] ; +0x15a, 0x140276c1a mov rbx, rax ; +0x160, 0x140276c20 mov rdx, [rdi] ; +0x163, 0x140276c23 mov rcx, rdi ; +0x166, 0x140276c26 call qword ptr [rdx+1E8h] ; +0x169, 0x140276c29 mov rcx, rax ; +0x16f, 0x140276c2f mov r8, rbx ; +0x172, 0x140276c32 lea rdx, [rsp+170h+var_F8] ; +0x175, 0x140276c35 call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x17a, 0x140276c3a mov rdx, rax ; +0x180, 0x140276c40 mov rcx, [r15+218h] ; +0x183, 0x140276c43 call qword ptr [rsi+0B8h] ; +0x18a, 0x140276c4a mov rcx, [r15+218h] ; +0x190, 0x140276c50 mov rax, [rcx] ; +0x197, 0x140276c57 mov dl, 1 ; +0x19a, 0x140276c5a call qword ptr [rax+140h] ; +0x19c, 0x140276c5c jmp short loc_140276C6F ; +0x1a2, 0x140276c62 xor edx, edx ; +0x1a4, 0x140276c64 mov rcx, rax ; +0x1a6, 0x140276c66 call qword ptr [rsi+140h] ; +0x1a9, 0x140276c69 mov edx, 65h ; 'e' ; +0x1af, 0x140276c6f mov rcx, r15 ; +0x1b4, 0x140276c74 call GJGarageLayer__getItems_1 ; +0x1b7, 0x140276c77 mov rbx, rax ; +0x1bc, 0x140276c7c movss xmm0, [rsp+170h+var_FC] ; +0x1bf, 0x140276c7f mulss xmm0, xmm11 ; +0x1c5, 0x140276c85 subss xmm0, xmm6 ; +0x1ca, 0x140276c8a subss xmm0, xmm7 ; +0x1ce, 0x140276c8e cvtps2pd xmm0, xmm0 ; +0x1d2, 0x140276c92 subsd xmm0, cs:qword_140622F20 ; +0x1d5, 0x140276c95 cvtpd2ps xmm2, xmm0 ; +0x1dd, 0x140276c9d movss xmm1, [rsp+170h+var_100] ; +0x1e1, 0x140276ca1 mulss xmm1, xmm11 ; +0x1e7, 0x140276ca7 lea rcx, [rsp+170h+var_F8] ; +0x1ec, 0x140276cac call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1f1, 0x140276cb1 mov rdx, rax ; +0x1f7, 0x140276cb7 movss [rsp+170h+var_138], xmm8 ; +0x1fa, 0x140276cba movss [rsp+170h+var_140], xmm9 ; +0x201, 0x140276cc1 movss [rsp+170h+var_148], xmm6 ; +0x208, 0x140276cc8 movss [rsp+170h+var_150], xmm6 ; +0x20e, 0x140276cce mov r9d, 3 ; +0x214, 0x140276cd4 lea r8d, [r9+9] ; +0x21a, 0x140276cda mov rcx, rbx ; +0x21e, 0x140276cde call ListButtonBar__create ; +0x221, 0x140276ce1 mov rbx, rax ; +0x226, 0x140276ce6 mov rcx, [rax+140h] ; +0x229, 0x140276ce9 call BoomScrollLayer__togglePageIndicators ; +0x230, 0x140276cf0 mov rcx, [r15+230h] ; +0x235, 0x140276cf5 mov r9, [rcx] ; +0x23c, 0x140276cfc mov r8d, 64h ; 'd' ; +0x23f, 0x140276cff mov rdx, rbx ; +0x245, 0x140276d05 call qword ptr [r9+1B8h] ; +0x248, 0x140276d08 mov rcx, [r15+228h] ; +0x24f, 0x140276d0f mov rax, [r15+220h] ; +0x256, 0x140276d16 mov rsi, [rax] ; +0x25d, 0x140276d1d test rcx, rcx ; +0x260, 0x140276d20 jz short loc_140276D75 ; +0x263, 0x140276d23 mov rdi, rcx ; +0x265, 0x140276d25 mov rax, [rcx] ; +0x268, 0x140276d28 call qword ptr [rax+0C8h] ; +0x26b, 0x140276d2b mov rbx, rax ; +0x271, 0x140276d31 mov rdx, [rdi] ; +0x274, 0x140276d34 mov rcx, rdi ; +0x277, 0x140276d37 call qword ptr [rdx+1E8h] ; +0x27a, 0x140276d3a mov rcx, rax ; +0x280, 0x140276d40 mov r8, rbx ; +0x283, 0x140276d43 lea rdx, [rsp+170h+var_F8] ; +0x286, 0x140276d46 call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x28b, 0x140276d4b mov rdx, rax ; +0x291, 0x140276d51 mov rcx, [r15+220h] ; +0x294, 0x140276d54 call qword ptr [rsi+0B8h] ; +0x29b, 0x140276d5b mov rcx, [r15+220h] ; +0x2a1, 0x140276d61 mov rax, [rcx] ; +0x2a8, 0x140276d68 mov dl, 1 ; +0x2ab, 0x140276d6b call qword ptr [rax+140h] ; +0x2ad, 0x140276d6d jmp short loc_140276D80 ; +0x2b3, 0x140276d73 xor edx, edx ; +0x2b5, 0x140276d75 mov rcx, rax ; +0x2b7, 0x140276d77 call qword ptr [rsi+140h] ; +0x2ba, 0x140276d7a xor ecx, ecx ; +0x2c0, 0x140276d80 call cs:?create@CCMenu@cocos2d@@SAPEAV12@PEAVCCMenuItem@2@ZZ; cocos2d::CCMenu::create(cocos2d::CCMenuItem *,...) ; +0x2c2, 0x140276d82 mov rbx, rax ; +0x2c8, 0x140276d88 mov [rbp+70h+var_D8], rax ; +0x2cb, 0x140276d8b mov rcx, [r15+230h] ; +0x2cf, 0x140276d8f mov r9, [rcx] ; +0x2d6, 0x140276d96 mov r8d, 3E8h ; +0x2d9, 0x140276d99 mov rdx, rax ; +0x2df, 0x140276d9f call qword ptr [r9+1B8h] ; +0x2e2, 0x140276da2 movss xmm0, [rsp+170h+var_FC] ; +0x2e9, 0x140276da9 mulss xmm0, xmm11 ; +0x2ef, 0x140276daf subss xmm0, xmm6 ; +0x2f4, 0x140276db4 subss xmm0, xmm7 ; +0x2f8, 0x140276db8 cvtps2pd xmm0, xmm0 ; +0x2fc, 0x140276dbc subsd xmm0, cs:qword_140622F20 ; +0x2ff, 0x140276dbf cvtpd2ps xmm2, xmm0 ; +0x307, 0x140276dc7 movss xmm1, [rsp+170h+var_100] ; +0x30b, 0x140276dcb mulss xmm1, xmm11 ; +0x311, 0x140276dd1 subss xmm1, cs:dword_140623330 ; +0x316, 0x140276dd6 subss xmm1, cs:dword_140623150 ; +0x31e, 0x140276dde lea rcx, [rbp+70h+var_E8] ; +0x326, 0x140276de6 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x32a, 0x140276dea lea r8, [rbp+70h+var_E8] ; +0x330, 0x140276df0 lea rdx, [rsp+170h+var_F8] ; +0x334, 0x140276df4 mov rcx, [r15+230h] ; +0x339, 0x140276df9 call cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x340, 0x140276e00 mov r8, rax ; +0x346, 0x140276e06 lea rdx, [rbp+70h+var_D0] ; +0x349, 0x140276e09 mov rcx, rbx ; +0x34d, 0x140276e0d call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x350, 0x140276e10 lea rcx, aPlayersquare00; "playerSquare_001.png" ; +0x356, 0x140276e16 call cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x35d, 0x140276e1d mov [rbp+70h+var_E0], rax ; +0x363, 0x140276e23 mov r14d, 12h ; +0x367, 0x140276e27 mov [rbp+70h+var_F0], 0 ; +0x36d, 0x140276e2d lea rbx, GJGarageLayer__onToggleItem ; +0x374, 0x140276e34 movss xmm8, cs:flt_140622C24 ; +0x37b, 0x140276e3b mov rcx, cs:qword_1406C2ED8 ; +0x384, 0x140276e44 test rcx, rcx ; +0x38b, 0x140276e4b jnz short loc_140276E7E ; +0x38e, 0x140276e4e mov ecx, 668h; Size ; +0x390, 0x140276e50 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x395, 0x140276e55 mov [rbp+70h+var_C8], rax ; +0x39a, 0x140276e5a mov rcx, rax ; +0x39e, 0x140276e5e call sub_14017AB00 ; +0x3a1, 0x140276e61 nop ; +0x3a6, 0x140276e66 mov cs:qword_1406C2ED8, rax ; +0x3a7, 0x140276e67 mov rdx, [rax] ; +0x3ae, 0x140276e6e mov rcx, rax ; +0x3b1, 0x140276e71 call qword ptr [rdx+48h] ; +0x3b4, 0x140276e74 mov rcx, cs:qword_1406C2ED8 ; +0x3b7, 0x140276e77 mov r8d, 64h ; 'd' ; +0x3be, 0x140276e7e mov edx, r14d ; +0x3c4, 0x140276e84 call GameManager__isIconUnlocked ; +0x3c7, 0x140276e87 movzx r12d, al ; +0x3cc, 0x140276e8c mov rcx, cs:qword_1406C2EE8 ; +0x3d0, 0x140276e90 test rcx, rcx ; +0x3d7, 0x140276e97 jnz short loc_140276ECA ; +0x3da, 0x140276e9a mov ecx, 3E0h; Size ; +0x3dc, 0x140276e9c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x3e1, 0x140276ea1 mov [rbp+70h+var_C0], rax ; +0x3e6, 0x140276ea6 mov rcx, rax ; +0x3ea, 0x140276eaa call sub_1401D0AE0 ; +0x3ed, 0x140276ead nop ; +0x3f2, 0x140276eb2 mov cs:qword_1406C2EE8, rax ; +0x3f3, 0x140276eb3 mov rdx, [rax] ; +0x3fa, 0x140276eba mov rcx, rax ; +0x3fd, 0x140276ebd call qword ptr [rdx+48h] ; +0x400, 0x140276ec0 mov rcx, cs:qword_1406C2EE8 ; +0x403, 0x140276ec3 mov r8d, 0Ch ; +0x40a, 0x140276eca mov edx, r14d ; +0x410, 0x140276ed0 call GameStatsManager__getItemUnlockState ; +0x413, 0x140276ed3 mov r13d, eax ; +0x418, 0x140276ed8 mov edx, r14d ; +0x41b, 0x140276edb mov ecx, 0Ch ; +0x41e, 0x140276ede call GJItemIcon__createBrowserItem ; +0x423, 0x140276ee3 mov rsi, rax ; +0x428, 0x140276ee8 test r12b, r12b ; +0x42b, 0x140276eeb jz loc_140276F8E ; +0x42e, 0x140276eee mov rbx, cs:qword_1406C2EE8 ; +0x434, 0x140276ef4 test rbx, rbx ; +0x43b, 0x140276efb jnz short loc_140276F2E ; +0x43e, 0x140276efe mov ecx, 3E0h; Size ; +0x440, 0x140276f00 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x445, 0x140276f05 mov [rbp+70h+var_B8], rax ; +0x44a, 0x140276f0a mov rcx, rax ; +0x44e, 0x140276f0e call sub_1401D0AE0 ; +0x451, 0x140276f11 nop ; +0x456, 0x140276f16 mov cs:qword_1406C2EE8, rax ; +0x457, 0x140276f17 mov rdx, [rax] ; +0x45e, 0x140276f1e mov rcx, rax ; +0x461, 0x140276f21 call qword ptr [rdx+48h] ; +0x464, 0x140276f24 mov rbx, cs:qword_1406C2EE8 ; +0x467, 0x140276f27 mov r8d, r14d ; +0x46e, 0x140276f2e mov edx, 0Ch ; +0x471, 0x140276f31 call GameStatsManager__isItemUnlocked ; +0x476, 0x140276f36 test al, al ; +0x47b, 0x140276f3b jnz short loc_140276F43 ; +0x47d, 0x140276f3d xor bl, bl ; +0x47f, 0x140276f3f jmp short loc_140276F7C ; +0x481, 0x140276f41 mov r9d, 0Ch ; +0x483, 0x140276f43 mov r8d, r14d ; +0x489, 0x140276f49 lea rdx, [rbp+70h+var_98] ; +0x48c, 0x140276f4c call GameStatsManager__getItemKey ; +0x490, 0x140276f50 nop ; +0x495, 0x140276f55 lea rdx, [rbp+70h+var_98] ; +0x496, 0x140276f56 mov rcx, [rbx+378h] ; +0x49a, 0x140276f5a 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 &) ; +0x4a1, 0x140276f61 mov rcx, rax ; +0x4a7, 0x140276f67 call cs:?boolValue@CCString@cocos2d@@QEBA_NXZ; cocos2d::CCString::boolValue(void) ; +0x4aa, 0x140276f6a movzx ebx, al ; +0x4b0, 0x140276f70 lea rcx, [rbp+70h+var_98] ; +0x4b3, 0x140276f73 call sub_14003A830 ; +0x4b7, 0x140276f77 movzx edx, bl ; +0x4bc, 0x140276f7c mov rcx, rsi ; +0x4bf, 0x140276f7f call GJItemIcon__toggleEnabledState ; +0x4c2, 0x140276f82 lea rbx, GJGarageLayer__onToggleItem ; +0x4c7, 0x140276f87 test rsi, rsi ; +0x4ce, 0x140276f8e jz loc_14027710B ; +0x4d1, 0x140276f91 mov ecx, 0Ch ; +0x4d7, 0x140276f97 call GJItemIcon__scaleForType ; +0x4dc, 0x140276f9c movaps xmm7, xmm0 ; +0x4e1, 0x140276fa1 mov rax, [rsi] ; +0x4e4, 0x140276fa4 movaps xmm1, xmm0 ; +0x4e7, 0x140276fa7 mov rcx, rsi ; +0x4ea, 0x140276faa call qword ptr [rax+0A0h] ; +0x4ed, 0x140276fad mov ecx, 208h; Size ; +0x4f3, 0x140276fb3 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x4f8, 0x140276fb8 mov [rbp+70h+var_B0], rax ; +0x4fd, 0x140276fbd mov rcx, rax ; +0x501, 0x140276fc1 call CCMenuItemSpriteExtra__CCMenuItemSpriteExtra ; +0x504, 0x140276fc4 mov rdi, rax ; +0x509, 0x140276fc9 test rax, rax ; +0x50c, 0x140276fcc jz short loc_140277001 ; +0x50f, 0x140276fcf mov qword ptr [rsp+170h+var_150], rbx ; +0x511, 0x140276fd1 mov r9, r15 ; +0x516, 0x140276fd6 xor r8d, r8d ; +0x519, 0x140276fd9 mov rdx, rsi ; +0x51c, 0x140276fdc mov rcx, rax ; +0x51f, 0x140276fdf call CCMenuItemSpriteExtra__init ; +0x522, 0x140276fe2 mov rcx, rdi ; +0x527, 0x140276fe7 test al, al ; +0x52a, 0x140276fea jz short loc_140276FF6 ; +0x52c, 0x140276fec call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x52e, 0x140276fee jmp short loc_140277003 ; +0x534, 0x140276ff4 mov rax, [rdi] ; +0x536, 0x140276ff6 mov edx, 1 ; +0x539, 0x140276ff9 call qword ptr [rax+8] ; +0x53e, 0x140276ffe xor edi, edi ; +0x541, 0x140277001 mov rbx, [rdi] ; +0x543, 0x140277003 mov rcx, [rbp+70h+var_E0] ; +0x546, 0x140277006 mov rax, [rcx] ; +0x54a, 0x14027700a call qword ptr [rax+130h] ; +0x54d, 0x14027700d mov rdx, rax ; +0x553, 0x140277013 mov rcx, rdi ; +0x556, 0x140277016 call qword ptr [rbx+128h] ; +0x559, 0x140277019 mov rbx, [rsi] ; +0x55f, 0x14027701f mov rax, [rdi] ; +0x562, 0x140277022 mov rcx, rdi ; +0x565, 0x140277025 call qword ptr [rax+130h] ; +0x568, 0x140277028 movss xmm6, dword ptr [rax+4] ; +0x56e, 0x14027702e mov rax, [rdi] ; +0x573, 0x140277033 mov rcx, rdi ; +0x576, 0x140277036 call qword ptr [rax+130h] ; +0x579, 0x140277039 mulss xmm6, xmm11 ; +0x57f, 0x14027703f movss xmm1, dword ptr [rax] ; +0x584, 0x140277044 mulss xmm1, xmm11 ; +0x588, 0x140277048 movaps xmm2, xmm6 ; +0x58d, 0x14027704d lea rcx, [rbp+70h+var_A8] ; +0x590, 0x140277050 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x594, 0x140277054 mov rdx, rax ; +0x59a, 0x14027705a mov rcx, rsi ; +0x59d, 0x14027705d call qword ptr [rbx+0B8h] ; +0x5a0, 0x140277060 mov rax, [rdi] ; +0x5a6, 0x140277066 mov edx, r14d ; +0x5a9, 0x140277069 mov rcx, rdi ; +0x5ac, 0x14027706c call qword ptr [rax+40h] ; +0x5af, 0x14027706f mov dword ptr [rdi+200h], 64h ; 'd' ; +0x5b2, 0x140277072 mov rbx, [rbp+70h+var_D8] ; +0x5bc, 0x14027707c mov rax, [rbx] ; +0x5c0, 0x140277080 mov rdx, rdi ; +0x5c3, 0x140277083 mov rcx, rbx ; +0x5c6, 0x140277086 call qword ptr [rax+1C0h] ; +0x5c9, 0x140277089 mov ebx, [rbp+70h+var_F0] ; +0x5cf, 0x14027708f movd xmm1, ebx ; +0x5d2, 0x140277092 cvtdq2ps xmm1, xmm1 ; +0x5d6, 0x140277096 xorps xmm2, xmm2 ; +0x5d9, 0x140277099 lea rcx, [rbp+70h+var_A0] ; +0x5dc, 0x14027709c call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5e0, 0x1402770a0 mov r8, rax ; +0x5e6, 0x1402770a6 lea rdx, [rsp+170h+var_F8] ; +0x5e9, 0x1402770a9 lea rcx, [rbp+70h+var_D0] ; +0x5ee, 0x1402770ae call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x5f2, 0x1402770b2 mov rax, [rdi] ; +0x5f8, 0x1402770b8 lea rdx, [rsp+170h+var_F8] ; +0x5fb, 0x1402770bb mov rcx, rdi ; +0x600, 0x1402770c0 call qword ptr [rax+0B8h] ; +0x603, 0x1402770c3 add ebx, 1Eh ; +0x609, 0x1402770c9 mov [rbp+70h+var_F0], ebx ; +0x60c, 0x1402770cc test r12b, r12b ; +0x60f, 0x1402770cf jnz short loc_14027710B ; +0x612, 0x1402770d2 mov rcx, rsi ; +0x614, 0x1402770d4 test r13d, r13d ; +0x617, 0x1402770d7 jnz short loc_1402770FE ; +0x61a, 0x1402770da mov [rsp+170h+var_120], 3232h ; +0x61c, 0x1402770dc movzx eax, [rsp+170h+var_120] ; +0x623, 0x1402770e3 mov [rsp+170h+var_110], ax ; +0x628, 0x1402770e8 mov [rsp+170h+var_10E], 32h ; '2' ; +0x62d, 0x1402770ed lea rdx, [rsp+170h+var_110] ; +0x632, 0x1402770f2 call GJItemIcon__darkenStoreItem ; +0x637, 0x1402770f7 jmp short loc_14027710B ; +0x63c, 0x1402770fc movaps xmm1, xmm8 ; +0x63e, 0x1402770fe divss xmm1, xmm7 ; +0x642, 0x140277102 call GJItemIcon__changeToLockedState ; +0x646, 0x140277106 inc r14d ; +0x64b, 0x14027710b cmp r14d, 14h ; +0x64e, 0x14027710e lea rbx, GJGarageLayer__onToggleItem ; +0x652, 0x140277112 jle loc_140276E44 ; +0x659, 0x140277119 mov rcx, [rbp+70h+var_78] ; +0x65f, 0x14027711f xor rcx, rsp; StackCookie ; +0x663, 0x140277123 call __security_check_cookie ; +0x666, 0x140277126 lea r11, [rsp+170h+var_20] ; +0x66b, 0x14027712b mov rbx, [r11+38h] ; +0x673, 0x140277133 mov rsi, [r11+40h] ; +0x677, 0x140277137 mov rdi, [r11+48h] ; +0x67b, 0x14027713b movaps xmm6, xmmword ptr [r11-10h] ; +0x67f, 0x14027713f movaps xmm7, xmmword ptr [r11-20h] ; +0x684, 0x140277144 movaps xmm8, xmmword ptr [r11-30h] ; +0x689, 0x140277149 movaps xmm9, xmmword ptr [r11-40h] ; +0x68e, 0x14027714e movaps xmm11, xmmword ptr [r11-50h] ; +0x693, 0x140277153 mov rsp, r11 ; +0x698, 0x140277158 pop r15 ; +0x69b, 0x14027715b pop r14 ; +0x69d, 0x14027715d pop r13 ; +0x69f, 0x14027715f pop r12 ; +0x6a1, 0x140277161 pop rbp ; +0x6a3, 0x140277163 retn ; +0x6a4, 0x140277164