; ; BoomScrollLayer::updatePages from 0x14003d890 to 0x14003d9aa (282 bytes) ; ; 4 xrefs: ; > BoomScrollLayer::init @ 0x14003d4f6 ; > @ 0x140661c2c ; > @ 0x140661c3c ; > @ 0x1406c3f90 ; ; 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 rsi ; +0x0, 0x14003d890 push rdi ; +0x2, 0x14003d892 sub rsp, 38h ; +0x3, 0x14003d893 mov rsi, rcx ; +0x7, 0x14003d897 xor edi, edi ; +0xa, 0x14003d89a mov rcx, [rcx+1D8h] ; +0xc, 0x14003d89c call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x13, 0x14003d8a3 test eax, eax ; +0x19, 0x14003d8a9 jz loc_14003D9A3 ; +0x1b, 0x14003d8ab mov [rsp+48h+arg_18], rbx ; +0x21, 0x14003d8b1 mov [rsp+48h+var_18], r14 ; +0x26, 0x14003d8b6 movaps [rsp+48h+var_28], xmm6 ; +0x2b, 0x14003d8bb mov rcx, [rsi+1D8h] ; +0x30, 0x14003d8c0 mov edx, edi ; +0x37, 0x14003d8c7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x14003d8c9 xorps xmm2, xmm2 ; +0x3f, 0x14003d8cf lea rcx, [rsp+48h+arg_0] ; +0x42, 0x14003d8d2 xorps xmm1, xmm1 ; +0x47, 0x14003d8d7 mov r14, rax ; +0x4a, 0x14003d8da mov rbx, [rax] ; +0x4d, 0x14003d8dd call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x50, 0x14003d8e0 mov rdx, rax ; +0x56, 0x14003d8e6 mov rcx, r14 ; +0x59, 0x14003d8e9 call qword ptr [rbx+110h] ; +0x5c, 0x14003d8ec mov rbx, [r14] ; +0x62, 0x14003d8f2 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x65, 0x14003d8f5 mov rcx, rax ; +0x6b, 0x14003d8fb lea rdx, [rsp+48h+arg_8] ; +0x6e, 0x14003d8fe call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x73, 0x14003d903 mov rdx, rax ; +0x79, 0x14003d909 mov rcx, r14 ; +0x7c, 0x14003d90c call qword ptr [rbx+128h] ; +0x7f, 0x14003d90f mov rax, [rsi] ; +0x85, 0x14003d915 mov rcx, rsi ; +0x88, 0x14003d918 movss xmm6, dword ptr [rsi+248h] ; +0x8b, 0x14003d91b mov rbx, [r14] ; +0x93, 0x14003d923 call qword ptr [rax+130h] ; +0x96, 0x14003d926 movd xmm0, edi ; +0x9c, 0x14003d92c lea rcx, [rsp+48h+arg_10] ; +0xa0, 0x14003d930 cvtdq2ps xmm0, xmm0 ; +0xa5, 0x14003d935 movss xmm1, dword ptr [rax] ; +0xa8, 0x14003d938 xorps xmm2, xmm2 ; +0xac, 0x14003d93c subss xmm1, xmm6 ; +0xaf, 0x14003d93f mulss xmm1, xmm0 ; +0xb3, 0x14003d943 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xb7, 0x14003d947 mov rdx, rax ; +0xbd, 0x14003d94d mov rcx, r14 ; +0xc0, 0x14003d950 call qword ptr [rbx+0B8h] ; +0xc3, 0x14003d953 mov rax, [r14] ; +0xc9, 0x14003d959 mov rcx, r14 ; +0xcc, 0x14003d95c call qword ptr [rax+1E8h] ; +0xcf, 0x14003d95f test rax, rax ; +0xd5, 0x14003d965 jnz short loc_14003D97D ; +0xd8, 0x14003d968 mov rcx, [rsi+1F0h] ; +0xda, 0x14003d96a mov rdx, r14 ; +0xe1, 0x14003d971 mov rax, [rcx] ; +0xe4, 0x14003d974 call qword ptr [rax+1C0h] ; +0xe7, 0x14003d977 mov rcx, [rsi+1D8h] ; +0xed, 0x14003d97d inc edi ; +0xf4, 0x14003d984 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xf6, 0x14003d986 cmp edi, eax ; +0xfc, 0x14003d98c jb loc_14003D8C0 ; +0xfe, 0x14003d98e movaps xmm6, [rsp+48h+var_28] ; +0x104, 0x14003d994 mov r14, [rsp+48h+var_18] ; +0x109, 0x14003d999 mov rbx, [rsp+48h+arg_18] ; +0x10e, 0x14003d99e add rsp, 38h ; +0x113, 0x14003d9a3 pop rdi ; +0x117, 0x14003d9a7 pop rsi ; +0x118, 0x14003d9a8 retn ; +0x119, 0x14003d9a9