; ; GJBaseGameLayer::visitWithColorFlash from 0x140352590 to 0x140352b60 (1488 bytes) ; ; 4 xrefs: ; > GJBaseGameLayer::visit @ 0x1403522c2 ; > @ 0x1408b8b48 ; > @ 0x1408b8bb0 ; > @ 0x14092039c ; ; 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 11:30:48 +0000 ; mov rax, rsp ; +0x0, 0x140352590 push rbp ; +0x3, 0x140352593 push rbx ; +0x4, 0x140352594 lea rbp, [rax-28h] ; +0x5, 0x140352595 sub rsp, 118h ; +0x9, 0x140352599 mov [rax-18h], rsi ; +0x10, 0x1403525a0 mov edx, 3E8h ; +0x14, 0x1403525a4 mov [rax-28h], r12 ; +0x19, 0x1403525a9 mov [rax-30h], r13 ; +0x1d, 0x1403525ad mov [rax-38h], r14 ; +0x21, 0x1403525b1 mov r14, rcx ; +0x25, 0x1403525b5 mov rcx, [rcx+968h] ; +0x28, 0x1403525b8 mov [rax-40h], r15 ; +0x2f, 0x1403525bf call GJEffectManager__getColorSprite ; +0x33, 0x1403525c3 test rax, rax ; +0x38, 0x1403525c8 jz short loc_1403525E2 ; +0x3b, 0x1403525cb movzx edx, word ptr [rax+147h] ; +0x3d, 0x1403525cd mov [rsp+120h+var_100], dx ; +0x44, 0x1403525d4 movzx eax, byte ptr [rax+149h] ; +0x49, 0x1403525d9 jmp short loc_1403525F5 ; +0x50, 0x1403525e0 movzx eax, cs:word_140703460 ; +0x52, 0x1403525e2 mov [rsp+120h+var_100], ax ; +0x59, 0x1403525e9 movzx eax, cs:byte_140703462 ; +0x5e, 0x1403525ee mov rcx, [r14+968h] ; +0x65, 0x1403525f5 mov edx, 3E9h ; +0x6c, 0x1403525fc mov [rsp+120h+var_FE], al ; +0x71, 0x140352601 call GJEffectManager__getColorSprite ; +0x75, 0x140352605 test rax, rax ; +0x7a, 0x14035260a jz short loc_140352621 ; +0x7d, 0x14035260d movzx r12d, word ptr [rax+147h] ; +0x7f, 0x14035260f movzx r15d, byte ptr [rax+149h] ; +0x87, 0x140352617 jmp short loc_140352631 ; +0x8f, 0x14035261f movzx r12d, cs:word_140703460 ; +0x91, 0x140352621 movzx r15d, cs:byte_140703462 ; +0x99, 0x140352629 mov rcx, [r14+968h] ; +0xa1, 0x140352631 mov edx, 3F1h ; +0xa8, 0x140352638 mov [rbp+20h+arg_2], r15b ; +0xad, 0x14035263d mov [rbp+20h+arg_0], r12w ; +0xb1, 0x140352641 call GJEffectManager__getColorSprite ; +0xb6, 0x140352646 test rax, rax ; +0xbb, 0x14035264b jz short loc_140352661 ; +0xbe, 0x14035264e movzx ebx, word ptr [rax+147h] ; +0xc0, 0x140352650 movzx r13d, byte ptr [rax+149h] ; +0xc7, 0x140352657 jmp short loc_140352670 ; +0xcf, 0x14035265f movzx ebx, cs:word_140703460 ; +0xd1, 0x140352661 movzx r13d, cs:byte_140703462 ; +0xd8, 0x140352668 mov word ptr [rbp+20h+var_44], 101h ; +0xe0, 0x140352670 lea r8, [rbp+20h+var_60] ; +0xe6, 0x140352676 movss xmm1, [rbp+20h+var_44] ; +0xea, 0x14035267a lea rdx, [rsp+120h+var_100] ; +0xef, 0x14035267f lea rcx, [rbp+20h+arg_10] ; +0xf4, 0x140352684 movss [rbp+20h+var_54], xmm1 ; +0xf8, 0x140352688 mov [rbp+20h+arg_A], r13b ; +0xfd, 0x14035268d mov [rbp+20h+arg_8], bx ; +0x101, 0x140352691 mov [rsp+120h+var_E0], bx ; +0x105, 0x140352695 mov [rbp+20h+var_60], 0 ; +0x10a, 0x14035269a mov [rbp+20h+var_5C], 0BE4CCCCDh ; +0x111, 0x1403526a1 mov [rbp+20h+var_58], 3E4CCCCDh ; +0x118, 0x1403526a8 call GameToolbox__transformColor ; +0x11f, 0x1403526af movzx eax, [rbp+20h+arg_10] ; +0x124, 0x1403526b4 mov [rsp+120h+var_DC], ax ; +0x128, 0x1403526b8 movzx eax, [rbp+20h+arg_12] ; +0x12d, 0x1403526bd mov [rsp+120h+var_DA], al ; +0x131, 0x1403526c1 test r12b, r12b ; +0x135, 0x1403526c5 jnz short loc_1403526E4 ; +0x138, 0x1403526c8 cmp byte ptr [rbp+20h+arg_0+1], r12b ; +0x13a, 0x1403526ca jnz short loc_1403526E4 ; +0x13e, 0x1403526ce test r15b, r15b ; +0x140, 0x1403526d0 jnz short loc_1403526E4 ; +0x143, 0x1403526d3 movzx esi, r12w ; +0x145, 0x1403526d5 mov [rbp+20h+arg_18], r12w ; +0x149, 0x1403526d9 mov byte ptr [rbp+20h+arg_0], r15b ; +0x14e, 0x1403526de jmp short loc_140352729 ; +0x152, 0x1403526e2 mov word ptr [rbp+20h+var_44], 101h ; +0x154, 0x1403526e4 lea r8, [rbp+20h+var_60] ; +0x15a, 0x1403526ea movss xmm0, [rbp+20h+var_44] ; +0x15e, 0x1403526ee lea rdx, [rbp+20h+arg_0] ; +0x163, 0x1403526f3 lea rcx, [rbp+20h+arg_10] ; +0x167, 0x1403526f7 movss [rbp+20h+var_54], xmm0 ; +0x16b, 0x1403526fb mov [rbp+20h+var_60], 0 ; +0x170, 0x140352700 mov [rbp+20h+var_5C], 0BE4CCCCDh ; +0x177, 0x140352707 mov [rbp+20h+var_58], 3E4CCCCDh ; +0x17e, 0x14035270e call GameToolbox__transformColor ; +0x185, 0x140352715 movzx eax, [rbp+20h+arg_12] ; +0x18a, 0x14035271a movzx esi, [rbp+20h+arg_10] ; +0x18e, 0x14035271e mov byte ptr [rbp+20h+arg_0], al ; +0x192, 0x140352722 mov [rbp+20h+arg_18], si ; +0x195, 0x140352725 test bl, bl ; +0x199, 0x140352729 jnz short loc_140352741 ; +0x19b, 0x14035272b cmp byte ptr [rbp+20h+arg_8+1], bl ; +0x19d, 0x14035272d jnz short loc_140352741 ; +0x1a0, 0x140352730 test r13b, r13b ; +0x1a2, 0x140352732 jnz short loc_140352741 ; +0x1a5, 0x140352735 mov [rbp+20h+arg_10], bx ; +0x1a7, 0x140352737 mov byte ptr [rbp+20h+arg_8], r13b ; +0x1ab, 0x14035273b jmp short loc_140352789 ; +0x1af, 0x14035273f mov word ptr [rbp+20h+var_44], 101h ; +0x1b1, 0x140352741 lea r8, [rbp+20h+var_60] ; +0x1b7, 0x140352747 movss xmm0, [rbp+20h+var_44] ; +0x1bb, 0x14035274b lea rdx, [rbp+20h+arg_8] ; +0x1c0, 0x140352750 lea rcx, [rsp+120h+var_F0] ; +0x1c4, 0x140352754 movss [rbp+20h+var_54], xmm0 ; +0x1c9, 0x140352759 mov [rbp+20h+var_60], 0 ; +0x1ce, 0x14035275e mov [rbp+20h+var_5C], 0BE4CCCCDh ; +0x1d5, 0x140352765 mov [rbp+20h+var_58], 3E4CCCCDh ; +0x1dc, 0x14035276c call GameToolbox__transformColor ; +0x1e3, 0x140352773 movzx eax, [rsp+120h+var_F0] ; +0x1e8, 0x140352778 mov [rbp+20h+arg_10], ax ; +0x1ed, 0x14035277d movzx eax, [rsp+120h+var_EE] ; +0x1f1, 0x140352781 mov byte ptr [rbp+20h+arg_8], al ; +0x1f6, 0x140352786 mov rcx, [r14+10E0h] ; +0x1f9, 0x140352789 lea rdx, [rsp+120h+var_DC] ; +0x200, 0x140352790 add rcx, 140h ; +0x205, 0x140352795 mov [rsp+120h+var_18], rdi ; +0x20c, 0x14035279c mov rax, [rcx] ; +0x214, 0x1403527a4 call qword ptr [rax] ; +0x217, 0x1403527a7 movzx eax, byte ptr [rbp+20h+arg_0] ; +0x219, 0x1403527a9 mov [rsp+120h+var_EE], al ; +0x21d, 0x1403527ad mov rax, [r14+10F0h] ; +0x221, 0x1403527b1 mov [rsp+120h+var_F0], si ; +0x228, 0x1403527b8 mov rcx, [rax+198h] ; +0x22d, 0x1403527bd mov rax, [rcx] ; +0x234, 0x1403527c4 call qword ptr [rax+1E0h] ; +0x237, 0x1403527c7 xor ebx, ebx ; +0x23d, 0x1403527cd mov rsi, rax ; +0x23f, 0x1403527cf test rax, rax ; +0x242, 0x1403527d2 jz short loc_14035281B ; +0x245, 0x1403527d5 mov rcx, rax ; +0x247, 0x1403527d7 mov edi, ebx ; +0x24a, 0x1403527da call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x24c, 0x1403527dc test eax, eax ; +0x252, 0x1403527e2 jz short loc_14035281B ; +0x254, 0x1403527e4 nop word ptr [rax+rax+00000000h] ; +0x256, 0x1403527e6 mov edx, edi ; +0x260, 0x1403527f0 mov rcx, rsi ; +0x262, 0x1403527f2 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x265, 0x1403527f5 lea rdx, [rsp+120h+var_F0] ; +0x26b, 0x1403527fb lea rcx, [rax+140h] ; +0x270, 0x140352800 mov rax, [rcx] ; +0x277, 0x140352807 call qword ptr [rax] ; +0x27a, 0x14035280a mov rcx, rsi ; +0x27c, 0x14035280c inc edi ; +0x27f, 0x14035280f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x281, 0x140352811 cmp edi, eax ; +0x287, 0x140352817 jb short loc_1403527F0 ; +0x289, 0x140352819 movzx eax, [rbp+20h+arg_18] ; +0x28b, 0x14035281b mov [rsp+120h+var_D0], ax ; +0x28f, 0x14035281f movzx eax, byte ptr [rbp+20h+arg_0] ; +0x294, 0x140352824 mov [rsp+120h+var_CE], al ; +0x298, 0x140352828 mov rax, [r14+10F8h] ; +0x29c, 0x14035282c mov rcx, [rax+198h] ; +0x2a3, 0x140352833 mov rax, [rcx] ; +0x2aa, 0x14035283a call qword ptr [rax+1E0h] ; +0x2ad, 0x14035283d mov rsi, rax ; +0x2b3, 0x140352843 test rax, rax ; +0x2b6, 0x140352846 jz short loc_14035288B ; +0x2b9, 0x140352849 mov rcx, rax ; +0x2bb, 0x14035284b mov edi, ebx ; +0x2be, 0x14035284e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2c0, 0x140352850 test eax, eax ; +0x2c6, 0x140352856 jz short loc_14035288B ; +0x2c8, 0x140352858 nop word ptr [rax+rax+00h] ; +0x2ca, 0x14035285a mov edx, edi ; +0x2d0, 0x140352860 mov rcx, rsi ; +0x2d2, 0x140352862 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x2d5, 0x140352865 lea rdx, [rsp+120h+var_D0] ; +0x2db, 0x14035286b lea rcx, [rax+140h] ; +0x2e0, 0x140352870 mov rax, [rcx] ; +0x2e7, 0x140352877 call qword ptr [rax] ; +0x2ea, 0x14035287a mov rcx, rsi ; +0x2ec, 0x14035287c inc edi ; +0x2ef, 0x14035287f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2f1, 0x140352881 cmp edi, eax ; +0x2f7, 0x140352887 jb short loc_140352860 ; +0x2f9, 0x140352889 movzx eax, [rbp+20h+arg_10] ; +0x2fb, 0x14035288b mov [rsp+120h+var_C0], ax ; +0x2ff, 0x14035288f movzx eax, byte ptr [rbp+20h+arg_8] ; +0x304, 0x140352894 mov [rsp+120h+var_BE], al ; +0x308, 0x140352898 mov rax, [r14+10F0h] ; +0x30c, 0x14035289c mov rcx, [rax+1A0h] ; +0x313, 0x1403528a3 test rcx, rcx ; +0x31a, 0x1403528aa jz short loc_1403528FB ; +0x31d, 0x1403528ad mov rax, [rcx] ; +0x31f, 0x1403528af call qword ptr [rax+1E0h] ; +0x322, 0x1403528b2 mov rsi, rax ; +0x328, 0x1403528b8 test rax, rax ; +0x32b, 0x1403528bb jz short loc_1403528FB ; +0x32e, 0x1403528be mov rcx, rax ; +0x330, 0x1403528c0 mov edi, ebx ; +0x333, 0x1403528c3 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x335, 0x1403528c5 test eax, eax ; +0x33b, 0x1403528cb jz short loc_1403528FB ; +0x33d, 0x1403528cd nop ; +0x33f, 0x1403528cf mov edx, edi ; +0x340, 0x1403528d0 mov rcx, rsi ; +0x342, 0x1403528d2 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x345, 0x1403528d5 lea rdx, [rsp+120h+var_C0] ; +0x34b, 0x1403528db lea rcx, [rax+140h] ; +0x350, 0x1403528e0 mov rax, [rcx] ; +0x357, 0x1403528e7 call qword ptr [rax] ; +0x35a, 0x1403528ea mov rcx, rsi ; +0x35c, 0x1403528ec inc edi ; +0x35f, 0x1403528ef call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x361, 0x1403528f1 cmp edi, eax ; +0x367, 0x1403528f7 jb short loc_1403528D0 ; +0x369, 0x1403528f9 movzx eax, [rbp+20h+arg_10] ; +0x36b, 0x1403528fb mov [rsp+120h+var_B0], ax ; +0x36f, 0x1403528ff movzx eax, byte ptr [rbp+20h+arg_8] ; +0x374, 0x140352904 mov [rsp+120h+var_AE], al ; +0x378, 0x140352908 mov rax, [r14+10F8h] ; +0x37c, 0x14035290c mov rcx, [rax+1A0h] ; +0x383, 0x140352913 test rcx, rcx ; +0x38a, 0x14035291a jz short loc_14035296B ; +0x38d, 0x14035291d mov rax, [rcx] ; +0x38f, 0x14035291f call qword ptr [rax+1E0h] ; +0x392, 0x140352922 mov rsi, rax ; +0x398, 0x140352928 test rax, rax ; +0x39b, 0x14035292b jz short loc_14035296B ; +0x39e, 0x14035292e mov rcx, rax ; +0x3a0, 0x140352930 mov edi, ebx ; +0x3a3, 0x140352933 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3a5, 0x140352935 test eax, eax ; +0x3ab, 0x14035293b jz short loc_14035296B ; +0x3ad, 0x14035293d nop ; +0x3af, 0x14035293f mov edx, edi ; +0x3b0, 0x140352940 mov rcx, rsi ; +0x3b2, 0x140352942 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x3b5, 0x140352945 lea rdx, [rsp+120h+var_B0] ; +0x3bb, 0x14035294b lea rcx, [rax+140h] ; +0x3c0, 0x140352950 mov rax, [rcx] ; +0x3c7, 0x140352957 call qword ptr [rax] ; +0x3ca, 0x14035295a mov rcx, rsi ; +0x3cc, 0x14035295c inc edi ; +0x3cf, 0x14035295f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3d1, 0x140352961 cmp edi, eax ; +0x3d7, 0x140352967 jb short loc_140352940 ; +0x3d9, 0x140352969 mov rcx, r14 ; +0x3db, 0x14035296b call cs:__imp_?visit@CCNode@cocos2d@@UEAAXXZ; cocos2d::CCNode::visit(void) ; +0x3de, 0x14035296e mov rcx, [r14+10E0h] ; +0x3e4, 0x140352974 lea rdx, [rsp+120h+var_100] ; +0x3eb, 0x14035297b add rcx, 140h ; +0x3f0, 0x140352980 mov rax, [rcx] ; +0x3f7, 0x140352987 call qword ptr [rax] ; +0x3fa, 0x14035298a mov rax, [r14+10F0h] ; +0x3fc, 0x14035298c mov [rbp+20h+var_A0], r12w ; +0x403, 0x140352993 mov [rbp+20h+var_9E], r15b ; +0x408, 0x140352998 mov rcx, [rax+198h] ; +0x40c, 0x14035299c mov rax, [rcx] ; +0x413, 0x1403529a3 call qword ptr [rax+1E0h] ; +0x416, 0x1403529a6 mov rsi, rax ; +0x41c, 0x1403529ac test rax, rax ; +0x41f, 0x1403529af jz short loc_1403529ED ; +0x422, 0x1403529b2 mov rcx, rax ; +0x424, 0x1403529b4 mov edi, ebx ; +0x427, 0x1403529b7 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x429, 0x1403529b9 test eax, eax ; +0x42f, 0x1403529bf jz short loc_1403529ED ; +0x431, 0x1403529c1 mov edx, edi ; +0x433, 0x1403529c3 mov rcx, rsi ; +0x435, 0x1403529c5 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x438, 0x1403529c8 lea rdx, [rbp+20h+var_A0] ; +0x43e, 0x1403529ce lea rcx, [rax+140h] ; +0x442, 0x1403529d2 mov rax, [rcx] ; +0x449, 0x1403529d9 call qword ptr [rax] ; +0x44c, 0x1403529dc mov rcx, rsi ; +0x44e, 0x1403529de inc edi ; +0x451, 0x1403529e1 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x453, 0x1403529e3 cmp edi, eax ; +0x459, 0x1403529e9 jb short loc_1403529C3 ; +0x45b, 0x1403529eb mov rax, [r14+10F8h] ; +0x45d, 0x1403529ed mov [rbp+20h+var_90], r12w ; +0x464, 0x1403529f4 mov [rbp+20h+var_8E], r15b ; +0x469, 0x1403529f9 mov rcx, [rax+198h] ; +0x46d, 0x1403529fd mov rax, [rcx] ; +0x474, 0x140352a04 call qword ptr [rax+1E0h] ; +0x477, 0x140352a07 mov r12, [rsp+120h+var_20] ; +0x47d, 0x140352a0d mov rsi, rax ; +0x485, 0x140352a15 test rax, rax ; +0x488, 0x140352a18 jz short loc_140352A5A ; +0x48b, 0x140352a1b mov rcx, rax ; +0x48d, 0x140352a1d mov edi, ebx ; +0x490, 0x140352a20 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x492, 0x140352a22 test eax, eax ; +0x498, 0x140352a28 jz short loc_140352A5A ; +0x49a, 0x140352a2a nop dword ptr [rax+00h] ; +0x49c, 0x140352a2c mov edx, edi ; +0x4a0, 0x140352a30 mov rcx, rsi ; +0x4a2, 0x140352a32 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4a5, 0x140352a35 lea rdx, [rbp+20h+var_90] ; +0x4ab, 0x140352a3b lea rcx, [rax+140h] ; +0x4af, 0x140352a3f mov rax, [rcx] ; +0x4b6, 0x140352a46 call qword ptr [rax] ; +0x4b9, 0x140352a49 mov rcx, rsi ; +0x4bb, 0x140352a4b inc edi ; +0x4be, 0x140352a4e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4c0, 0x140352a50 cmp edi, eax ; +0x4c6, 0x140352a56 jb short loc_140352A30 ; +0x4c8, 0x140352a58 mov rax, [r14+10F0h] ; +0x4ca, 0x140352a5a movzx r15d, [rsp+120h+var_E0] ; +0x4d1, 0x140352a61 mov [rbp+20h+var_80], r15w ; +0x4d7, 0x140352a67 mov [rbp+20h+var_7E], r13b ; +0x4dc, 0x140352a6c mov rcx, [rax+1A0h] ; +0x4e0, 0x140352a70 test rcx, rcx ; +0x4e7, 0x140352a77 jz short loc_140352ACA ; +0x4ea, 0x140352a7a mov rax, [rcx] ; +0x4ec, 0x140352a7c call qword ptr [rax+1E0h] ; +0x4ef, 0x140352a7f mov rsi, rax ; +0x4f5, 0x140352a85 test rax, rax ; +0x4f8, 0x140352a88 jz short loc_140352ACA ; +0x4fb, 0x140352a8b mov rcx, rax ; +0x4fd, 0x140352a8d mov edi, ebx ; +0x500, 0x140352a90 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x502, 0x140352a92 test eax, eax ; +0x508, 0x140352a98 jz short loc_140352ACA ; +0x50a, 0x140352a9a nop dword ptr [rax+00h] ; +0x50c, 0x140352a9c mov edx, edi ; +0x510, 0x140352aa0 mov rcx, rsi ; +0x512, 0x140352aa2 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x515, 0x140352aa5 lea rdx, [rbp+20h+var_80] ; +0x51b, 0x140352aab lea rcx, [rax+140h] ; +0x51f, 0x140352aaf mov rax, [rcx] ; +0x526, 0x140352ab6 call qword ptr [rax] ; +0x529, 0x140352ab9 mov rcx, rsi ; +0x52b, 0x140352abb inc edi ; +0x52e, 0x140352abe call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x530, 0x140352ac0 cmp edi, eax ; +0x536, 0x140352ac6 jb short loc_140352AA0 ; +0x538, 0x140352ac8 mov rax, [r14+10F8h] ; +0x53a, 0x140352aca mov r14, [rsp+120h+var_30] ; +0x541, 0x140352ad1 mov rsi, [rsp+110h] ; +0x549, 0x140352ad9 mov [rbp+20h+var_70], r15w ; +0x551, 0x140352ae1 mov r15, [rsp+120h+var_38] ; +0x556, 0x140352ae6 mov [rbp+20h+var_6E], r13b ; +0x55e, 0x140352aee mov rcx, [rax+1A0h] ; +0x562, 0x140352af2 mov r13, [rsp+120h+var_28] ; +0x569, 0x140352af9 test rcx, rcx ; +0x571, 0x140352b01 jz short loc_140352B4E ; +0x574, 0x140352b04 mov rax, [rcx] ; +0x576, 0x140352b06 call qword ptr [rax+1E0h] ; +0x579, 0x140352b09 mov rdi, rax ; +0x57f, 0x140352b0f test rax, rax ; +0x582, 0x140352b12 jz short loc_140352B4E ; +0x585, 0x140352b15 mov rcx, rax ; +0x587, 0x140352b17 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x58a, 0x140352b1a test eax, eax ; +0x590, 0x140352b20 jz short loc_140352B4E ; +0x592, 0x140352b22 mov edx, ebx ; +0x594, 0x140352b24 mov rcx, rdi ; +0x596, 0x140352b26 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x599, 0x140352b29 lea rdx, [rbp+20h+var_70] ; +0x59f, 0x140352b2f lea rcx, [rax+140h] ; +0x5a3, 0x140352b33 mov rax, [rcx] ; +0x5aa, 0x140352b3a call qword ptr [rax] ; +0x5ad, 0x140352b3d mov rcx, rdi ; +0x5af, 0x140352b3f inc ebx ; +0x5b2, 0x140352b42 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5b4, 0x140352b44 cmp ebx, eax ; +0x5ba, 0x140352b4a jb short loc_140352B24 ; +0x5bc, 0x140352b4c mov rdi, [rsp+120h+var_18] ; +0x5be, 0x140352b4e add rsp, 118h ; +0x5c6, 0x140352b56 pop rbx ; +0x5cd, 0x140352b5d pop rbp ; +0x5ce, 0x140352b5e retn ; +0x5cf, 0x140352b5f