; ; GJBaseGameLayer::damagingObjectsInRect from 0x140318510 to 0x140318c27 (1815 bytes) ; ; 5 xrefs: ; > PlayerObject::spiderTestJumpInternal @ 0x1404f2ac8 ; > @ 0x1408b4ef0 ; > @ 0x1408b4f00 ; > @ 0x1408b4f3c ; > @ 0x14091ea4c ; ; 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:19 +0000 ; mov byte ptr [rsp+arg_10], r8b ; +0x0, 0x140318510 mov [rsp+arg_8], rdx ; +0x5, 0x140318515 push rbx ; +0xa, 0x14031851a push r13 ; +0xb, 0x14031851b push r14 ; +0xd, 0x14031851d sub rsp, 150h ; +0xf, 0x14031851f mov r13, rcx ; +0x16, 0x140318526 movaps [rsp+168h+var_B8], xmm12 ; +0x19, 0x140318529 lea rcx, [rsp+168h+var_110] ; +0x22, 0x140318532 movaps [rsp+168h+var_C8], xmm13 ; +0x27, 0x140318537 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x30, 0x140318540 lea rcx, [rsp+168h+arg_18] ; +0x36, 0x140318546 mov rbx, rax ; +0x3e, 0x14031854e movss xmm2, dword ptr [rax+0Ch] ; +0x41, 0x140318551 movss xmm1, dword ptr [rax+8] ; +0x46, 0x140318556 mulss xmm2, cs:dword_140834F20 ; +0x4b, 0x14031855b mulss xmm1, cs:dword_140834F20 ; +0x53, 0x140318563 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5b, 0x14031856b lea rdx, [rsp+168h+arg_0] ; +0x61, 0x140318571 mov rcx, rbx ; +0x69, 0x140318579 mov r8, rax ; +0x6c, 0x14031857c call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x6f, 0x14031857f movss xmm3, dword ptr [rbx+0Ch] ; +0x75, 0x140318585 lea rdx, [rsp+168h+arg_0]; int ; +0x7a, 0x14031858a movss xmm2, dword ptr [rbx+8] ; +0x82, 0x140318592 xorps xmm13, xmm13 ; +0x87, 0x140318597 mov rcx, [r13+908h]; int ; +0x8b, 0x14031859b movss [rsp+168h+X], xmm13; X ; +0x92, 0x1403185a2 call OBB2D__calculateWithCenter ; +0x99, 0x1403185a9 call cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x9e, 0x1403185ae mov rbx, [rsp+168h+arg_8] ; +0xa4, 0x1403185b4 mov r14, rax ; +0xac, 0x1403185bc movss xmm2, cs:dword_140835C38 ; +0xaf, 0x1403185bf movss xmm1, dword ptr [rbx] ; +0xb7, 0x1403185c7 comiss xmm13, xmm1 ; +0xbb, 0x1403185cb jb short loc_1403185D6 ; +0xbf, 0x1403185cf xorps xmm0, xmm0 ; +0xc1, 0x1403185d1 jmp short loc_1403185EE ; +0xc4, 0x1403185d4 comiss xmm1, xmm2 ; +0xc6, 0x1403185d6 movss xmm0, dword ptr [r13+37A0h] ; +0xc9, 0x1403185d9 jb short loc_1403185EA ; +0xd2, 0x1403185e2 mulss xmm0, xmm2 ; +0xd4, 0x1403185e4 jmp short loc_1403185EE ; +0xd8, 0x1403185e8 mulss xmm0, xmm1 ; +0xda, 0x1403185ea movss xmm12, cs:flt_140835080 ; +0xde, 0x1403185ee mov r8, r13 ; +0xe7, 0x1403185f7 subss xmm0, xmm12 ; +0xea, 0x1403185fa mov edx, 37A0h ; +0xef, 0x1403185ff comiss xmm13, xmm0 ; +0xf4, 0x140318604 jbe short loc_14031860F ; +0xf8, 0x140318608 xorps xmm3, xmm3 ; +0xfa, 0x14031860a jmp short loc_140318634 ; +0xfd, 0x14031860d comiss xmm13, xmm1 ; +0xff, 0x14031860f jb short loc_14031861A ; +0x103, 0x140318613 xorps xmm3, xmm3 ; +0x105, 0x140318615 jmp short loc_14031862F ; +0x108, 0x140318618 comiss xmm1, xmm2 ; +0x10a, 0x14031861a movss xmm3, dword ptr [rdx+r8] ; +0x10d, 0x14031861d jb short loc_14031862B ; +0x113, 0x140318623 mulss xmm3, xmm2 ; +0x115, 0x140318625 jmp short loc_14031862F ; +0x119, 0x140318629 mulss xmm3, xmm1 ; +0x11b, 0x14031862b subss xmm3, xmm12 ; +0x11f, 0x14031862f addss xmm1, dword ptr [rbx+8] ; +0x124, 0x140318634 comiss xmm13, xmm1 ; +0x129, 0x140318639 jb short loc_140318644 ; +0x12d, 0x14031863d xorps xmm4, xmm4 ; +0x12f, 0x14031863f jmp short loc_140318659 ; +0x132, 0x140318642 comiss xmm1, xmm2 ; +0x134, 0x140318644 movss xmm4, dword ptr [rdx+r8] ; +0x137, 0x140318647 jb short loc_140318655 ; +0x13d, 0x14031864d mulss xmm4, xmm2 ; +0x13f, 0x14031864f jmp short loc_140318659 ; +0x143, 0x140318653 mulss xmm4, xmm1 ; +0x145, 0x140318655 mov r10, [r13+36B8h] ; +0x149, 0x140318659 xorps xmm0, xmm0 ; +0x150, 0x140318660 mov r9, [r13+36B0h] ; +0x153, 0x140318663 mov rcx, r10 ; +0x15a, 0x14031866a sub rcx, r9 ; +0x15d, 0x14031866d sar rcx, 3 ; +0x160, 0x140318670 sub rcx, 1 ; +0x164, 0x140318674 js short loc_140318681 ; +0x168, 0x140318678 cvtsi2ss xmm0, rcx ; +0x16a, 0x14031867a jmp short loc_140318696 ; +0x16f, 0x14031867f mov rax, rcx ; +0x171, 0x140318681 and ecx, 1 ; +0x174, 0x140318684 shr rax, 1 ; +0x177, 0x140318687 or rax, rcx ; +0x17a, 0x14031868a cvtsi2ss xmm0, rax ; +0x17d, 0x14031868d addss xmm0, xmm0 ; +0x182, 0x140318692 addss xmm4, xmm12 ; +0x186, 0x140318696 comiss xmm0, xmm4 ; +0x18b, 0x14031869b jbe short loc_1403186C5 ; +0x18e, 0x14031869e comiss xmm13, xmm1 ; +0x190, 0x1403186a0 jb short loc_1403186AB ; +0x194, 0x1403186a4 xorps xmm0, xmm0 ; +0x196, 0x1403186a6 jmp short loc_1403186C0 ; +0x199, 0x1403186a9 comiss xmm1, xmm2 ; +0x19b, 0x1403186ab movss xmm0, dword ptr [rdx+r8] ; +0x19e, 0x1403186ae jb short loc_1403186BC ; +0x1a4, 0x1403186b4 mulss xmm0, xmm2 ; +0x1a6, 0x1403186b6 jmp short loc_1403186C0 ; +0x1aa, 0x1403186ba mulss xmm0, xmm1 ; +0x1ac, 0x1403186bc addss xmm0, xmm12 ; +0x1b0, 0x1403186c0 movss xmm1, dword ptr [rbx+4] ; +0x1b5, 0x1403186c5 comiss xmm13, xmm1 ; +0x1ba, 0x1403186ca cvttss2si r8d, xmm0 ; +0x1be, 0x1403186ce jb short loc_1403186DA ; +0x1c3, 0x1403186d3 xorps xmm0, xmm0 ; +0x1c5, 0x1403186d5 jmp short loc_1403186F2 ; +0x1c8, 0x1403186d8 comiss xmm1, xmm2 ; +0x1ca, 0x1403186da movss xmm0, dword ptr [r13+37A4h] ; +0x1cd, 0x1403186dd jb short loc_1403186EE ; +0x1d6, 0x1403186e6 mulss xmm0, xmm2 ; +0x1d8, 0x1403186e8 jmp short loc_1403186F2 ; +0x1dc, 0x1403186ec mulss xmm0, xmm1 ; +0x1de, 0x1403186ee subss xmm0, xmm12 ; +0x1e2, 0x1403186f2 mov rcx, r13 ; +0x1e7, 0x1403186f7 mov eax, 37A4h ; +0x1ea, 0x1403186fa comiss xmm13, xmm0 ; +0x1ef, 0x1403186ff jbe short loc_14031870A ; +0x1f3, 0x140318703 xorps xmm0, xmm0 ; +0x1f5, 0x140318705 jmp short loc_14031872E ; +0x1f8, 0x140318708 comiss xmm13, xmm1 ; +0x1fa, 0x14031870a jb short loc_140318715 ; +0x1fe, 0x14031870e xorps xmm0, xmm0 ; +0x200, 0x140318710 jmp short loc_140318729 ; +0x203, 0x140318713 comiss xmm1, xmm2 ; +0x205, 0x140318715 movss xmm0, dword ptr [rcx+rax] ; +0x208, 0x140318718 jb short loc_140318725 ; +0x20d, 0x14031871d mulss xmm0, xmm2 ; +0x20f, 0x14031871f jmp short loc_140318729 ; +0x213, 0x140318723 mulss xmm0, xmm1 ; +0x215, 0x140318725 subss xmm0, xmm12 ; +0x219, 0x140318729 addss xmm1, dword ptr [rbx+0Ch] ; +0x21e, 0x14031872e cvttss2si edx, xmm0 ; +0x223, 0x140318733 comiss xmm13, xmm1 ; +0x227, 0x140318737 jb short loc_140318742 ; +0x22b, 0x14031873b xorps xmm0, xmm0 ; +0x22d, 0x14031873d jmp short loc_140318756 ; +0x230, 0x140318740 comiss xmm1, xmm2 ; +0x232, 0x140318742 movss xmm0, dword ptr [rcx+rax] ; +0x235, 0x140318745 jb short loc_140318752 ; +0x23a, 0x14031874a mulss xmm0, xmm2 ; +0x23c, 0x14031874c jmp short loc_140318756 ; +0x240, 0x140318750 mulss xmm0, xmm1 ; +0x242, 0x140318752 addss xmm0, xmm12 ; +0x246, 0x140318756 cvttss2si ecx, xmm0 ; +0x24b, 0x14031875b mov [rsp+168h+arg_10], ecx ; +0x24f, 0x14031875f cmp r9, r10 ; +0x256, 0x140318766 jz loc_140318B99 ; +0x259, 0x140318769 cvttss2si eax, xmm3 ; +0x25f, 0x14031876f movsxd r9, eax ; +0x263, 0x140318773 movsxd rax, r8d ; +0x266, 0x140318776 mov [rsp+168h+var_138], r9 ; +0x269, 0x140318779 mov [rsp+168h+var_118], rax ; +0x26e, 0x14031877e cmp r9, rax ; +0x273, 0x140318783 jg loc_140318B99 ; +0x276, 0x140318786 mov [rsp+168h+var_20], rbp ; +0x27c, 0x14031878c mov [rsp+168h+var_28], rsi ; +0x284, 0x140318794 mov [rsp+168h+var_30], rdi ; +0x28c, 0x14031879c mov [rsp+168h+var_38], r12 ; +0x294, 0x1403187a4 mov [rsp+168h+var_40], r15 ; +0x29c, 0x1403187ac movaps [rsp+168h+var_58], xmm6 ; +0x2a4, 0x1403187b4 movaps [rsp+168h+var_68], xmm7 ; +0x2ac, 0x1403187bc movaps [rsp+168h+var_78], xmm8 ; +0x2b4, 0x1403187c4 movaps [rsp+168h+var_88], xmm9 ; +0x2bd, 0x1403187cd movaps [rsp+168h+var_98], xmm10 ; +0x2c6, 0x1403187d6 movsxd r8, edx ; +0x2cf, 0x1403187df movaps [rsp+168h+var_A8], xmm11 ; +0x2d2, 0x1403187e2 movdqa xmm11, cs:xmmword_140836C90 ; +0x2db, 0x1403187eb mov [rsp+168h+var_120], r8 ; +0x2e4, 0x1403187f4 nop dword ptr [rax+00000000h] ; +0x2e9, 0x1403187f9 mov rax, [r13+36B0h] ; +0x2f0, 0x140318800 mov rdx, [rax+r9*8] ; +0x2f7, 0x140318807 test rdx, rdx ; +0x2fb, 0x14031880b jz short loc_140318829 ; +0x2fe, 0x14031880e mov rax, [rdx+8] ; +0x300, 0x140318810 sub rax, [rdx] ; +0x304, 0x140318814 sar rax, 3 ; +0x307, 0x140318817 dec rax ; +0x30b, 0x14031881b movsxd rcx, ecx ; +0x30e, 0x14031881e cmp rcx, rax ; +0x311, 0x140318821 cmovnb ecx, eax ; +0x314, 0x140318824 jmp short loc_14031882E ; +0x317, 0x140318827 mov ecx, 0FFFFFFFFh ; +0x319, 0x140318829 movsxd rax, ecx ; +0x31e, 0x14031882e mov rdx, r8 ; +0x321, 0x140318831 mov [rsp+168h+arg_18], rdx ; +0x324, 0x140318834 mov [rsp+168h+var_128], rax ; +0x32c, 0x14031883c cmp r8, rax ; +0x331, 0x140318841 jg loc_140318B23 ; +0x334, 0x140318844 nop word ptr [rax+rax+00h] ; +0x33a, 0x14031884a mov rax, [r13+36B0h] ; +0x340, 0x140318850 mov rcx, [rax+r9*8] ; +0x347, 0x140318857 mov rax, [rcx] ; +0x34b, 0x14031885b mov r12, [rax+rdx*8] ; +0x34e, 0x14031885e test r12, r12 ; +0x352, 0x140318862 jz loc_140318B08 ; +0x355, 0x140318865 mov rax, [r13+3758h] ; +0x35b, 0x14031886b xor ebp, ebp ; +0x362, 0x140318872 mov rcx, [rax+r9*8] ; +0x364, 0x140318874 mov rax, [rcx] ; +0x368, 0x140318878 movsxd r15, dword ptr [rax+rdx*4] ; +0x36b, 0x14031887b test r15, r15 ; +0x36f, 0x14031887f jle loc_140318B08 ; +0x372, 0x140318882 nop dword ptr [rax+rax+00000000h] ; +0x378, 0x140318888 mov rax, [r12] ; +0x380, 0x140318890 mov rdi, [rax+rbp*8] ; +0x384, 0x140318894 mov rcx, rdi ; +0x388, 0x140318898 mov rax, [rdi] ; +0x38b, 0x14031889b call qword ptr [rax+670h] ; +0x38e, 0x14031889e cmp eax, 2 ; +0x394, 0x1403188a4 jz short loc_1403188BE ; +0x397, 0x1403188a7 mov rax, [rdi] ; +0x399, 0x1403188a9 mov rcx, rdi ; +0x39c, 0x1403188ac call qword ptr [rax+670h] ; +0x39f, 0x1403188af cmp eax, 2Fh ; '/' ; +0x3a5, 0x1403188b5 jnz loc_140318AEF ; +0x3a8, 0x1403188b8 cmp byte ptr [rdi+305h], 0 ; +0x3ae, 0x1403188be jnz short loc_1403188D4 ; +0x3b5, 0x1403188c5 cmp byte ptr [rdi+28Eh], 0 ; +0x3b7, 0x1403188c7 jnz loc_140318AEF ; +0x3be, 0x1403188ce mov rax, [rdi] ; +0x3c4, 0x1403188d4 mov rcx, rdi ; +0x3c7, 0x1403188d7 call qword ptr [rax+4A0h] ; +0x3ca, 0x1403188da mov rdx, rax ; +0x3d0, 0x1403188e0 lea rcx, [rsp+168h+var_110] ; +0x3d3, 0x1403188e3 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x3d8, 0x1403188e8 movss xmm6, dword ptr [rdi+38Ch] ; +0x3de, 0x1403188ee comiss xmm6, xmm13 ; +0x3e6, 0x1403188f6 jbe loc_140318BBB ; +0x3ea, 0x1403188fa movss xmm1, dword ptr [rdi+488h] ; +0x3f0, 0x140318900 ucomiss xmm1, xmm12 ; +0x3f8, 0x140318908 jp short loc_140318920 ; +0x3fc, 0x14031890c jnz short loc_140318920 ; +0x3fe, 0x14031890e movss xmm0, dword ptr [rdi+48Ch] ; +0x400, 0x140318910 ucomiss xmm0, xmm12 ; +0x408, 0x140318918 jp short loc_140318920 ; +0x40c, 0x14031891c jz short loc_14031892F ; +0x40e, 0x14031891e maxss xmm1, dword ptr [rdi+48Ch] ; +0x410, 0x140318920 mulss xmm1, xmm6 ; +0x418, 0x140318928 movaps xmm6, xmm1 ; +0x41c, 0x14031892c mov rax, [rdi] ; +0x41f, 0x14031892f lea rdx, [rsp+168h+var_130] ; +0x422, 0x140318932 mov rcx, rdi ; +0x427, 0x140318937 call qword ptr [rax+4B8h] ; +0x42a, 0x14031893a lea rdx, [rsp+168h+var_130] ; +0x430, 0x140318940 lea rcx, [rsp+168h+var_100] ; +0x435, 0x140318945 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x43a, 0x14031894a mov rdx, rbx ; +0x440, 0x140318950 lea rcx, [rsp+168h+var_D8] ; +0x443, 0x140318953 mov rsi, rax ; +0x44b, 0x14031895b call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x44e, 0x14031895e mov rcx, rax ; +0x454, 0x140318964 mov rbx, rax ; +0x457, 0x140318967 call cs:?getMaxX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxX(void) ; +0x45a, 0x14031896a mov rcx, rbx ; +0x460, 0x140318970 movaps xmm7, xmm0 ; +0x463, 0x140318973 call cs:?getMinX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinX(void) ; +0x466, 0x140318976 mov rcx, rbx ; +0x46c, 0x14031897c movaps xmm8, xmm0 ; +0x46f, 0x14031897f call cs:?getMaxY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxY(void) ; +0x473, 0x140318983 mov rcx, rbx ; +0x479, 0x140318989 movaps xmm10, xmm0 ; +0x47c, 0x14031898c call cs:?getMinY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinY(void) ; +0x480, 0x140318990 mov rdx, rsi ; +0x486, 0x140318996 mov rcx, rbx ; +0x489, 0x140318999 movaps xmm9, xmm0 ; +0x48c, 0x14031899c call cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0x490, 0x1403189a0 test al, al ; +0x496, 0x1403189a6 jnz loc_140318ADB ; +0x498, 0x1403189a8 movaps xmm2, xmm10 ; +0x49e, 0x1403189ae lea rcx, [rsp+168h+var_F8] ; +0x4a2, 0x1403189b2 movaps xmm1, xmm7 ; +0x4a7, 0x1403189b7 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4aa, 0x1403189ba mov rcx, rax ; +0x4b0, 0x1403189c0 mov rdx, rsi ; +0x4b3, 0x1403189c3 call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x4b6, 0x1403189c6 andps xmm0, xmm11 ; +0x4bc, 0x1403189cc comiss xmm6, xmm0 ; +0x4c0, 0x1403189d0 ja loc_140318ADB ; +0x4c3, 0x1403189d3 movaps xmm2, xmm9 ; +0x4c9, 0x1403189d9 lea rcx, [rsp+168h+var_F0] ; +0x4cd, 0x1403189dd movaps xmm1, xmm7 ; +0x4d2, 0x1403189e2 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4d5, 0x1403189e5 mov rcx, rax ; +0x4db, 0x1403189eb mov rdx, rsi ; +0x4de, 0x1403189ee call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x4e1, 0x1403189f1 andps xmm0, xmm11 ; +0x4e7, 0x1403189f7 comiss xmm6, xmm0 ; +0x4eb, 0x1403189fb ja loc_140318ADB ; +0x4ee, 0x1403189fe movaps xmm2, xmm9 ; +0x4f4, 0x140318a04 lea rcx, [rsp+168h+var_E8] ; +0x4f8, 0x140318a08 movaps xmm1, xmm8 ; +0x500, 0x140318a10 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x504, 0x140318a14 mov rcx, rax ; +0x50a, 0x140318a1a mov rdx, rsi ; +0x50d, 0x140318a1d call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x510, 0x140318a20 andps xmm0, xmm11 ; +0x516, 0x140318a26 comiss xmm6, xmm0 ; +0x51a, 0x140318a2a ja loc_140318ADB ; +0x51d, 0x140318a2d movaps xmm2, xmm10 ; +0x523, 0x140318a33 lea rcx, [rsp+168h+var_E0] ; +0x527, 0x140318a37 movaps xmm1, xmm8 ; +0x52f, 0x140318a3f call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x533, 0x140318a43 mov rcx, rax ; +0x539, 0x140318a49 mov rdx, rsi ; +0x53c, 0x140318a4c call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x53f, 0x140318a4f andps xmm0, xmm11 ; +0x545, 0x140318a55 comiss xmm6, xmm0 ; +0x549, 0x140318a59 ja short loc_140318ADB ; +0x54c, 0x140318a5c mov rdx, rsi ; +0x54e, 0x140318a5e lea rcx, [rsp+168h+arg_0] ; +0x551, 0x140318a61 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x559, 0x140318a69 movss xmm0, [rsp+168h+arg_0] ; +0x55f, 0x140318a6f comiss xmm0, xmm7 ; +0x568, 0x140318a78 jbe short loc_140318A89 ; +0x56b, 0x140318a7b movss [rsp+168h+arg_0], xmm7 ; +0x56d, 0x140318a7d movaps xmm0, xmm7 ; +0x576, 0x140318a86 comiss xmm8, xmm0 ; +0x579, 0x140318a89 jbe short loc_140318A99 ; +0x57d, 0x140318a8d movss [rsp+168h+arg_0], xmm8 ; +0x57f, 0x140318a8f movss xmm0, [rsp+168h+arg_4] ; +0x589, 0x140318a99 comiss xmm9, xmm0 ; +0x592, 0x140318aa2 jbe short loc_140318AB5 ; +0x596, 0x140318aa6 movaps xmm0, xmm9 ; +0x598, 0x140318aa8 movss [rsp+168h+arg_4], xmm0 ; +0x59c, 0x140318aac comiss xmm0, xmm10 ; +0x5a5, 0x140318ab5 jbe short loc_140318AC5 ; +0x5a9, 0x140318ab9 movss [rsp+168h+arg_4], xmm10 ; +0x5ab, 0x140318abb mov rdx, rsi ; +0x5b5, 0x140318ac5 lea rcx, [rsp+168h+arg_0] ; +0x5b8, 0x140318ac8 call cs:?ccpDistance@cocos2d@@YAMAEBVCCPoint@1@0@Z; cocos2d::ccpDistance(cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x5c0, 0x140318ad0 comiss xmm6, xmm0 ; +0x5c6, 0x140318ad6 jbe short loc_140318AE7 ; +0x5c9, 0x140318ad9 mov rdx, rdi ; +0x5cb, 0x140318adb mov rcx, r14 ; +0x5ce, 0x140318ade call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x5d1, 0x140318ae1 mov rbx, [rsp+168h+arg_8] ; +0x5d7, 0x140318ae7 inc rbp ; +0x5df, 0x140318aef cmp rbp, r15 ; +0x5e2, 0x140318af2 jl loc_140318890 ; +0x5e5, 0x140318af5 mov rdx, [rsp+168h+arg_18] ; +0x5eb, 0x140318afb mov r9, [rsp+168h+var_138] ; +0x5f3, 0x140318b03 inc rdx ; +0x5f8, 0x140318b08 mov [rsp+168h+arg_18], rdx ; +0x5fb, 0x140318b0b cmp rdx, [rsp+168h+var_128] ; +0x603, 0x140318b13 jle loc_140318850 ; +0x608, 0x140318b18 mov r8, [rsp+168h+var_120] ; +0x60e, 0x140318b1e mov ecx, [rsp+168h+arg_10] ; +0x613, 0x140318b23 inc r9 ; +0x61a, 0x140318b2a mov [rsp+168h+var_138], r9 ; +0x61d, 0x140318b2d cmp r9, [rsp+168h+var_118] ; +0x622, 0x140318b32 jle loc_140318800 ; +0x627, 0x140318b37 movaps xmm11, [rsp+168h+var_A8] ; +0x62d, 0x140318b3d movaps xmm10, [rsp+168h+var_98] ; +0x636, 0x140318b46 movaps xmm9, [rsp+168h+var_88] ; +0x63f, 0x140318b4f movaps xmm8, [rsp+168h+var_78] ; +0x648, 0x140318b58 movaps xmm7, [rsp+168h+var_68] ; +0x651, 0x140318b61 movaps xmm6, [rsp+168h+var_58] ; +0x659, 0x140318b69 mov r15, [rsp+168h+var_40] ; +0x661, 0x140318b71 mov r12, [rsp+168h+var_38] ; +0x669, 0x140318b79 mov rdi, [rsp+168h+var_30] ; +0x671, 0x140318b81 mov rsi, [rsp+168h+var_28] ; +0x679, 0x140318b89 mov rbp, [rsp+168h+var_20] ; +0x681, 0x140318b91 movaps xmm12, [rsp+168h+var_B8] ; +0x689, 0x140318b99 mov rax, r14 ; +0x692, 0x140318ba2 movaps xmm13, [rsp+168h+var_C8] ; +0x695, 0x140318ba5 add rsp, 150h ; +0x69e, 0x140318bae pop r14 ; +0x6a5, 0x140318bb5 pop r13 ; +0x6a7, 0x140318bb7 pop rbx ; +0x6a9, 0x140318bb9 retn ; +0x6aa, 0x140318bba lea rdx, [rsp+168h+var_110] ; +0x6ab, 0x140318bbb mov rcx, rbx ; +0x6b0, 0x140318bc0 call cs:?intersectsRect@CCRect@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCRect::intersectsRect(cocos2d::CCRect const &) ; +0x6b3, 0x140318bc3 test al, al ; +0x6b9, 0x140318bc9 jz loc_140318AEF ; +0x6bb, 0x140318bcb cmp byte ptr [rdi+2E8h], 0 ; +0x6c1, 0x140318bd1 jz short loc_140318C16 ; +0x6c8, 0x140318bd8 mov rax, [rdi] ; +0x6ca, 0x140318bda mov rcx, rdi ; +0x6cd, 0x140318bdd call qword ptr [rax+580h] ; +0x6d0, 0x140318be0 mov r9, [r13+908h] ; +0x6d6, 0x140318be6 mov rcx, rax ; +0x6dd, 0x140318bed mov rdx, r9 ; +0x6e0, 0x140318bf0 mov r8, rax ; +0x6e3, 0x140318bf3 call OBB2D__overlaps1Way ; +0x6e6, 0x140318bf6 test al, al ; +0x6eb, 0x140318bfb jz loc_140318AEF ; +0x6ed, 0x140318bfd mov rdx, r8 ; +0x6f3, 0x140318c03 mov rcx, r9 ; +0x6f6, 0x140318c06 call OBB2D__overlaps1Way ; +0x6f9, 0x140318c09 test al, al ; +0x6fe, 0x140318c0e jz loc_140318AEF ; +0x700, 0x140318c10 mov rdx, rdi ; +0x706, 0x140318c16 mov rcx, r14 ; +0x709, 0x140318c19 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x70c, 0x140318c1c jmp loc_140318AEF ; +0x712, 0x140318c22