; ; BoomScrollLayer::updateDots from 0x14003d9b0 to 0x14003dbab (507 bytes) ; ; 12 xrefs: ; > BoomScrollLayer::init @ 0x14003d40b ; > BoomScrollLayer::moveToPageEnded @ 0x14003dcfd ; > ListButtonBar::init @ 0x14006b12e ; > EditButtonBar::loadFromItems @ 0x1400d4c42 ; > GauntletSelectLayer::setupGauntlets @ 0x1401fa41b ; > LevelSelectLayer::init @ 0x140318c03 ; > SecretRewardsLayer::init @ 0x1403d493a ; > SecretRewardsLayer::createSecondaryLayer @ 0x1403d5690 ; > BoomScrollLayer::init @ 0x14003d5b9 ; > @ 0x140661c68 ; > @ 0x140661ca8 ; > @ 0x1406c3fb4 ; ; 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 ; push rdi ; +0x0, 0x14003d9b0 sub rsp, 80h ; +0x2, 0x14003d9b2 cmp qword ptr [rcx+198h], 0 ; +0x9, 0x14003d9b9 mov rdi, rcx ; +0x11, 0x14003d9c1 jz loc_14003DBA2 ; +0x14, 0x14003d9c4 cmp byte ptr [rcx+1C0h], 0 ; +0x1a, 0x14003d9ca mov [rsp+88h+var_10], rbp ; +0x21, 0x14003d9d1 mov [rsp+88h+var_18], rsi ; +0x26, 0x14003d9d6 mov [rsp+88h+var_28], r15 ; +0x2b, 0x14003d9db movaps [rsp+88h+var_48], xmm7 ; +0x30, 0x14003d9e0 movaps [rsp+88h+var_68], xmm9 ; +0x35, 0x14003d9e5 jz short loc_14003D9F6 ; +0x3b, 0x14003d9eb mov rcx, [rcx+1B8h] ; +0x3d, 0x14003d9ed jmp short loc_14003D9FD ; +0x44, 0x14003d9f4 mov rcx, [rcx+1D8h] ; +0x46, 0x14003d9f6 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4d, 0x14003d9fd mov rcx, [rdi+1F0h] ; +0x53, 0x14003da03 mov r15d, eax ; +0x5a, 0x14003da0a movss xmm9, dword ptr [rdi+238h] ; +0x5d, 0x14003da0d movd xmm7, eax ; +0x66, 0x14003da16 mov rax, [rcx] ; +0x6a, 0x14003da1a cvtdq2ps xmm7, xmm7 ; +0x6d, 0x14003da1d call qword ptr [rax+0C8h] ; +0x70, 0x14003da20 mov rdx, rax ; +0x76, 0x14003da26 lea rcx, [rsp+88h+arg_0] ; +0x79, 0x14003da29 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x81, 0x14003da31 mov rcx, rdi ; +0x87, 0x14003da37 call BoomScrollLayer__pageNumberForPosition ; +0x8a, 0x14003da3a cmp byte ptr [rdi+1ACh], 0 ; +0x8f, 0x14003da3f mov ebp, eax ; +0x96, 0x14003da46 jz short loc_14003DA84 ; +0x98, 0x14003da48 cmp byte ptr [rdi+1C0h], 0 ; +0x9a, 0x14003da4a jz short loc_14003DA5C ; +0xa1, 0x14003da51 mov rcx, [rdi+1B8h] ; +0xa3, 0x14003da53 jmp short loc_14003DA63 ; +0xaa, 0x14003da5a mov rcx, [rdi+1D8h] ; +0xac, 0x14003da5c call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xb3, 0x14003da63 mov ecx, eax ; +0xb9, 0x14003da69 test ebp, ebp ; +0xbb, 0x14003da6b jle short loc_14003DA78 ; +0xbd, 0x14003da6d mov eax, ebp ; +0xbf, 0x14003da6f cdq ; +0xc1, 0x14003da71 idiv ecx ; +0xc2, 0x14003da72 mov ebp, edx ; +0xc4, 0x14003da74 jmp short loc_14003DA84 ; +0xc6, 0x14003da76 jns short loc_14003DA84 ; +0xc8, 0x14003da78 nop word ptr [rax+rax+00h] ; +0xca, 0x14003da7a add ebp, ecx ; +0xd0, 0x14003da80 js short loc_14003DA80 ; +0xd2, 0x14003da82 xor esi, esi ; +0xd4, 0x14003da84 test r15d, r15d ; +0xd6, 0x14003da86 jle loc_14003DB88 ; +0xd9, 0x14003da89 subss xmm7, cs:flt_140622C24 ; +0xdf, 0x14003da8f movaps [rsp+88h+var_38], xmm6 ; +0xe7, 0x14003da97 movaps [rsp+88h+var_58], xmm8 ; +0xec, 0x14003da9c movss xmm8, cs:dword_1406230F8 ; +0xf2, 0x14003daa2 mov [rsp+88h+arg_8], rbx ; +0xfb, 0x14003daab mulss xmm7, cs:dword_140622B08 ; +0x103, 0x14003dab3 mov [rsp+88h+var_20], r14 ; +0x10b, 0x14003dabb mov rcx, [rdi+198h] ; +0x110, 0x14003dac0 movd xmm6, esi ; +0x117, 0x14003dac7 cvtdq2ps xmm6, xmm6 ; +0x11b, 0x14003dacb subss xmm6, xmm7 ; +0x11e, 0x14003dace mulss xmm6, xmm8 ; +0x122, 0x14003dad2 addss xmm6, dword ptr [rdi+234h] ; +0x127, 0x14003dad7 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x12f, 0x14003dadf cmp esi, eax ; +0x135, 0x14003dae5 jnb short loc_14003DB65 ; +0x137, 0x14003dae7 mov rcx, [rdi+198h] ; +0x139, 0x14003dae9 mov edx, esi ; +0x140, 0x14003daf0 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x142, 0x14003daf2 movaps xmm2, xmm9 ; +0x148, 0x14003daf8 lea rcx, [rsp+88h+arg_10] ; +0x14c, 0x14003dafc movaps xmm1, xmm6 ; +0x154, 0x14003db04 mov r14, rax ; +0x157, 0x14003db07 mov rbx, [rax] ; +0x15a, 0x14003db0a call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x15d, 0x14003db0d mov rdx, rax ; +0x163, 0x14003db13 mov rcx, r14 ; +0x166, 0x14003db16 call qword ptr [rbx+0B8h] ; +0x169, 0x14003db19 lea rcx, [r14+140h] ; +0x16f, 0x14003db1f mov rax, [rcx] ; +0x176, 0x14003db26 cmp esi, ebp ; +0x179, 0x14003db29 jnz short loc_14003DB36 ; +0x17b, 0x14003db2b lea rdx, unk_140529988 ; +0x17d, 0x14003db2d jmp short loc_14003DB50 ; +0x184, 0x14003db34 mov [rsp+88h+arg_0], 7D7Dh ; +0x186, 0x14003db36 lea rdx, [rsp+88h+arg_0] ; +0x190, 0x14003db40 mov [rsp+88h+arg_2], 7Dh ; '}' ; +0x198, 0x14003db48 call qword ptr [rax] ; +0x1a0, 0x14003db50 mov rax, [r14] ; +0x1a2, 0x14003db52 mov rcx, r14 ; +0x1a5, 0x14003db55 movzx edx, byte ptr [rdi+231h] ; +0x1a8, 0x14003db58 call qword ptr [rax+140h] ; +0x1af, 0x14003db5f inc esi ; +0x1b5, 0x14003db65 cmp esi, r15d ; +0x1b7, 0x14003db67 jl loc_14003DAC0 ; +0x1ba, 0x14003db6a movaps xmm8, [rsp+88h+var_58] ; +0x1c0, 0x14003db70 movaps xmm6, [rsp+88h+var_38] ; +0x1c6, 0x14003db76 mov r14, [rsp+88h+var_20] ; +0x1cb, 0x14003db7b mov rbx, [rsp+88h+arg_8] ; +0x1d0, 0x14003db80 movaps xmm7, [rsp+88h+var_48] ; +0x1d8, 0x14003db88 mov r15, [rsp+88h+var_28] ; +0x1dd, 0x14003db8d mov rsi, [rsp+88h+var_18] ; +0x1e2, 0x14003db92 mov rbp, [rsp+88h+var_10] ; +0x1e7, 0x14003db97 movaps xmm9, [rsp+88h+var_68] ; +0x1ec, 0x14003db9c add rsp, 80h ; +0x1f2, 0x14003dba2 pop rdi ; +0x1f9, 0x14003dba9 retn ; +0x1fa, 0x14003dbaa