{"type": "func", "start": 5368963248, "end": 5368964591, "name": "BoomScrollLayer::repositionPagesLooped", "pseudocode": "// \n// BoomScrollLayer::repositionPagesLooped from 0x14003e0b0 to 0x14003e5ef (1343 bytes)\n// \n// 4 xrefs:\n// > BoomScrollLayer::init @ 0x14003d50a\n// > BoomScrollLayer::instantMoveToPage @ 0x14003decc\n// > BoomScrollLayer::moveToPage @ 0x14003e091\n// > <???> @ 0x1406c4080\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid BoomScrollLayer::repositionPagesLooped(BoomScrollLayer *a1)\n{\n  signed int m_page; // r12d\n  cocos2d::CCArray *m_dynamicObjects; // rcx\n  signed int v4; // ecx\n  signed int v5; // r15d\n  cocos2d::CCArray *m_pages; // rcx\n  signed int v7; // ecx\n  signed int v8; // r14d\n  cocos2d::CCArray *v9; // rcx\n  signed int v10; // ecx\n  signed int v11; // ebx\n  signed int v12; // ecx\n  struct cocos2d::CCObject *v13; // rax\n  int v14; // ebx\n  struct cocos2d::CCObject *v15; // rdi\n  const cocos2d::CCSize *v16; // rax\n  int v17; // eax\n  signed int v18; // ebp\n  signed int v19; // edi\n  cocos2d::CCArray *v20; // rcx\n  signed int v21; // ecx\n  signed int i; // edx\n  struct cocos2d::CCObject *v23; // r13\n  int v24; // ebx\n  const cocos2d::CCSize *v25; // rax\n  cocos2d::CCArray *v26; // rcx\n  signed int v27; // ecx\n  signed int j; // edx\n  struct cocos2d::CCObject *v29; // r13\n  int v30; // ebx\n  const cocos2d::CCSize *v31; // rax\n  unsigned int k; // ebx\n  struct cocos2d::CCObject *v33; // rax\n  cocos2d::CCArray *v34; // rcx\n  signed int v35; // ebx\n  signed int v36; // ecx\n  struct cocos2d::CCObject *v37; // r13\n  cocos2d::CCArray *v38; // rcx\n  signed int v39; // ebx\n  signed int v40; // ecx\n  struct cocos2d::CCObject *v41; // rbp\n  cocos2d::CCArray *v42; // rcx\n  signed int v43; // ebx\n  signed int v44; // ecx\n  struct cocos2d::CCObject *v45; // rdi\n  DynamicScrollDelegate_vtbl *v46; // rbx\n  struct cocos2d::CCObject *v47; // rax\n  DynamicScrollDelegate_vtbl *v48; // rbx\n  struct cocos2d::CCObject *v49; // rax\n  DynamicScrollDelegate_vtbl *v50; // rbx\n  struct cocos2d::CCObject *v51; // rax\n  __int64 v52; // rdx\n  cocos2d::CCArray *v53; // rcx\n  signed int v54; // ecx\n  cocos2d::CCArray *v55; // rcx\n  signed int v56; // ecx\n  __int64 v57; // rdx\n  __int64 v58; // rdx\n  cocos2d::CCPoint v59; // [rsp+50h] [rbp+8h] BYREF\n\n  m_page = a1->m_page;\n  if ( a1->m_dynamic )\n    m_dynamicObjects = a1->m_dynamicObjects;\n  else\n    m_dynamicObjects = a1->m_pages;\n  v4 = cocos2d::CCArray::count(m_dynamicObjects);\n  if ( m_page <= 0 )\n  {\n    for ( ; m_page < 0; m_page += v4 )\n      ;\n  }\n  else\n  {\n    m_page %= v4;\n  }\n  v5 = a1->m_page - 1;\n  if ( a1->m_dynamic )\n    m_pages = a1->m_dynamicObjects;\n  else\n    m_pages = a1->m_pages;\n  v7 = cocos2d::CCArray::count(m_pages);\n  if ( v5 <= 0 )\n  {\n    for ( ; v5 < 0; v5 += v7 )\n      ;\n  }\n  else\n  {\n    v5 %= v7;\n  }\n  v8 = a1->m_page + 1;\n  if ( a1->m_dynamic )\n    v9 = a1->m_dynamicObjects;\n  else\n    v9 = a1->m_pages;\n  v10 = cocos2d::CCArray::count(v9);\n  if ( v8 <= 0 )\n  {\n    for ( ; v8 < 0; v8 += v10 )\n      ;\n  }\n  else\n  {\n    v8 %= v10;\n  }\n  if ( a1->m_dynamic )\n  {\n    v11 = a1->m_page;\n    v12 = cocos2d::CCArray::count(a1->m_pages);\n    if ( v11 <= 0 )\n    {\n      for ( ; v11 < 0; v11 += v12 )\n        ;\n    }\n    else\n    {\n      v11 %= v12;\n    }\n    v13 = cocos2d::CCArray::objectAtIndex(a1->m_pages, v11);\n    v14 = a1->m_page;\n    v15 = v13;\n    v16 = a1->getContentSize(a1);\n    cocos2d::CCPoint::CCPoint(&v59, (float)(v16->width - a1->m_pageOffset) * (float)v14, 0.0);\n    v15->__vftable[2].encodeWithCoder(v15, (DS_Dictionary *)&v59);\n    v17 = a1->m_page;\n    v18 = v17 - 1;\n    v19 = v17 + 1;\n  }\n  else\n  {\n    v18 = v5;\n    v19 = v8;\n  }\n  v20 = a1->m_pages;\n  if ( a1->m_dynamic )\n  {\n    v21 = cocos2d::CCArray::count(v20);\n    if ( v18 <= 0 )\n    {\n      for ( i = v18; i < 0; i += v21 )\n        ;\n      v20 = a1->m_pages;\n    }\n    else\n    {\n      i = v18 % v21;\n      v20 = a1->m_pages;\n    }\n  }\n  else\n  {\n    i = v18;\n  }\n  v23 = cocos2d::CCArray::objectAtIndex(v20, i);\n  v24 = a1->m_page - 1;\n  v25 = a1->getContentSize(a1);\n  cocos2d::CCPoint::CCPoint(&v59, (float)(v25->width - a1->m_pageOffset) * (float)v24, 0.0);\n  v23->__vftable[2].encodeWithCoder(v23, (DS_Dictionary *)&v59);\n  v26 = a1->m_pages;\n  if ( a1->m_dynamic )\n  {\n    v27 = cocos2d::CCArray::count(v26);\n    if ( v19 <= 0 )\n    {\n      for ( j = v19; j < 0; j += v27 )\n        ;\n      v26 = a1->m_pages;\n    }\n    else\n    {\n      j = v19 % v27;\n      v26 = a1->m_pages;\n    }\n  }\n  else\n  {\n    j = v19;\n  }\n  v29 = cocos2d::CCArray::objectAtIndex(v26, j);\n  v30 = a1->m_page + 1;\n  v31 = a1->getContentSize(a1);\n  cocos2d::CCPoint::CCPoint(&v59, (float)(v31->width - a1->m_pageOffset) * (float)v30, 0.0);\n  v29->__vftable[2].encodeWithCoder(v29, (DS_Dictionary *)&v59);\n  for ( k = 0; k < cocos2d::CCArray::count(a1->m_pages); ++k )\n  {\n    v33 = cocos2d::CCArray::objectAtIndex(a1->m_pages, k);\n    ((void (__fastcall *)(struct cocos2d::CCObject *, _QWORD))v33->__vftable[4].update)(v33, 0);\n  }\n  v34 = a1->m_pages;\n  if ( a1->m_dynamic )\n  {\n    v35 = a1->m_page;\n    v36 = cocos2d::CCArray::count(v34);\n    if ( v35 <= 0 )\n    {\n      for ( ; v35 < 0; v35 += v36 )\n        ;\n    }\n    else\n    {\n      v35 %= v36;\n    }\n    v37 = cocos2d::CCArray::objectAtIndex(a1->m_pages, v35);\n    v38 = a1->m_pages;\n    v39 = a1->m_page - 1;\n    if ( a1->m_dynamic )\n    {\n      v40 = cocos2d::CCArray::count(v38);\n      if ( v39 <= 0 )\n      {\n        for ( ; v39 < 0; v39 += v40 )\n          ;\n      }\n      else\n      {\n        v39 %= v40;\n      }\n      v38 = a1->m_pages;\n    }\n    v41 = cocos2d::CCArray::objectAtIndex(v38, v39);\n    v42 = a1->m_pages;\n    v43 = a1->m_page + 1;\n    if ( a1->m_dynamic )\n    {\n      v44 = cocos2d::CCArray::count(v42);\n      if ( v43 <= 0 )\n      {\n        for ( ; v43 < 0; v43 += v44 )\n          ;\n      }\n      else\n      {\n        v43 %= v44;\n      }\n      v42 = a1->m_pages;\n    }\n    v45 = cocos2d::CCArray::objectAtIndex(v42, v43);\n    v46 = a1->m_dynamicDelegate->__vftable;\n    v47 = cocos2d::CCArray::objectAtIndex(a1->m_dynamicObjects, m_page);\n    v46->updatePageWithObject(a1->m_dynamicDelegate, v37, v47);\n    v48 = a1->m_dynamicDelegate->__vftable;\n    v49 = cocos2d::CCArray::objectAtIndex(a1->m_dynamicObjects, v5);\n    v48->updatePageWithObject(a1->m_dynamicDelegate, v41, v49);\n    v50 = a1->m_dynamicDelegate->__vftable;\n    v51 = cocos2d::CCArray::objectAtIndex(a1->m_dynamicObjects, v8);\n    v50->updatePageWithObject(a1->m_dynamicDelegate, v45, v51);\n  }\n  else\n  {\n    v37 = cocos2d::CCArray::objectAtIndex(v34, m_page);\n    v53 = a1->m_pages;\n    if ( a1->m_dynamic )\n    {\n      v54 = cocos2d::CCArray::count(v53);\n      if ( v18 <= 0 )\n      {\n        for ( ; v18 < 0; v18 += v54 )\n          ;\n      }\n      else\n      {\n        v18 %= v54;\n      }\n      v53 = a1->m_pages;\n    }\n    v41 = cocos2d::CCArray::objectAtIndex(v53, v18);\n    v55 = a1->m_pages;\n    if ( a1->m_dynamic )\n    {\n      v56 = cocos2d::CCArray::count(v55);\n      if ( v19 <= 0 )\n      {\n        for ( ; v19 < 0; v19 += v56 )\n          ;\n      }\n      else\n      {\n        v19 %= v56;\n      }\n      v55 = a1->m_pages;\n    }\n    v45 = cocos2d::CCArray::objectAtIndex(v55, v19);\n  }\n  LOBYTE(v52) = 1;\n  ((void (__fastcall *)(struct cocos2d::CCObject *, __int64))v37->__vftable[4].update)(v37, v52);\n  LOBYTE(v57) = !a1->m_pagesInvisible;\n  ((void (__fastcall *)(struct cocos2d::CCObject *, __int64))v41->__vftable[4].update)(v41, v57);\n  LOBYTE(v58) = !a1->m_pagesInvisible;\n  ((void (__fastcall *)(struct cocos2d::CCObject *, __int64))v45->__vftable[4].update)(v45, v58);\n}", "assembly": "; \n; BoomScrollLayer::repositionPagesLooped from 0x14003e0b0 to 0x14003e5ef (1343 bytes)\n; \n; 4 xrefs:\n; > BoomScrollLayer::init @ 0x14003d50a\n; > BoomScrollLayer::instantMoveToPage @ 0x14003decc\n; > BoomScrollLayer::moveToPage @ 0x14003e091\n; > <???> @ 0x1406c4080\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14003e0b0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x14003e0b5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14003e0ba\npush    rdi                                                            ; +0xf, 0x14003e0bf\npush    r12                                                            ; +0x10, 0x14003e0c0\npush    r13                                                            ; +0x12, 0x14003e0c2\npush    r14                                                            ; +0x14, 0x14003e0c4\npush    r15                                                            ; +0x16, 0x14003e0c6\nsub     rsp, 20h                                                       ; +0x18, 0x14003e0c8\ncmp     byte ptr [rcx+1C0h], 0                                         ; +0x1c, 0x14003e0cc\nmov     rsi, rcx                                                       ; +0x23, 0x14003e0d3\nmov     r12d, [rcx+244h]                                               ; +0x26, 0x14003e0d6\njz      short loc_14003E0E8                                            ; +0x2d, 0x14003e0dd\nmov     rcx, [rcx+1B8h]                                                ; +0x2f, 0x14003e0df\njmp     short loc_14003E0EF                                            ; +0x36, 0x14003e0e6\nmov     rcx, [rcx+1D8h]                                                ; +0x38, 0x14003e0e8\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3f, 0x14003e0ef\nmov     ecx, eax                                                       ; +0x45, 0x14003e0f5\ntest    r12d, r12d                                                     ; +0x47, 0x14003e0f7\njle     short loc_14003E107                                            ; +0x4a, 0x14003e0fa\nmov     eax, r12d                                                      ; +0x4c, 0x14003e0fc\ncdq                                                                    ; +0x4f, 0x14003e0ff\nidiv    ecx                                                            ; +0x50, 0x14003e100\nmov     r12d, edx                                                      ; +0x52, 0x14003e102\njmp     short loc_14003E115                                            ; +0x55, 0x14003e105\njns     short loc_14003E115                                            ; +0x57, 0x14003e107\nnop     dword ptr [rax+00000000h]                                      ; +0x59, 0x14003e109\nadd     r12d, ecx                                                      ; +0x60, 0x14003e110\njs      short loc_14003E110                                            ; +0x63, 0x14003e113\nmov     r15d, [rsi+244h]                                               ; +0x65, 0x14003e115\ndec     r15d                                                           ; +0x6c, 0x14003e11c\ncmp     byte ptr [rsi+1C0h], 0                                         ; +0x6f, 0x14003e11f\njz      short loc_14003E131                                            ; +0x76, 0x14003e126\nmov     rcx, [rsi+1B8h]                                                ; +0x78, 0x14003e128\njmp     short loc_14003E138                                            ; +0x7f, 0x14003e12f\nmov     rcx, [rsi+1D8h]                                                ; +0x81, 0x14003e131\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x88, 0x14003e138\nmov     ecx, eax                                                       ; +0x8e, 0x14003e13e\ntest    r15d, r15d                                                     ; +0x90, 0x14003e140\njle     short loc_14003E150                                            ; +0x93, 0x14003e143\nmov     eax, r15d                                                      ; +0x95, 0x14003e145\ncdq                                                                    ; +0x98, 0x14003e148\nidiv    ecx                                                            ; +0x99, 0x14003e149\nmov     r15d, edx                                                      ; +0x9b, 0x14003e14b\njmp     short loc_14003E157                                            ; +0x9e, 0x14003e14e\njns     short loc_14003E157                                            ; +0xa0, 0x14003e150\nadd     r15d, ecx                                                      ; +0xa2, 0x14003e152\njs      short loc_14003E152                                            ; +0xa5, 0x14003e155\nmov     r14d, [rsi+244h]                                               ; +0xa7, 0x14003e157\ninc     r14d                                                           ; +0xae, 0x14003e15e\ncmp     byte ptr [rsi+1C0h], 0                                         ; +0xb1, 0x14003e161\njz      short loc_14003E173                                            ; +0xb8, 0x14003e168\nmov     rcx, [rsi+1B8h]                                                ; +0xba, 0x14003e16a\njmp     short loc_14003E17A                                            ; +0xc1, 0x14003e171\nmov     rcx, [rsi+1D8h]                                                ; +0xc3, 0x14003e173\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xca, 0x14003e17a\nmov     ecx, eax                                                       ; +0xd0, 0x14003e180\ntest    r14d, r14d                                                     ; +0xd2, 0x14003e182\njle     short loc_14003E192                                            ; +0xd5, 0x14003e185\nmov     eax, r14d                                                      ; +0xd7, 0x14003e187\ncdq                                                                    ; +0xda, 0x14003e18a\nidiv    ecx                                                            ; +0xdb, 0x14003e18b\nmov     r14d, edx                                                      ; +0xdd, 0x14003e18d\njmp     short loc_14003E199                                            ; +0xe0, 0x14003e190\njns     short loc_14003E199                                            ; +0xe2, 0x14003e192\nadd     r14d, ecx                                                      ; +0xe4, 0x14003e194\njs      short loc_14003E194                                            ; +0xe7, 0x14003e197\ncmp     byte ptr [rsi+1C0h], 0                                         ; +0xe9, 0x14003e199\njz      loc_14003E23C                                                  ; +0xf0, 0x14003e1a0\nmov     rcx, [rsi+1D8h]                                                ; +0xf6, 0x14003e1a6\nmov     ebx, [rsi+244h]                                                ; +0xfd, 0x14003e1ad\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x103, 0x14003e1b3\nmov     ecx, eax                                                       ; +0x109, 0x14003e1b9\ntest    ebx, ebx                                                       ; +0x10b, 0x14003e1bb\njle     short loc_14003E1C8                                            ; +0x10d, 0x14003e1bd\nmov     eax, ebx                                                       ; +0x10f, 0x14003e1bf\ncdq                                                                    ; +0x111, 0x14003e1c1\nidiv    ecx                                                            ; +0x112, 0x14003e1c2\nmov     ebx, edx                                                       ; +0x114, 0x14003e1c4\njmp     short loc_14003E1D4                                            ; +0x116, 0x14003e1c6\njns     short loc_14003E1D4                                            ; +0x118, 0x14003e1c8\nnop     word ptr [rax+rax+00h]                                         ; +0x11a, 0x14003e1ca\nadd     ebx, ecx                                                       ; +0x120, 0x14003e1d0\njs      short loc_14003E1D0                                            ; +0x122, 0x14003e1d2\nmov     rcx, [rsi+1D8h]                                                ; +0x124, 0x14003e1d4\nmov     edx, ebx                                                       ; +0x12b, 0x14003e1db\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x12d, 0x14003e1dd\nmov     rdx, [rsi]                                                     ; +0x133, 0x14003e1e3\nmov     rcx, rsi                                                       ; +0x136, 0x14003e1e6\nmov     ebx, [rsi+244h]                                                ; +0x139, 0x14003e1e9\nmov     rdi, rax                                                       ; +0x13f, 0x14003e1ef\ncall    qword ptr [rdx+130h]                                           ; +0x142, 0x14003e1f2\nmovd    xmm0, ebx                                                      ; +0x148, 0x14003e1f8\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x14c, 0x14003e1fc\ncvtdq2ps xmm0, xmm0                                                    ; +0x151, 0x14003e201\nmovss   xmm1, dword ptr [rax]                                          ; +0x154, 0x14003e204\nxorps   xmm2, xmm2                                                     ; +0x158, 0x14003e208\nsubss   xmm1, dword ptr [rsi+248h]                                     ; +0x15b, 0x14003e20b\nmulss   xmm1, xmm0                                                     ; +0x163, 0x14003e213\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x167, 0x14003e217\nmov     rax, [rdi]                                                     ; +0x16d, 0x14003e21d\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x170, 0x14003e220\nmov     rcx, rdi                                                       ; +0x175, 0x14003e225\ncall    qword ptr [rax+0B8h]                                           ; +0x178, 0x14003e228\nmov     eax, [rsi+244h]                                                ; +0x17e, 0x14003e22e\nlea     ebp, [rax-1]                                                   ; +0x184, 0x14003e234\nlea     edi, [rax+1]                                                   ; +0x187, 0x14003e237\njmp     short loc_14003E242                                            ; +0x18a, 0x14003e23a\nmov     ebp, r15d                                                      ; +0x18c, 0x14003e23c\nmov     edi, r14d                                                      ; +0x18f, 0x14003e23f\ncmp     byte ptr [rsi+1C0h], 0                                         ; +0x192, 0x14003e242\nmov     rcx, [rsi+1D8h]                                                ; +0x199, 0x14003e249\njz      short loc_14003E27F                                            ; +0x1a0, 0x14003e250\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1a2, 0x14003e252\nmov     ecx, eax                                                       ; +0x1a8, 0x14003e258\ntest    ebp, ebp                                                       ; +0x1aa, 0x14003e25a\njle     short loc_14003E26C                                            ; +0x1ac, 0x14003e25c\nmov     eax, ebp                                                       ; +0x1ae, 0x14003e25e\ncdq                                                                    ; +0x1b0, 0x14003e260\nidiv    ecx                                                            ; +0x1b1, 0x14003e261\nmov     rcx, [rsi+1D8h]                                                ; +0x1b3, 0x14003e263\njmp     short loc_14003E281                                            ; +0x1ba, 0x14003e26a\nmov     edx, ebp                                                       ; +0x1bc, 0x14003e26c\ntest    ebp, ebp                                                       ; +0x1be, 0x14003e26e\njns     short loc_14003E276                                            ; +0x1c0, 0x14003e270\nadd     edx, ecx                                                       ; +0x1c2, 0x14003e272\njs      short loc_14003E272                                            ; +0x1c4, 0x14003e274\nmov     rcx, [rsi+1D8h]                                                ; +0x1c6, 0x14003e276\njmp     short loc_14003E281                                            ; +0x1cd, 0x14003e27d\nmov     edx, ebp                                                       ; +0x1cf, 0x14003e27f\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1d1, 0x14003e281\nmov     ebx, [rsi+244h]                                                ; +0x1d7, 0x14003e287\nmov     rcx, rsi                                                       ; +0x1dd, 0x14003e28d\nmov     r13, rax                                                       ; +0x1e0, 0x14003e290\ndec     ebx                                                            ; +0x1e3, 0x14003e293\nmov     rax, [rsi]                                                     ; +0x1e5, 0x14003e295\ncall    qword ptr [rax+130h]                                           ; +0x1e8, 0x14003e298\nmovd    xmm0, ebx                                                      ; +0x1ee, 0x14003e29e\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x1f2, 0x14003e2a2\ncvtdq2ps xmm0, xmm0                                                    ; +0x1f7, 0x14003e2a7\nmovss   xmm1, dword ptr [rax]                                          ; +0x1fa, 0x14003e2aa\nxorps   xmm2, xmm2                                                     ; +0x1fe, 0x14003e2ae\nsubss   xmm1, dword ptr [rsi+248h]                                     ; +0x201, 0x14003e2b1\nmulss   xmm1, xmm0                                                     ; +0x209, 0x14003e2b9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x20d, 0x14003e2bd\nmov     rax, [r13+0]                                                   ; +0x213, 0x14003e2c3\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x217, 0x14003e2c7\nmov     rcx, r13                                                       ; +0x21c, 0x14003e2cc\ncall    qword ptr [rax+0B8h]                                           ; +0x21f, 0x14003e2cf\ncmp     byte ptr [rsi+1C0h], 0                                         ; +0x225, 0x14003e2d5\nmov     rcx, [rsi+1D8h]                                                ; +0x22c, 0x14003e2dc\njz      short loc_14003E312                                            ; +0x233, 0x14003e2e3\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x235, 0x14003e2e5\nmov     ecx, eax                                                       ; +0x23b, 0x14003e2eb\ntest    edi, edi                                                       ; +0x23d, 0x14003e2ed\njle     short loc_14003E2FF                                            ; +0x23f, 0x14003e2ef\nmov     eax, edi                                                       ; +0x241, 0x14003e2f1\ncdq                                                                    ; +0x243, 0x14003e2f3\nidiv    ecx                                                            ; +0x244, 0x14003e2f4\nmov     rcx, [rsi+1D8h]                                                ; +0x246, 0x14003e2f6\njmp     short loc_14003E314                                            ; +0x24d, 0x14003e2fd\nmov     edx, edi                                                       ; +0x24f, 0x14003e2ff\ntest    edi, edi                                                       ; +0x251, 0x14003e301\njns     short loc_14003E309                                            ; +0x253, 0x14003e303\nadd     edx, ecx                                                       ; +0x255, 0x14003e305\njs      short loc_14003E305                                            ; +0x257, 0x14003e307\nmov     rcx, [rsi+1D8h]                                                ; +0x259, 0x14003e309\njmp     short loc_14003E314                                            ; +0x260, 0x14003e310\nmov     edx, edi                                                       ; +0x262, 0x14003e312\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x264, 0x14003e314\nmov     ebx, [rsi+244h]                                                ; +0x26a, 0x14003e31a\nmov     rcx, rsi                                                       ; +0x270, 0x14003e320\nmov     r13, rax                                                       ; +0x273, 0x14003e323\ninc     ebx                                                            ; +0x276, 0x14003e326\nmov     rax, [rsi]                                                     ; +0x278, 0x14003e328\ncall    qword ptr [rax+130h]                                           ; +0x27b, 0x14003e32b\nmovd    xmm0, ebx                                                      ; +0x281, 0x14003e331\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x285, 0x14003e335\ncvtdq2ps xmm0, xmm0                                                    ; +0x28a, 0x14003e33a\nmovss   xmm1, dword ptr [rax]                                          ; +0x28d, 0x14003e33d\nxorps   xmm2, xmm2                                                     ; +0x291, 0x14003e341\nsubss   xmm1, dword ptr [rsi+248h]                                     ; +0x294, 0x14003e344\nmulss   xmm1, xmm0                                                     ; +0x29c, 0x14003e34c\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2a0, 0x14003e350\nmov     rax, [r13+0]                                                   ; +0x2a6, 0x14003e356\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x2aa, 0x14003e35a\nmov     rcx, r13                                                       ; +0x2af, 0x14003e35f\ncall    qword ptr [rax+0B8h]                                           ; +0x2b2, 0x14003e362\nmov     rcx, [rsi+1D8h]                                                ; +0x2b8, 0x14003e368\nxor     ebx, ebx                                                       ; +0x2bf, 0x14003e36f\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2c1, 0x14003e371\ntest    eax, eax                                                       ; +0x2c7, 0x14003e377\njz      short loc_14003E3B1                                            ; +0x2c9, 0x14003e379\nnop     dword ptr [rax+rax+00h]                                        ; +0x2cb, 0x14003e37b\nmov     rcx, [rsi+1D8h]                                                ; +0x2d0, 0x14003e380\nmov     edx, ebx                                                       ; +0x2d7, 0x14003e387\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x2d9, 0x14003e389\nxor     edx, edx                                                       ; +0x2df, 0x14003e38f\nmov     rcx, rax                                                       ; +0x2e1, 0x14003e391\nmov     r8, [rax]                                                      ; +0x2e4, 0x14003e394\ncall    qword ptr [r8+140h]                                            ; +0x2e7, 0x14003e397\nmov     rcx, [rsi+1D8h]                                                ; +0x2ee, 0x14003e39e\ninc     ebx                                                            ; +0x2f5, 0x14003e3a5\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2f7, 0x14003e3a7\ncmp     ebx, eax                                                       ; +0x2fd, 0x14003e3ad\njb      short loc_14003E380                                            ; +0x2ff, 0x14003e3af\ncmp     byte ptr [rsi+1C0h], 0                                         ; +0x301, 0x14003e3b1\nmov     rcx, [rsi+1D8h]                                                ; +0x308, 0x14003e3b8\njz      loc_14003E506                                                  ; +0x30f, 0x14003e3bf\nmov     ebx, [rsi+244h]                                                ; +0x315, 0x14003e3c5\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x31b, 0x14003e3cb\nmov     ecx, eax                                                       ; +0x321, 0x14003e3d1\ntest    ebx, ebx                                                       ; +0x323, 0x14003e3d3\njle     short loc_14003E3E0                                            ; +0x325, 0x14003e3d5\nmov     eax, ebx                                                       ; +0x327, 0x14003e3d7\ncdq                                                                    ; +0x329, 0x14003e3d9\nidiv    ecx                                                            ; +0x32a, 0x14003e3da\nmov     ebx, edx                                                       ; +0x32c, 0x14003e3dc\njmp     short loc_14003E3E6                                            ; +0x32e, 0x14003e3de\njns     short loc_14003E3E6                                            ; +0x330, 0x14003e3e0\nadd     ebx, ecx                                                       ; +0x332, 0x14003e3e2\njs      short loc_14003E3E2                                            ; +0x334, 0x14003e3e4\nmov     rcx, [rsi+1D8h]                                                ; +0x336, 0x14003e3e6\nmov     edx, ebx                                                       ; +0x33d, 0x14003e3ed\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x33f, 0x14003e3ef\nmov     ebx, [rsi+244h]                                                ; +0x345, 0x14003e3f5\nmov     r13, rax                                                       ; +0x34b, 0x14003e3fb\nmov     rcx, [rsi+1D8h]                                                ; +0x34e, 0x14003e3fe\ndec     ebx                                                            ; +0x355, 0x14003e405\ncmp     byte ptr [rsi+1C0h], 0                                         ; +0x357, 0x14003e407\njz      short loc_14003E432                                            ; +0x35e, 0x14003e40e\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x360, 0x14003e410\nmov     ecx, eax                                                       ; +0x366, 0x14003e416\ntest    ebx, ebx                                                       ; +0x368, 0x14003e418\njle     short loc_14003E425                                            ; +0x36a, 0x14003e41a\nmov     eax, ebx                                                       ; +0x36c, 0x14003e41c\ncdq                                                                    ; +0x36e, 0x14003e41e\nidiv    ecx                                                            ; +0x36f, 0x14003e41f\nmov     ebx, edx                                                       ; +0x371, 0x14003e421\njmp     short loc_14003E42B                                            ; +0x373, 0x14003e423\njns     short loc_14003E42B                                            ; +0x375, 0x14003e425\nadd     ebx, ecx                                                       ; +0x377, 0x14003e427\njs      short loc_14003E427                                            ; +0x379, 0x14003e429\nmov     rcx, [rsi+1D8h]                                                ; +0x37b, 0x14003e42b\nmov     edx, ebx                                                       ; +0x382, 0x14003e432\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x384, 0x14003e434\nmov     ebx, [rsi+244h]                                                ; +0x38a, 0x14003e43a\nmov     rbp, rax                                                       ; +0x390, 0x14003e440\nmov     rcx, [rsi+1D8h]                                                ; +0x393, 0x14003e443\ninc     ebx                                                            ; +0x39a, 0x14003e44a\ncmp     byte ptr [rsi+1C0h], 0                                         ; +0x39c, 0x14003e44c\njz      short loc_14003E47B                                            ; +0x3a3, 0x14003e453\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3a5, 0x14003e455\nmov     ecx, eax                                                       ; +0x3ab, 0x14003e45b\ntest    ebx, ebx                                                       ; +0x3ad, 0x14003e45d\njle     short loc_14003E46A                                            ; +0x3af, 0x14003e45f\nmov     eax, ebx                                                       ; +0x3b1, 0x14003e461\ncdq                                                                    ; +0x3b3, 0x14003e463\nidiv    ecx                                                            ; +0x3b4, 0x14003e464\nmov     ebx, edx                                                       ; +0x3b6, 0x14003e466\njmp     short loc_14003E474                                            ; +0x3b8, 0x14003e468\njns     short loc_14003E474                                            ; +0x3ba, 0x14003e46a\nnop     dword ptr [rax+00h]                                            ; +0x3bc, 0x14003e46c\nadd     ebx, ecx                                                       ; +0x3c0, 0x14003e470\njs      short loc_14003E470                                            ; +0x3c2, 0x14003e472\nmov     rcx, [rsi+1D8h]                                                ; +0x3c4, 0x14003e474\nmov     edx, ebx                                                       ; +0x3cb, 0x14003e47b\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x3cd, 0x14003e47d\nmov     rcx, [rsi+1B8h]                                                ; +0x3d3, 0x14003e483\nmov     edx, r12d                                                      ; +0x3da, 0x14003e48a\nmov     rdi, rax                                                       ; +0x3dd, 0x14003e48d\nmov     rax, [rsi+1B0h]                                                ; +0x3e0, 0x14003e490\nmov     rbx, [rax]                                                     ; +0x3e7, 0x14003e497\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x3ea, 0x14003e49a\nmov     rcx, [rsi+1B0h]                                                ; +0x3f0, 0x14003e4a0\nmov     rdx, r13                                                       ; +0x3f7, 0x14003e4a7\nmov     r8, rax                                                        ; +0x3fa, 0x14003e4aa\ncall    qword ptr [rbx]                                                ; +0x3fd, 0x14003e4ad\nmov     rax, [rsi+1B0h]                                                ; +0x3ff, 0x14003e4af\nmov     edx, r15d                                                      ; +0x406, 0x14003e4b6\nmov     rcx, [rsi+1B8h]                                                ; +0x409, 0x14003e4b9\nmov     rbx, [rax]                                                     ; +0x410, 0x14003e4c0\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x413, 0x14003e4c3\nmov     rcx, [rsi+1B0h]                                                ; +0x419, 0x14003e4c9\nmov     rdx, rbp                                                       ; +0x420, 0x14003e4d0\nmov     r8, rax                                                        ; +0x423, 0x14003e4d3\ncall    qword ptr [rbx]                                                ; +0x426, 0x14003e4d6\nmov     rax, [rsi+1B0h]                                                ; +0x428, 0x14003e4d8\nmov     edx, r14d                                                      ; +0x42f, 0x14003e4df\nmov     rcx, [rsi+1B8h]                                                ; +0x432, 0x14003e4e2\nmov     rbx, [rax]                                                     ; +0x439, 0x14003e4e9\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x43c, 0x14003e4ec\nmov     rcx, [rsi+1B0h]                                                ; +0x442, 0x14003e4f2\nmov     rdx, rdi                                                       ; +0x449, 0x14003e4f9\nmov     r8, rax                                                        ; +0x44c, 0x14003e4fc\ncall    qword ptr [rbx]                                                ; +0x44f, 0x14003e4ff\njmp     loc_14003E596                                                  ; +0x451, 0x14003e501\nmov     edx, r12d                                                      ; +0x456, 0x14003e506\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x459, 0x14003e509\ncmp     byte ptr [rsi+1C0h], 0                                         ; +0x45f, 0x14003e50f\nmov     r13, rax                                                       ; +0x466, 0x14003e516\nmov     rcx, [rsi+1D8h]                                                ; +0x469, 0x14003e519\njz      short loc_14003E54B                                            ; +0x470, 0x14003e520\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x472, 0x14003e522\nmov     ecx, eax                                                       ; +0x478, 0x14003e528\ntest    ebp, ebp                                                       ; +0x47a, 0x14003e52a\njle     short loc_14003E537                                            ; +0x47c, 0x14003e52c\nmov     eax, ebp                                                       ; +0x47e, 0x14003e52e\ncdq                                                                    ; +0x480, 0x14003e530\nidiv    ecx                                                            ; +0x481, 0x14003e531\nmov     ebp, edx                                                       ; +0x483, 0x14003e533\njmp     short loc_14003E544                                            ; +0x485, 0x14003e535\njns     short loc_14003E544                                            ; +0x487, 0x14003e537\nnop     dword ptr [rax+00000000h]                                      ; +0x489, 0x14003e539\nadd     ebp, ecx                                                       ; +0x490, 0x14003e540\njs      short loc_14003E540                                            ; +0x492, 0x14003e542\nmov     rcx, [rsi+1D8h]                                                ; +0x494, 0x14003e544\nmov     edx, ebp                                                       ; +0x49b, 0x14003e54b\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49d, 0x14003e54d\ncmp     byte ptr [rsi+1C0h], 0                                         ; +0x4a3, 0x14003e553\nmov     rbp, rax                                                       ; +0x4aa, 0x14003e55a\nmov     rcx, [rsi+1D8h]                                                ; +0x4ad, 0x14003e55d\njz      short loc_14003E58B                                            ; +0x4b4, 0x14003e564\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4b6, 0x14003e566\nmov     ecx, eax                                                       ; +0x4bc, 0x14003e56c\ntest    edi, edi                                                       ; +0x4be, 0x14003e56e\njle     short loc_14003E57B                                            ; +0x4c0, 0x14003e570\nmov     eax, edi                                                       ; +0x4c2, 0x14003e572\ncdq                                                                    ; +0x4c4, 0x14003e574\nidiv    ecx                                                            ; +0x4c5, 0x14003e575\nmov     edi, edx                                                       ; +0x4c7, 0x14003e577\njmp     short loc_14003E584                                            ; +0x4c9, 0x14003e579\njns     short loc_14003E584                                            ; +0x4cb, 0x14003e57b\nnop     dword ptr [rax]                                                ; +0x4cd, 0x14003e57d\nadd     edi, ecx                                                       ; +0x4d0, 0x14003e580\njs      short loc_14003E580                                            ; +0x4d2, 0x14003e582\nmov     rcx, [rsi+1D8h]                                                ; +0x4d4, 0x14003e584\nmov     edx, edi                                                       ; +0x4db, 0x14003e58b\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4dd, 0x14003e58d\nmov     rdi, rax                                                       ; +0x4e3, 0x14003e593\nmov     rax, [r13+0]                                                   ; +0x4e6, 0x14003e596\nmov     dl, 1                                                          ; +0x4ea, 0x14003e59a\nmov     rcx, r13                                                       ; +0x4ec, 0x14003e59c\ncall    qword ptr [rax+140h]                                           ; +0x4ef, 0x14003e59f\ncmp     byte ptr [rsi+221h], 0                                         ; +0x4f5, 0x14003e5a5\nmov     rcx, rbp                                                       ; +0x4fc, 0x14003e5ac\nmov     rax, [rbp+0]                                                   ; +0x4ff, 0x14003e5af\nsetz    dl                                                             ; +0x503, 0x14003e5b3\ncall    qword ptr [rax+140h]                                           ; +0x506, 0x14003e5b6\ncmp     byte ptr [rsi+221h], 0                                         ; +0x50c, 0x14003e5bc\nmov     rcx, rdi                                                       ; +0x513, 0x14003e5c3\nmov     rax, [rdi]                                                     ; +0x516, 0x14003e5c6\nsetz    dl                                                             ; +0x519, 0x14003e5c9\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x51c, 0x14003e5cc\nmov     rbp, [rsp+48h+arg_10]                                          ; +0x521, 0x14003e5d1\nmov     rsi, [rsp+48h+arg_18]                                          ; +0x526, 0x14003e5d6\nadd     rsp, 20h                                                       ; +0x52b, 0x14003e5db\npop     r15                                                            ; +0x52f, 0x14003e5df\npop     r14                                                            ; +0x531, 0x14003e5e1\npop     r13                                                            ; +0x533, 0x14003e5e3\npop     r12                                                            ; +0x535, 0x14003e5e5\npop     rdi                                                            ; +0x537, 0x14003e5e7\njmp     qword ptr [rax+140h]                                           ; +0x538, 0x14003e5e8", "xrefs": ["BoomScrollLayer::init @ 0x14003d50a", "BoomScrollLayer::instantMoveToPage @ 0x14003decc", "BoomScrollLayer::moveToPage @ 0x14003e091", "<???> @ 0x1406c4080"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}