Function at 0x482719
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e025
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x5e0ce8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov edi, dword [0x7bcf20]
mov dword [ebp - 0x3c], edi
cmp dword [edi + 0x5f2cc], 0
jne 0x483787
mov ecx, dword [edi + 0x5ff68]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x4822d2
cmp dword [ecx + 0x534], 2
jne 0x481edd
mov eax, dword [edi + 0x5f31c]
cmp eax, 1
jne 0x481eca
cmp dword [edi + 0x5f318], 9
je 0x481ed7
test eax, eax
jne 0x481edd
cmp dword [edi + 0x5f318], 9
jne 0x481edd
mov byte [ebp - 0x35], 1
jmp 0x481ee2
xor al, al
mov byte [ebp - 0x35], al
mov eax, dword [ecx]
mov eax, dword [eax + 0xb8]
call eax
test al, al
je 0x4822d2
mov ecx, dword [ebp - 0x44]
mov al, byte [ebp - 0x35]
cmp dword [ecx + 0x534], 1
je 0x481f0d
test al, al
je 0x4822d2
jmp 0x481f15
test al, al
je 0x4820e1
cmp byte [ecx + 0x528], 0
jne 0x482022
push 0
call fcn.0040aac0
mov ecx, dword [ebp - 0x44]
test al, al
je 0x481f8a
mov eax, dword [0x7bceec]
mov byte [ecx + 0x528], 1
test eax, eax
jne 0x481f4a
call fcn.0040c5a0
mov dword [0x7bceec], eax
mov esi, eax
test esi, esi
jne 0x481f5a
call fcn.0040c5a0
mov dword [0x7bceec], eax
cmp dword [eax + 0x484], 0xb
jne 0x4822d2
mov dword [esi + 0x48c], 0x3f000000
mov dword [esi + 0x484], 0xc
mov dword [esi + 0x478], 0
jmp 0x4822d2
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
movss xmm2, dword [eax]
movss dword [ebp - 0x50], xmm2
movss xmm1, dword [eax + 4]
mov eax, dword [0x7bcf20]
movss dword [ebp - 0x4c], xmm1
mov ecx, dword [eax + 0x5f31c]
cmp ecx, 1
je 0x481fb8
test ecx, ecx
jne 0x481fc5
cmp dword [eax + 0x5f318], 9
jne 0x481fc5
mov cl, 1
jmp 0x481fc7
xor cl, cl
test cl, cl
mov edx, 0x20
mov ecx, dword [esi + 0x124]
mov eax, 2
cmove eax, edx
lea edx, [ebp - 0x50]
push edx
movd xmm0, eax
mov eax, dword [esi + 0x118]
cvtdq2ps xmm0, xmm0
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x11c]
mov dword [esi + 0x114], eax
movss dword [esi + 0x118], xmm2
subss xmm1, xmm0
movss dword [ebp - 0x4c], xmm1
movss dword [esi + 0x11c], xmm1
mov eax, dword [ecx]
call dword [eax + 0x4c]
jmp 0x4822d2
test al, al
je 0x4820e1
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
movss xmm2, dword [eax]
movss dword [ebp - 0x50], xmm2
movss xmm1, dword [eax + 4]
mov eax, dword [0x7bcf20]
movss dword [ebp - 0x4c], xmm1
mov ecx, dword [eax + 0x5f31c]
cmp ecx, 1
je 0x482058
test ecx, ecx
jne 0x482065
cmp dword [eax + 0x5f318], 9
jne 0x482065
mov cl, 1
jmp 0x482067
xor cl, cl
test cl, cl
mov edx, 0x20
mov ecx, dword [esi + 0x124]
mov eax, 2
cmove eax, edx
lea edx, [ebp - 0x50]
push edx
movd xmm0, eax
mov eax, dword [esi + 0x118]
cvtdq2ps xmm0, xmm0
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x11c]
mov dword [esi + 0x114], eax
movss dword [esi + 0x118], xmm2
subss xmm1, xmm0
movss dword [ebp - 0x4c], xmm1
movss dword [esi + 0x11c], xmm1
mov eax, dword [ecx]
call dword [eax + 0x4c]
movss xmm0, dword [ebp - 0x50]
comiss xmm0, dword [0x5ba29c]
mov ecx, dword [esi + 0x124]
seta al
movzx eax, al
push eax
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Sprite::setFlippedX_bool_]
jmp 0x4822d2
mov eax, dword [ecx]
mov edx, dword [eax + 0x320]
cvttss2si eax, dword [esi + 0x11c]
push eax
cvttss2si eax, dword [esi + 0x118]
push eax
call edx
test al, al
je 0x4822d2
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
mov dword [ecx + 0x534], 2
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [0x7bcf20]
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ecx + 0x5f31c]
cmp eax, 1
je 0x482137
test eax, eax
jne 0x482144
cmp dword [ecx + 0x5f318], 9
jne 0x482144
mov dl, 1
jmp 0x482146
xor dl, dl
test dl, dl
mov dword [ebp - 0x30], 0x20
mov edx, dword [esi + 0x124]
mov eax, 2
cmove eax, dword [ebp - 0x30]
movss dword [ebp - 0x50], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ebp - 0x4c], xmm1
test edx, edx
je 0x482188
mov eax, dword [edx]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, edx
call dword [eax + 0x4c]
mov ecx, dword [0x7bcf20]
mov eax, dword [edi + 0x5f31c]
cmp eax, 1
jne 0x48219c
cmp dword [edi + 0x5f318], 9
je 0x4821b1
test eax, eax
jne 0x482231
cmp dword [edi + 0x5f318], 9
jne 0x482231
mov eax, dword [0x7bceec]
test eax, eax
jne 0x4821ca
call fcn.0040c5a0
mov ecx, dword [0x7bcf20]
mov dword [0x7bceec], eax
mov edx, dword [eax + 0x4ac]
mov eax, dword [edi + 0x2604]
mov esi, dword [ecx + 0x5f31c]
movss xmm1, dword [eax + edx*8]
cmp esi, 1
je 0x4821ea
test esi, esi
jne 0x4821f7
cmp dword [ecx + 0x5f318], 9
mov byte [ebp - 0x35], 1
je 0x4821fb
mov byte [ebp - 0x35], 0
cmp byte [ebp - 0x35], 0
mov ecx, 8
mov esi, 0x26
cmove ecx, esi
movd xmm0, ecx
mov ecx, dword [ebp - 0x44]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [eax + edx*8 + 4]
movss dword [ecx + 0x560], xmm1
movss dword [ecx + 0x564], xmm0
jmp 0x4822d2
mov ecx, esi
call fcn.004842b0
mov ecx, dword [esi + 0x124]
xorps xmm0, xmm0
mov eax, dword [ecx]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x2c], 0x30656f4a
mov dword [ebp - 0x28], 0x676e702e
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 0
push edx
call dword [eax + 0x2bc]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4822b5
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4822ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4822ab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00575660
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [esi + 0x1c0], 0
mov dword [edi + 0x5f2cc], 5
mov dword [esi + 0x1b4], ecx
mov ecx, dword [edi + 0x5f2c0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
push eax
lea ecx, [ebp - 0x6c]
call fcn.00403f00
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x68]
mov eax, esi
mov ecx, dword [ebp - 0x6c]
sub eax, ecx
mov dword [ebp - 0x44], ecx
cmp eax, 4
jl 0x483749
mov dword [ebp - 0x74], 0
call fcn.00402050
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x68]
mov dword [ebp - 0x44], ecx
cmp ecx, esi
je 0x483749
nop dword [eax]
push 0
push 0x5e2a18
push 0x5e29a4
push 0
push dword [ecx]
call sub.VCRUNTIME140.dll___RTDynamicCast
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x40], esi
test esi, esi
je 0x48368d
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x158]
call edx
cmp eax, 0xfffffc19
je 0x48368d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x158]
call eax
cmp eax, 0x4e84
jge 0x48368d
mov eax, dword [esi + 0x514]
test eax, eax
je 0x482394
dec eax
mov dword [esi + 0x514], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [esi]
movss xmm0, dword [ecx + 0x11c]
addss xmm0, dword [0x5ba154]
mov edx, dword [eax + 0x320]
cvttss2si eax, xmm0
push eax
cvttss2si eax, dword [ecx + 0x118]
mov ecx, esi
push eax
call edx
test al, al
je 0x48368d
cmp dword [esi + 0x520], 0
mov edx, str.uninitted_Item_error
push 0x24
push str.C:Users_robjdevMonte_Git3ClassesItem.h
push str.m_type___kItemUnknown
setne cl
call fcn.00431dd0
mov edx, dword [ebp - 0x34]
add esp, 0xc
mov esi, dword [esi + 0x520]
mov dword [ebp - 0x5c], esi
mov ecx, dword [edx + 0x1b8]
cmp ecx, 5
setl al
cmp esi, 0x83
je 0x482416
cmp esi, 1
je 0x482416
cmp esi, 0x42
jne 0x482418
mov al, 1
test esi, esi
je 0x48246c
cmp esi, 1
je 0x48246c
cmp esi, 2
je 0x48246c
cmp esi, 3
je 0x48246c
cmp esi, 4
je 0x48246c
cmp esi, 0x85
je 0x48246c
cmp esi, 0x84
je 0x48246c
cmp esi, 0x86
je 0x48246c
cmp esi, 0x87
je 0x48246c
cmp esi, 0x83
je 0x48246c
cmp esi, 0x89
je 0x48246c
cmp esi, 0x8a
jne 0x482c64
test al, al
je 0x482c64
lea eax, [esi - 1]
cmp eax, 0x89
ja case.0x482489.5
movzx eax, byte [eax + 0x4837c8]
jmp dword [eax*4 + 0x4837a8]
call fcn.00442e90
mov edi, eax
call fcn.00401720
mov esi, 0x69
cmp byte [eax + 0x1d214c], 0
mov eax, 5
cmovne esi, eax
mov eax, dword [esi*4 + 0x7bd2e8]
test eax, eax
je 0x4824d0
push eax
call dword [sym.imp.libcocos2d.dll_public:_static_void___cdecl_cocos2d::experimental::AudioEngine::stop_int_]
add esp, 4
mov dword [esi*4 + 0x7bd2e8], 0
push ecx
push esi
mov ecx, edi
call fcn.00443300
mov eax, dword [ebp - 0x3c]
sub esp, 8
mov ecx, dword [ebp - 0x40]
movss xmm0, dword [eax + 0x60094]
divss xmm0, dword [0x5ba264]
mov edi, dword [ecx + 0x4f8]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov eax, dword [ebp - 0x3c]
fstp dword [ebp - 0x30]
cvttss2si esi, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x60098]
divss xmm0, dword [0x5ba238]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x30]
cvttss2si eax, dword [ebp - 0x30]
xor edx, edx
xor ecx, ecx
bts edx, edi
add esp, 8
cmp edi, 0x20
cmovae ecx, edx
xor edx, ecx
cmp edi, 0x40
mov edi, dword [ebp - 0x3c]
cmovae ecx, edx
push 1
lea eax, [eax + eax*8]
lea esi, [esi + eax*2]
or dword [edi + esi*8 + 0x60424], ecx
mov ecx, edi
or dword [edi + esi*8 + 0x60420], edx
mov esi, dword [ebp - 0x40]
push esi
call fcn.004679a0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x138]
push 0x9c4
mov ecx, edi
call fcn.00461e20
push dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x34]
call fcn.00487f80
jmp 0x48368d
test byte [edx + 0x10c], 6
je case.0x482489.5
call fcn.00442e90
mov edi, eax
call fcn.00401720
mov esi, 0x69
cmp byte [eax + 0x1d214c], 0
mov eax, 5
cmovne esi, eax
mov eax, dword [esi*4 + 0x7bd2e8]
test eax, eax
je 0x4825ec
push eax
call dword [sym.imp.libcocos2d.dll_public:_static_void___cdecl_cocos2d::experimental::AudioEngine::stop_int_]
add esp, 4
mov dword [esi*4 + 0x7bd2e8], 0
push ecx
push esi
mov ecx, edi
call fcn.00443300
mov eax, dword [ebp - 0x3c]
sub esp, 8
mov ecx, dword [ebp - 0x40]
movss xmm0, dword [eax + 0x60094]
divss xmm0, dword [0x5ba264]
mov edi, dword [ecx + 0x4f8]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov eax, dword [ebp - 0x3c]
fstp dword [ebp - 0x30]
cvttss2si esi, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x60098]
divss xmm0, dword [0x5ba238]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x30]
cvttss2si eax, dword [ebp - 0x30]
xor ecx, ecx
add esp, 8
push 1
lea eax, [eax + eax*8]
lea edx, [esi + eax*2]
mov esi, dword [ebp - 0x40]
xor eax, eax
bts eax, edi
cmp edi, 0x20
push esi
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
mov edi, dword [ebp - 0x3c]
cmovae ecx, eax
or dword [edi + edx*8 + 0x60424], ecx
mov ecx, edi
or dword [edi + edx*8 + 0x60420], eax
call fcn.004679a0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x138]
cmp dword [ebp - 0x5c], 0x83
mov ecx, 0x5dc
mov eax, 0x3e8
cmove eax, ecx
mov ecx, edi
push eax
call fcn.00461e20
cmp dword [edi + 0x5f31c], 1
jne 0x48368d
cmp dword [edi + 0x5f318], 9
jne 0x48368d
mov eax, dword [0x7bceec]
test eax, eax
jne 0x4826e8
call fcn.0040c5a0
mov dword [0x7bceec], eax
mov esi, dword [0x7bcf20]
mov ecx, esi
mov dword [eax + 0x480], 0
push 1
mov dword [eax + 0x480], 0xb4
call fcn.00461110
push 1
mov ecx, esi
call fcn.00461210
jmp 0x48368d
mov eax, dword [edi + 0x5f31c]
cmp eax, 1
jne 0x48272d
cmp dword [edi + 0x5f318], 9
je 0x48273a
test eax, eax
jne case.0x482489.137
cmp dword [edi + 0x5f318], 9
jne case.0x482489.137
mov eax, dword [0x7bceec]
test eax, eax
jne 0x48274d
call fcn.0040c5a0
mov dword [0x7bceec], eax
mov ecx, dword [eax + 0x490]
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::__Array::removeAllObjects_void_]
mov edx, dword [ebp - 0x34]
test byte [edx + 0x10c], 6
je case.0x482489.5
call fcn.00442e90
mov esi, eax
call fcn.00401720
mov ecx, 0x69
cmp byte [eax + 0x1d214c], 0
mov eax, 5
cmovne ecx, eax
push ecx
push ecx
mov ecx, esi
call fcn.00443300
push dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x34]
call fcn.00487f80
mov eax, dword [ebp - 0x3c]
sub esp, 8
mov ecx, dword [ebp - 0x40]
movss xmm0, dword [eax + 0x60094]
divss xmm0, dword [0x5ba264]
mov edi, dword [ecx + 0x4f8]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov eax, dword [ebp - 0x3c]
fstp dword [ebp - 0x30]
cvttss2si esi, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x60098]
divss xmm0, dword [0x5ba238]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x30]
cvttss2si eax, dword [ebp - 0x30]
xor ecx, ecx
add esp, 8
push 1
lea eax, [eax + eax*8]
lea edx, [esi + eax*2]
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
mov edi, dword [ebp - 0x3c]
cmovae ecx, eax
or dword [edi + edx*8 + 0x60424], ecx
mov ecx, dword [ebp - 0x40]
or dword [edi + edx*8 + 0x60420], eax
mov eax, dword [ecx]
call dword [eax + 0x138]
push 0xfa
mov ecx, edi
call fcn.00461e20
mov eax, dword [edi + 0x5f31c]
cmp eax, 1
jne 0x48285b
cmp dword [edi + 0x5f318], 9
je 0x482870
test eax, eax
jne 0x48368d
cmp dword [edi + 0x5f318], 9
jne 0x48368d
mov eax, dword [0x7bceec]
test eax, eax
jne 0x482883
call fcn.0040c5a0
mov dword [0x7bceec], eax
mov esi, dword [0x7bcf20]
mov ecx, esi
mov dword [eax + 0x480], 0
push 1
mov dword [eax + 0x480], 0xb4
call fcn.00461110
push 1
mov ecx, esi
call fcn.00461210
jmp 0x48368d
test byte [edx + 0x10c], 6
je case.0x482489.5
call fcn.00442e90
push ecx
push 1
mov ecx, eax
call fcn.00443300
mov ecx, dword [ebp - 0x34]
push esi
call fcn.00487f80
mov eax, dword [ebp - 0x3c]
sub esp, 8
mov ecx, dword [ebp - 0x40]
movss xmm0, dword [eax + 0x60094]
divss xmm0, dword [0x5ba264]
mov edi, dword [ecx + 0x4f8]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov eax, dword [ebp - 0x3c]
fstp dword [ebp - 0x30]
cvttss2si esi, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x60098]
divss xmm0, dword [0x5ba238]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x30]
cvttss2si eax, dword [ebp - 0x30]
xor ecx, ecx
add esp, 8
push 1
lea eax, [eax + eax*8]
lea edx, [esi + eax*2]
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
mov edi, dword [ebp - 0x3c]
cmovae ecx, eax
or dword [edi + edx*8 + 0x60424], ecx
mov ecx, dword [ebp - 0x40]
or dword [edi + edx*8 + 0x60420], eax
mov eax, dword [ecx]
call dword [eax + 0x138]
push 0x32
mov ecx, edi
call fcn.00461e20
jmp 0x48368d
test byte [edx + 0x10c], 6
je case.0x482489.5
call fcn.00442e90
push ecx
push 0xa
mov ecx, eax
call fcn.00443300
mov ecx, dword [ebp - 0x34]
push esi
call fcn.00487f80
mov eax, dword [ebp - 0x3c]
sub esp, 8
mov ecx, dword [ebp - 0x40]
movss xmm0, dword [eax + 0x60094]
divss xmm0, dword [0x5ba264]
mov edi, dword [ecx + 0x4f8]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov eax, dword [ebp - 0x3c]
fstp dword [ebp - 0x30]
cvttss2si esi, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x60098]
divss xmm0, dword [0x5ba238]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x30]
cvttss2si eax, dword [ebp - 0x30]
xor ecx, ecx
add esp, 8
lea eax, [eax + eax*8]
lea edx, [esi + eax*2]
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
mov edi, dword [ebp - 0x3c]
cmovae ecx, eax
or dword [edi + edx*8 + 0x60420], eax
or dword [edi + edx*8 + 0x60424], ecx
call fcn.00401720
cmp byte [eax + 0x1d214c], 0
jne 0x482aeb
call fcn.00401720
cmp byte [eax + 0x1d2113], 0
je 0x482aeb
push 1
push dword [ebp - 0x40]
mov ecx, edi
call fcn.004679a0
mov esi, dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Color4F::constructor_float__float__float__float_]
lea ecx, [ebp - 0x84]
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
mov ecx, dword [edi + 0x5f2bc]
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::ParticleSystem::setStartColor_struct_cocos2d::Color4F_const__]
sub esp, 0x10
lea ecx, [ebp - 0x94]
mov dword [esp + 0xc], 0x3e4ccccd
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
call esi
mov ecx, dword [edi + 0x5f2bc]
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::ParticleSystem::setEndColor_struct_cocos2d::Color4F_const__]
mov ecx, dword [ebp - 0x40]
push 1
mov eax, dword [ecx]
call dword [eax + 0x138]
push 0xbb8
mov ecx, edi
call fcn.00461e20
mov ecx, dword [ebp - 0x34]
call fcn.00488d40
jmp 0x48368d
test byte [edx + 0x10c], 6
je case.0x482489.5
call fcn.00442e90
mov edi, eax
call fcn.00401720
cmp byte [eax + 0x1d214c], 0
je 0x482b4e
call fcn.00401720
mov ecx, 0x69
cmp byte [eax + 0x1d214c], 0
mov eax, 5
cmovne ecx, eax
jmp 0x482b53
mov ecx, 0x11
push ecx
push ecx
mov ecx, edi
call fcn.00443300
mov ecx, dword [ebp - 0x34]
push esi
call fcn.00487f80
mov eax, dword [ebp - 0x40]
sub esp, 8
mov edi, dword [eax + 0x4f8]
mov eax, dword [ebp - 0x3c]
movss xmm0, dword [eax + 0x60094]
divss xmm0, dword [0x5ba264]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov eax, dword [ebp - 0x3c]
fstp dword [ebp - 0x30]
cvttss2si esi, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x60098]
divss xmm0, dword [0x5ba238]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x30]
cvttss2si eax, dword [ebp - 0x30]
xor ecx, ecx
add esp, 8
push 1
lea eax, [eax + eax*8]
lea edx, [esi + eax*2]
mov esi, dword [ebp - 0x40]
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
mov edi, dword [ebp - 0x3c]
cmovae ecx, eax
or dword [edi + edx*8 + 0x60424], ecx
mov ecx, esi
or dword [edi + edx*8 + 0x60420], eax
mov eax, dword [esi]
call dword [eax + 0x138]
push 0x64
mov ecx, edi
call fcn.00461e20
mov eax, dword [ebp - 0x34]
xorps xmm1, xmm1
movss xmm0, dword [eax + 0x174]
lea edx, [eax + 0x174]
xor ecx, ecx
comiss xmm0, xmm1
jbe 0x482c43
nop dword [eax]
cmp ecx, 4
jge 0x482c43
movss xmm0, dword [edx + 4]
add edx, 4
inc ecx
comiss xmm0, xmm1
ja 0x482c30
mov dword [eax + ecx*4 + 0x174], 0x41700000
mov ecx, edi
push 1
push esi
mov byte [eax + 0x1a1], 1
call fcn.004679a0
jmp 0x48368d
cmp esi, 5
je 0x482c7c
cmp esi, 6
je 0x482c7c
cmp esi, 7
je 0x482c7c
cmp esi, 0x44
jne 0x483084
cmp ecx, 5
jge 0x483084
test byte [edx + 0x10c], 6
je 0x483084
call fcn.00442e90
mov dword [ebp - 0x30], eax
call fcn.00401720
mov edi, 0x69
cmp byte [eax + 0x1d214c], 0
mov eax, 5
cmovne edi, eax
mov eax, dword [edi*4 + 0x7bd2e8]
test eax, eax
je 0x482cd3
push eax
call dword [sym.imp.libcocos2d.dll_public:_static_void___cdecl_cocos2d::experimental::AudioEngine::stop_int_]
add esp, 4
mov dword [edi*4 + 0x7bd2e8], 0
push ecx
mov ecx, dword [ebp - 0x30]
push edi
call fcn.00443300
mov ecx, dword [ebp - 0x34]
push esi
call fcn.00487f80
mov eax, dword [ebp - 0x40]
sub esp, 8
mov edi, dword [eax + 0x4f8]
mov eax, dword [ebp - 0x3c]
movss xmm0, dword [eax + 0x60094]
divss xmm0, dword [0x5ba264]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov eax, dword [ebp - 0x3c]
fstp dword [ebp - 0x30]
cvttss2si esi, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x60098]
divss xmm0, dword [0x5ba238]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x30]
cvttss2si eax, dword [ebp - 0x30]
xor edx, edx
xor ecx, ecx
bts edx, edi
add esp, 8
cmp edi, 0x20
cmovae ecx, edx
xor edx, ecx
cmp edi, 0x40
mov edi, dword [ebp - 0x3c]
cmovae ecx, edx
push 0
push dword [ebp - 0x40]
lea eax, [eax + eax*8]
lea esi, [esi + eax*2]
mov eax, dword [edi + esi*8 + 0x60424]
or dword [edi + esi*8 + 0x60420], edx
or eax, ecx
mov ecx, edi
mov dword [edi + esi*8 + 0x60424], eax
call fcn.004679a0
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 0x35], al
mov dword [ebp - 0x58], 0x32
lea ecx, [esi - 5]
cmp ecx, 0x3f
ja case.0x482dac.8
movzx ecx, byte [ecx + 0x483868]
jmp dword [ecx*4 + 0x483854]
test al, al
je 0x48306a
sub esp, 0x10
lea ecx, [ebp - 0xa4]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3ecccccd
mov dword [esp + 4], 0x3e4ccccd
mov dword [esp], 0x3f800000
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Color4F::constructor_float__float__float__float_]
mov ecx, dword [edi + 0x5f2bc]
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::ParticleSystem::setStartColor_struct_cocos2d::Color4F_const__]
sub esp, 0x10
lea ecx, [ebp - 0xb4]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Color4F::constructor_float__float__float__float_]
mov ecx, dword [edi + 0x5f2bc]
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::ParticleSystem::setEndColor_struct_cocos2d::Color4F_const__]
jmp 0x483054
test al, al
je 0x48306a
sub esp, 0x10
lea ecx, [ebp - 0xc4]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f000000
mov dword [esp], 0
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Color4F::constructor_float__float__float__float_]
mov ecx, dword [edi + 0x5f2bc]
lea eax, [ebp - 0xc4]
push eax
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::ParticleSystem::setStartColor_struct_cocos2d::Color4F_const__]
sub esp, 0x10
lea ecx, [ebp - 0xd4]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Color4F::constructor_float__float__float__float_]
mov ecx, dword [edi + 0x5f2bc]
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::ParticleSystem::setEndColor_struct_cocos2d::Color4F_const__]
jmp 0x483054
test al, al
je 0x48306a
sub esp, 0x10
lea ecx, [ebp - 0xe4]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Color4F::constructor_float__float__float__float_]
mov ecx, dword [edi + 0x5f2bc]
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::ParticleSystem::setStartColor_struct_cocos2d::Color4F_const__]
sub esp, 0x10
lea ecx, [ebp - 0xf4]
mov dword [esp + 0xc], 0x3f000000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3e99999a
mov dword [esp], 0x3e99999a
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Color4F::constructor_float__float__float__float_]
mov ecx, dword [edi + 0x5f2bc]
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::ParticleSystem::setEndColor_struct_cocos2d::Color4F_const__]
jmp 0x483054
test al, al
je 0x482fe4
sub esp, 0x10
lea ecx, [ebp - 0x104]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Color4F::constructor_float__float__float__float_]
mov ecx, dword [edi + 0x5f2bc]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::ParticleSystem::setStartColor_struct_cocos2d::Color4F_const__]
sub esp, 0x10
lea ecx, [ebp - 0x24]
mov dword [esp + 0xc], 0x3f000000
mov dword [esp + 8], 0
mov dword [esp + 4], 0x3e99999a
mov dword [esp], 0x3e99999a
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Color4F::constructor_float__float__float__float_]
mov ecx, dword [edi + 0x5f2bc]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::ParticleSystem::setEndColor_struct_cocos2d::Color4F_const__]
mov eax, dword [edi + 0x5f31c]
mov dword [ebp - 0x58], 0x1f4
cmp eax, 1
jne 0x482fff
cmp dword [edi + 0x5f318], 9
je 0x48300c
test eax, eax
jne case.0x482dac.8
cmp dword [edi + 0x5f318], 9
jne case.0x482dac.8
mov eax, dword [0x7bceec]
test eax, eax
jne 0x48301f
call fcn.0040c5a0
mov dword [0x7bceec], eax
mov esi, dword [0x7bcf20]
mov ecx, esi
mov dword [eax + 0x480], 0
push 1
mov dword [eax + 0x480], 0xb4
call fcn.00461110
push 1
mov ecx, esi
call fcn.00461210
mov esi, dword [ebp - 0x5c]
cmp byte [ebp - 0x35], 0
je 0x48306a
mov ecx, dword [edi + 0x5f2b8]
push 1
push dword [edi + 0x5f2bc]
mov eax, dword [ecx]
call dword [eax + 0x108]
mov ecx, dword [ebp - 0x40]
push 1
mov eax, dword [ecx]
call dword [eax + 0x138]
push dword [ebp - 0x58]
mov ecx, edi
call fcn.00461e20
mov edx, dword [ebp - 0x34]
cmp esi, 0x42
jne 0x48328d
test byte [edx + 0x10c], 6
je 0x4834a0
call fcn.00442e90
push ecx
push 0xf
mov ecx, eax
call fcn.00443300
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
sub esp, 8
movss xmm0, dword [eax]
divss xmm0, dword [0x5ba264]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov ecx, dword [ebp - 0x40]
add esp, 8
fstp dword [ebp - 0x30]
cvttss2si esi, dword [ebp - 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
sub esp, 8
movss xmm0, dword [eax + 4]
divss xmm0, dword [0x5ba238]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x30]
cvttss2si eax, dword [ebp - 0x30]
add esp, 8
mov cl, 1
lea eax, [eax + eax*8]
lea esi, [esi + eax*2]
mov dword [ebp - 0x70], esi
call fcn.0040c210
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x188]
call eax
test al, al
lea eax, [edi + 0x5f2ac]
mov dword [ebp - 0x54], eax
je 0x483140
mov esi, dword [eax]
mov dword [ebp - 0x70], esi
mov ecx, 3
mov dword [ebp - 0x58], ecx
cmp dword [eax], esi
jne 0x48320f
mov dword [eax], 0xffffffff
mov esi, dword [edi + 0x5f298]
lea eax, [esi + 1]
mov dword [edi + 0x5f298], eax
cmp eax, 3
jne 0x4831c4
lea esi, [edi + 0x5f29c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x60], esi
mov ecx, dword [esi]
push 1
mov eax, dword [ecx]
call dword [eax + 0xb4]
mov edi, dword [esi]
push 0
push 6
push ecx
mov eax, dword [edi]
mov dword [esp], 0x3f800000
mov esi, dword [eax + 0x1d0]
call dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::Blink____cdecl_cocos2d::Blink::create_float__int_]
add esp, 8
push eax
call dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::Sequence____cdecl_cocos2d::Sequence::create_class_cocos2d::FiniteTimeAction__]
add esp, 8
mov ecx, edi
push eax
call esi
mov esi, dword [ebp - 0x60]
add esi, 4
sub dword [ebp - 0x30], 1
mov dword [ebp - 0x60], esi
jne 0x483176
mov edi, dword [ebp - 0x3c]
jmp 0x483206
mov ecx, dword [edi + esi*4 + 0x5f29c]
push 1
mov eax, dword [ecx]
call dword [eax + 0xb4]
mov edi, dword [edi + esi*4 + 0x5f29c]
push 6
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [edi]
mov esi, dword [eax + 0x1d0]
call dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::Blink____cdecl_cocos2d::Blink::create_float__int_]
add esp, 8
mov ecx, edi
push eax
call esi
mov edi, dword [ebp - 0x3c]
mov ecx, edi
call fcn.004566e0
mov esi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
add eax, 4
sub ecx, 1
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
jne 0x483148
mov esi, dword [ebp - 0x40]
mov ecx, edi
push 1
push esi
call fcn.004679a0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x138]
push 0x2710
mov ecx, edi
call fcn.00461e20
mov cl, 1
call fcn.0040c210
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x188]
call eax
test al, al
jne 0x48327e
call fcn.00401720
mov edx, dword [edi + 0x5f280]
mov ecx, dword [edi + 0x5f298]
cmp dword [eax + edx*4 + 0x1d2270], ecx
jge 0x48327e
mov dword [eax + edx*4 + 0x1d2270], ecx
mov ecx, edi
call fcn.004663a0
mov esi, dword [ebp - 0x5c]
jmp 0x48349d
cmp esi, 0x82
jne 0x4834a0
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x514], 0
jne 0x4834a0
mov eax, dword [edx + 0x10c]
test al, 4
jne 0x4832c8
test al, 2
je 0x4834a0
cmp dword [edx + 0x19c], 0x10
jle 0x4834a0
mov eax, dword [ecx + 0x510]
add eax, 0xfffffffd
cmp eax, 0x1f
ja case.0x4832e1.5
movzx eax, byte [eax + 0x4838c4]
jmp dword [eax*4 + 0x4838a8]
xor eax, eax
cmp dword [edi + 0x5fef4], eax
sete al
mov dword [edi + 0x5fef4], eax
jmp case.0x4832e1.5
xor eax, eax
cmp dword [edi + 0x5fefc], eax
sete al
mov dword [edi + 0x5fefc], eax
jmp case.0x4832e1.5
xor eax, eax
cmp dword [edi + 0x5fef8], eax
sete al
mov dword [edi + 0x5fef8], eax
jmp case.0x4832e1.5
xor eax, eax
cmp dword [edi + 0x5ff00], eax
sete al
mov dword [edi + 0x5ff00], eax
jmp case.0x4832e1.5
xor eax, eax
cmp dword [edi + 0x5ff04], eax
sete al
mov dword [edi + 0x5ff04], eax
jmp case.0x4832e1.5
cmp dword [edi + 0x5ff08], 0
je case.0x4832e1.5
mov dword [edi + 0x5ff08], 0
mov dword [ebp - 0x74], ecx
call fcn.00402050
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.004025c0
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x50]
push eax
call fcn.00481dd0
cmp dword [edi + 0x5f31c], 1
jne 0x4833a9
cmp dword [edi + 0x5f318], 9
jne 0x4833a9
mov eax, dword [0x7bceec]
test eax, eax
jne 0x48339e
call fcn.0040c5a0
mov dword [0x7bceec], eax
mov eax, dword [eax + 0x4ac]
mov dword [ebp - 0x54], eax
jmp 0x4833b0
mov dword [ebp - 0x54], 0xffffffff
call fcn.00402050
push dword [ebp - 0x54]
cvttss2si edx, dword [ebp - 0x4c]
lea ecx, [edi + 0x5fef4]
push ecx
cvttss2si ecx, dword [ebp - 0x50]
push edx
push ecx
mov ecx, eax
call fcn.00401ea0
mov eax, dword [ebp - 0x54]
cmp eax, 0xffffffff
jne 0x483413
cvttss2si eax, dword [ebp - 0x50]
push eax
cvttss2si eax, dword [ebp - 0x4c]
push eax
push str._d__d
call dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::__String____cdecl_cocos2d::__String::createWithFormat_char_const__]
mov dword [ebp - 0x30], eax
add esp, 0xc
cvttss2si eax, dword [ebp - 0x50]
push eax
cvttss2si eax, dword [ebp - 0x4c]
push eax
push str._dx_d
call dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::__String____cdecl_cocos2d::__String::createWithFormat_char_const__]
add esp, 0xc
jmp 0x48344b
push eax
cvttss2si eax, dword [ebp - 0x50]
push eax
cvttss2si eax, dword [ebp - 0x4c]
push eax
push str._d__d__d
call dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::__String____cdecl_cocos2d::__String::createWithFormat_char_const__]
push dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
cvttss2si eax, dword [ebp - 0x50]
push eax
cvttss2si eax, dword [ebp - 0x4c]
push eax
push str._dx_dx_d
call dword [sym.imp.libcocos2d.dll_public:_static_class_cocos2d::__String____cdecl_cocos2d::__String::createWithFormat_char_const__]
add esp, 0x20
call fcn.00402050
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
call dword [sym.imp.libcocos2d.dll_public:_char_const____thiscall_cocos2d::__String::getCString_void_const]
sub esp, 0x18
mov dword [ebp - 0x60], eax
mov edx, esp
mov ecx, eax
xorps xmm0, xmm0
movups xmmword [edx], xmm0
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [ebp - 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x483480
sub ecx, dword [ebp - 0x30]
push ecx
push dword [ebp - 0x60]
mov ecx, edx
call fcn.00401930
mov ecx, dword [ebp - 0x58]
call fcn.00402e30
mov edx, dword [ebp - 0x34]
cmp byte [edx + 0x1a1], 0
jne case.0x482489.5
cmp esi, 8
je 0x483673
cmp esi, 0x10
jne 0x483596
push 2
mov ecx, edx
call fcn.0047e190
test al, al
je 0x483673
call fcn.00442e90
push ecx
push 0xb
mov ecx, eax
call fcn.00443300
mov ecx, dword [ebp - 0x34]
push 2
call fcn.00488070
mov eax, dword [ebp - 0x40]
sub esp, 8
mov edi, dword [eax + 0x4f8]
mov eax, dword [ebp - 0x3c]
movss xmm0, dword [eax + 0x60094]
divss xmm0, dword [0x5ba264]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov eax, dword [ebp - 0x3c]
fstp dword [ebp - 0x30]
cvttss2si esi, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x60098]
divss xmm0, dword [0x5ba238]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x30]
cvttss2si eax, dword [ebp - 0x30]
xor ecx, ecx
add esp, 8
lea eax, [eax + eax*8]
lea edx, [esi + eax*2]
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
mov edi, dword [ebp - 0x3c]
cmovae ecx, eax
or dword [edi + edx*8 + 0x60424], ecx
mov ecx, dword [ebp - 0x40]
or dword [edi + edx*8 + 0x60420], eax
mov eax, dword [ecx]
call dword [eax + 0x324]
push 0x7d0
mov ecx, edi
call fcn.00461e20
jmp 0x48368d
cmp esi, 0x20
jne case.0x482489.5
push 2
mov ecx, edx
call fcn.0047e190
test al, al
je 0x483673
call fcn.00442e90
push ecx
push 0xb
mov ecx, eax
call fcn.00443300
mov ecx, dword [ebp - 0x34]
push 2
call fcn.00488070
mov eax, dword [ebp - 0x40]
sub esp, 8
mov edi, dword [eax + 0x4f8]
mov eax, dword [ebp - 0x3c]
movss xmm0, dword [eax + 0x60094]
divss xmm0, dword [0x5ba264]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
mov eax, dword [ebp - 0x3c]
fstp dword [ebp - 0x30]
cvttss2si esi, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x60098]
divss xmm0, dword [0x5ba238]
movss dword [ebp - 0x30], xmm0
fld dword [ebp - 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x30]
cvttss2si eax, dword [ebp - 0x30]
xor ecx, ecx
add esp, 8
lea eax, [eax + eax*8]
lea edx, [esi + eax*2]
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
mov edi, dword [ebp - 0x3c]
cmovae ecx, eax
or dword [edi + edx*8 + 0x60424], ecx
mov ecx, dword [ebp - 0x40]
or dword [edi + edx*8 + 0x60420], eax
mov eax, dword [ecx]
call dword [eax + 0x324]
push 0xbb8
mov ecx, edi
call fcn.00461e20
jmp 0x48368d
call fcn.00442e90
push ecx
push 0xc
mov ecx, eax
call fcn.00443300
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
call fcn.004849b0
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x44], ecx
cmp ecx, esi
jne 0x482330
cmp dword [ebp - 0x74], 0
je 0x483743
mov dword [edi + 0x603e8], 0
lea ecx, [edi + 0x60150]
mov dword [edi + 0x603e4], 2
mov dword [edx + 0x10c], 0
call fcn.004268b0
mov esi, dword [edi + 0x5f2d0]
call fcn.00402050
mov dword [eax + 0x38], esi
call fcn.00442e90
push ecx
push 0x34
mov ecx, eax
call fcn.00443300
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx]
mov eax, dword [eax + 0x5c]
call eax
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x68]
movss xmm0, dword [eax + 4]
divss xmm0, dword [0x5ba14c]
cvttss2si eax, xmm0
lea eax, [eax + eax*2]
shl eax, 2
movd xmm0, eax
mov eax, dword [ecx + 0x11c]
cvtdq2pd xmm0, xmm0
mov dword [ecx + 0x114], eax
addsd xmm0, qword [0x5b9f98]
cvtpd2ps xmm0, xmm0
movss dword [ecx + 0x11c], xmm0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 2
cmp ecx, esi
je 0x483779
mov edi, dword [sym.imp.libcocos2d.dll_public:_void___thiscall_cocos2d::Ref::release_void_]
nop word [eax + eax]
mov ecx, dword [ecx]
call edi
mov ecx, dword [ebp - 0x44]
add ecx, 4
mov dword [ebp - 0x44], ecx
cmp ecx, esi
jne 0x483760
mov esi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
cmp ecx, esi
cmovne esi, ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x68], esi
call fcn.00403dd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0057516e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret