{"type": "func", "start": 5368977904, "end": 5368979247, "name": "BoomScrollLayer::repositionPagesLooped", "pseudocode": "// \n// BoomScrollLayer::repositionPagesLooped from 0x1400419f0 to 0x140041f2f (1343 bytes)\n// \n// 4 xrefs:\n// > BoomScrollLayer::init @ 0x140040df1\n// > BoomScrollLayer::instantMoveToPage @ 0x14004180c\n// > BoomScrollLayer::moveToPage @ 0x1400419d4\n// > <???> @ 0x14090f578\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:25:29 +0000\n// \n\n__int64 __fastcall BoomScrollLayer::repositionPagesLooped(__int64 a1)\n{\n  signed int v2; // r12d\n  cocos2d::CCArray *v3; // rcx\n  signed int v4; // ecx\n  signed int v5; // r15d\n  cocos2d::CCArray *v6; // 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; // rdi\n  int v14; // ebx\n  float *v15; // rax\n  int v16; // eax\n  signed int v17; // ebp\n  signed int v18; // edi\n  cocos2d::CCArray *v19; // rcx\n  signed int v20; // ecx\n  signed int i; // edx\n  struct cocos2d::CCObject *v22; // r13\n  int v23; // ebx\n  float *v24; // rax\n  cocos2d::CCArray *v25; // rcx\n  signed int v26; // ecx\n  signed int j; // edx\n  struct cocos2d::CCObject *v28; // r13\n  int v29; // ebx\n  float *v30; // rax\n  unsigned int k; // ebx\n  struct cocos2d::CCObject *v32; // rax\n  cocos2d::CCArray *v33; // rcx\n  signed int v34; // ebx\n  signed int v35; // ecx\n  struct cocos2d::CCObject *v36; // rax\n  cocos2d::CCArray *v37; // rcx\n  signed int v38; // ebx\n  bool v39; // zf\n  signed int v40; // ecx\n  struct cocos2d::CCObject *v41; // r13\n  cocos2d::CCArray *v42; // rcx\n  signed int v43; // ebx\n  signed int v44; // ecx\n  struct cocos2d::CCObject *v45; // rax\n  void (__fastcall ***v46)(_QWORD, struct cocos2d::CCObject *, struct cocos2d::CCObject *); // rdi\n  struct cocos2d::CCObject *v47; // rbp\n  void (__fastcall **v48)(_QWORD, struct cocos2d::CCObject *, struct cocos2d::CCObject *); // rbx\n  struct cocos2d::CCObject *v49; // rax\n  void (__fastcall ***v50)(_QWORD, struct cocos2d::CCObject *, struct cocos2d::CCObject *); // rdi\n  void (__fastcall **v51)(_QWORD, struct cocos2d::CCObject *, struct cocos2d::CCObject *); // rbx\n  struct cocos2d::CCObject *v52; // rax\n  void (__fastcall ***v53)(_QWORD, struct cocos2d::CCObject *, struct cocos2d::CCObject *); // rdi\n  void (__fastcall **v54)(_QWORD, struct cocos2d::CCObject *, struct cocos2d::CCObject *); // rbx\n  struct cocos2d::CCObject *v55; // rax\n  __int64 v56; // rdx\n  struct cocos2d::CCObject *v57; // rbx\n  cocos2d::CCArray *v58; // rcx\n  signed int v59; // ecx\n  cocos2d::CCArray *v60; // rcx\n  signed int v61; // ecx\n  __int64 v62; // rdx\n  __int64 v63; // rdx\n  struct cocos2d::CCObject *v65; // [rsp+50h] [rbp+8h] BYREF\n\n  v2 = *(_DWORD *)(a1 + 588);\n  if ( *(_BYTE *)(a1 + 456) )\n    v3 = *(cocos2d::CCArray **)(a1 + 448);\n  else\n    v3 = *(cocos2d::CCArray **)(a1 + 480);\n  v4 = cocos2d::CCArray::count(v3);\n  if ( v2 <= 0 )\n  {\n    for ( ; v2 < 0; v2 += v4 )\n      ;\n  }\n  else\n  {\n    v2 %= v4;\n  }\n  v5 = *(_DWORD *)(a1 + 588) - 1;\n  if ( *(_BYTE *)(a1 + 456) )\n    v6 = *(cocos2d::CCArray **)(a1 + 448);\n  else\n    v6 = *(cocos2d::CCArray **)(a1 + 480);\n  v7 = cocos2d::CCArray::count(v6);\n  if ( v5 <= 0 )\n  {\n    for ( ; v5 < 0; v5 += v7 )\n      ;\n  }\n  else\n  {\n    v5 %= v7;\n  }\n  v8 = *(_DWORD *)(a1 + 588) + 1;\n  if ( *(_BYTE *)(a1 + 456) )\n    v9 = *(cocos2d::CCArray **)(a1 + 448);\n  else\n    v9 = *(cocos2d::CCArray **)(a1 + 480);\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 ( *(_BYTE *)(a1 + 456) )\n  {\n    v11 = *(_DWORD *)(a1 + 588);\n    v12 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 480));\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(*(cocos2d::CCArray **)(a1 + 480), v11);\n    v14 = *(_DWORD *)(a1 + 588);\n    v15 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 320LL))(a1);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v65, (float)(*v15 - *(float *)(a1 + 592)) * (float)v14, 0.0);\n    (*(void (__fastcall **)(struct cocos2d::CCObject *, struct cocos2d::CCObject **))(*(_QWORD *)v13 + 184LL))(\n      v13,\n      &v65);\n    v16 = *(_DWORD *)(a1 + 588);\n    v17 = v16 - 1;\n    v18 = v16 + 1;\n  }\n  else\n  {\n    v17 = v5;\n    v18 = v8;\n  }\n  v19 = *(cocos2d::CCArray **)(a1 + 480);\n  if ( *(_BYTE *)(a1 + 456) )\n  {\n    v20 = cocos2d::CCArray::count(v19);\n    if ( v17 <= 0 )\n    {\n      for ( i = v17; i < 0; i += v20 )\n        ;\n      v19 = *(cocos2d::CCArray **)(a1 + 480);\n    }\n    else\n    {\n      i = v17 % v20;\n      v19 = *(cocos2d::CCArray **)(a1 + 480);\n    }\n  }\n  else\n  {\n    i = v17;\n  }\n  v22 = cocos2d::CCArray::objectAtIndex(v19, i);\n  v23 = *(_DWORD *)(a1 + 588) - 1;\n  v24 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 320LL))(a1);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v65, (float)(*v24 - *(float *)(a1 + 592)) * (float)v23, 0.0);\n  (*(void (__fastcall **)(struct cocos2d::CCObject *, struct cocos2d::CCObject **))(*(_QWORD *)v22 + 184LL))(v22, &v65);\n  v25 = *(cocos2d::CCArray **)(a1 + 480);\n  if ( *(_BYTE *)(a1 + 456) )\n  {\n    v26 = cocos2d::CCArray::count(v25);\n    if ( v18 <= 0 )\n    {\n      for ( j = v18; j < 0; j += v26 )\n        ;\n      v25 = *(cocos2d::CCArray **)(a1 + 480);\n    }\n    else\n    {\n      j = v18 % v26;\n      v25 = *(cocos2d::CCArray **)(a1 + 480);\n    }\n  }\n  else\n  {\n    j = v18;\n  }\n  v28 = cocos2d::CCArray::objectAtIndex(v25, j);\n  v29 = *(_DWORD *)(a1 + 588) + 1;\n  v30 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 320LL))(a1);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v65, (float)(*v30 - *(float *)(a1 + 592)) * (float)v29, 0.0);\n  (*(void (__fastcall **)(struct cocos2d::CCObject *, struct cocos2d::CCObject **))(*(_QWORD *)v28 + 184LL))(v28, &v65);\n  for ( k = 0; k < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 480)); ++k )\n  {\n    v32 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 480), k);\n    (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v32 + 336LL))(v32, 0);\n  }\n  v33 = *(cocos2d::CCArray **)(a1 + 480);\n  if ( *(_BYTE *)(a1 + 456) )\n  {\n    v34 = *(_DWORD *)(a1 + 588);\n    v35 = cocos2d::CCArray::count(v33);\n    if ( v34 <= 0 )\n    {\n      for ( ; v34 < 0; v34 += v35 )\n        ;\n    }\n    else\n    {\n      v34 %= v35;\n    }\n    v36 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 480), v34);\n    v37 = *(cocos2d::CCArray **)(a1 + 480);\n    v38 = *(_DWORD *)(a1 + 588) - 1;\n    v39 = *(_BYTE *)(a1 + 456) == 0;\n    v65 = v36;\n    if ( !v39 )\n    {\n      v40 = cocos2d::CCArray::count(v37);\n      if ( v38 <= 0 )\n      {\n        for ( ; v38 < 0; v38 += v40 )\n          ;\n      }\n      else\n      {\n        v38 %= v40;\n      }\n      v37 = *(cocos2d::CCArray **)(a1 + 480);\n    }\n    v41 = cocos2d::CCArray::objectAtIndex(v37, v38);\n    v42 = *(cocos2d::CCArray **)(a1 + 480);\n    v43 = *(_DWORD *)(a1 + 588) + 1;\n    if ( *(_BYTE *)(a1 + 456) )\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 = *(cocos2d::CCArray **)(a1 + 480);\n    }\n    v45 = cocos2d::CCArray::objectAtIndex(v42, v43);\n    v46 = *(void (__fastcall ****)(_QWORD, struct cocos2d::CCObject *, struct cocos2d::CCObject *))(a1 + 440);\n    v47 = v45;\n    v48 = *v46;\n    v49 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 448), v2);\n    (*v48)(v46, v65, v49);\n    v50 = *(void (__fastcall ****)(_QWORD, struct cocos2d::CCObject *, struct cocos2d::CCObject *))(a1 + 440);\n    v51 = *v50;\n    v52 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 448), v5);\n    (*v51)(v50, v41, v52);\n    v53 = *(void (__fastcall ****)(_QWORD, struct cocos2d::CCObject *, struct cocos2d::CCObject *))(a1 + 440);\n    v54 = *v53;\n    v55 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 448), v8);\n    (*v54)(v53, v47, v55);\n    v57 = v65;\n  }\n  else\n  {\n    v57 = cocos2d::CCArray::objectAtIndex(v33, v2);\n    v58 = *(cocos2d::CCArray **)(a1 + 480);\n    if ( *(_BYTE *)(a1 + 456) )\n    {\n      v59 = cocos2d::CCArray::count(v58);\n      if ( v17 <= 0 )\n      {\n        for ( ; v17 < 0; v17 += v59 )\n          ;\n      }\n      else\n      {\n        v17 %= v59;\n      }\n      v58 = *(cocos2d::CCArray **)(a1 + 480);\n    }\n    v41 = cocos2d::CCArray::objectAtIndex(v58, v17);\n    v60 = *(cocos2d::CCArray **)(a1 + 480);\n    if ( *(_BYTE *)(a1 + 456) )\n    {\n      v61 = cocos2d::CCArray::count(v60);\n      if ( v18 <= 0 )\n      {\n        for ( ; v18 < 0; v18 += v61 )\n          ;\n      }\n      else\n      {\n        v18 %= v61;\n      }\n      v60 = *(cocos2d::CCArray **)(a1 + 480);\n    }\n    v47 = cocos2d::CCArray::objectAtIndex(v60, v18);\n  }\n  LOBYTE(v56) = 1;\n  (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v57 + 336LL))(v57, v56);\n  LOBYTE(v62) = *(_BYTE *)(a1 + 553) == 0;\n  (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v41 + 336LL))(v41, v62);\n  LOBYTE(v63) = *(_BYTE *)(a1 + 553) == 0;\n  return (*(__int64 (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v47 + 336LL))(v47, v63);\n}", "assembly": "; \n; BoomScrollLayer::repositionPagesLooped from 0x1400419f0 to 0x140041f2f (1343 bytes)\n; \n; 4 xrefs:\n; > BoomScrollLayer::init @ 0x140040df1\n; > BoomScrollLayer::instantMoveToPage @ 0x14004180c\n; > BoomScrollLayer::moveToPage @ 0x1400419d4\n; > <???> @ 0x14090f578\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:25:29 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1400419f0\nmov     [rsp+arg_18], rbp                                              ; +0x5, 0x1400419f5\npush    rsi                                                            ; +0xa, 0x1400419fa\npush    r12                                                            ; +0xb, 0x1400419fb\npush    r13                                                            ; +0xd, 0x1400419fd\npush    r14                                                            ; +0xf, 0x1400419ff\npush    r15                                                            ; +0x11, 0x140041a01\nsub     rsp, 20h                                                       ; +0x13, 0x140041a03\ncmp     byte ptr [rcx+1C8h], 0                                         ; +0x17, 0x140041a07\nmov     rsi, rcx                                                       ; +0x1e, 0x140041a0e\nmov     r12d, [rcx+24Ch]                                               ; +0x21, 0x140041a11\njz      short loc_140041A23                                            ; +0x28, 0x140041a18\nmov     rcx, [rcx+1C0h]                                                ; +0x2a, 0x140041a1a\njmp     short loc_140041A2A                                            ; +0x31, 0x140041a21\nmov     rcx, [rcx+1E0h]                                                ; +0x33, 0x140041a23\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3a, 0x140041a2a\nmov     ecx, eax                                                       ; +0x40, 0x140041a30\ntest    r12d, r12d                                                     ; +0x42, 0x140041a32\njle     short loc_140041A42                                            ; +0x45, 0x140041a35\nmov     eax, r12d                                                      ; +0x47, 0x140041a37\ncdq                                                                    ; +0x4a, 0x140041a3a\nidiv    ecx                                                            ; +0x4b, 0x140041a3b\nmov     r12d, edx                                                      ; +0x4d, 0x140041a3d\njmp     short loc_140041A49                                            ; +0x50, 0x140041a40\njns     short loc_140041A49                                            ; +0x52, 0x140041a42\nadd     r12d, ecx                                                      ; +0x54, 0x140041a44\njs      short loc_140041A44                                            ; +0x57, 0x140041a47\nmov     r15d, [rsi+24Ch]                                               ; +0x59, 0x140041a49\ndec     r15d                                                           ; +0x60, 0x140041a50\ncmp     byte ptr [rsi+1C8h], 0                                         ; +0x63, 0x140041a53\njz      short loc_140041A65                                            ; +0x6a, 0x140041a5a\nmov     rcx, [rsi+1C0h]                                                ; +0x6c, 0x140041a5c\njmp     short loc_140041A6C                                            ; +0x73, 0x140041a63\nmov     rcx, [rsi+1E0h]                                                ; +0x75, 0x140041a65\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x7c, 0x140041a6c\nmov     ecx, eax                                                       ; +0x82, 0x140041a72\ntest    r15d, r15d                                                     ; +0x84, 0x140041a74\njle     short loc_140041A84                                            ; +0x87, 0x140041a77\nmov     eax, r15d                                                      ; +0x89, 0x140041a79\ncdq                                                                    ; +0x8c, 0x140041a7c\nidiv    ecx                                                            ; +0x8d, 0x140041a7d\nmov     r15d, edx                                                      ; +0x8f, 0x140041a7f\njmp     short loc_140041A8B                                            ; +0x92, 0x140041a82\njns     short loc_140041A8B                                            ; +0x94, 0x140041a84\nadd     r15d, ecx                                                      ; +0x96, 0x140041a86\njs      short loc_140041A86                                            ; +0x99, 0x140041a89\nmov     r14d, [rsi+24Ch]                                               ; +0x9b, 0x140041a8b\ninc     r14d                                                           ; +0xa2, 0x140041a92\ncmp     byte ptr [rsi+1C8h], 0                                         ; +0xa5, 0x140041a95\njz      short loc_140041AA7                                            ; +0xac, 0x140041a9c\nmov     rcx, [rsi+1C0h]                                                ; +0xae, 0x140041a9e\njmp     short loc_140041AAE                                            ; +0xb5, 0x140041aa5\nmov     rcx, [rsi+1E0h]                                                ; +0xb7, 0x140041aa7\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xbe, 0x140041aae\nmov     ecx, eax                                                       ; +0xc4, 0x140041ab4\ntest    r14d, r14d                                                     ; +0xc6, 0x140041ab6\njle     short loc_140041AC6                                            ; +0xc9, 0x140041ab9\nmov     eax, r14d                                                      ; +0xcb, 0x140041abb\ncdq                                                                    ; +0xce, 0x140041abe\nidiv    ecx                                                            ; +0xcf, 0x140041abf\nmov     r14d, edx                                                      ; +0xd1, 0x140041ac1\njmp     short loc_140041ACD                                            ; +0xd4, 0x140041ac4\njns     short loc_140041ACD                                            ; +0xd6, 0x140041ac6\nadd     r14d, ecx                                                      ; +0xd8, 0x140041ac8\njs      short loc_140041AC8                                            ; +0xdb, 0x140041acb\ncmp     byte ptr [rsi+1C8h], 0                                         ; +0xdd, 0x140041acd\nmov     [rsp+48h+arg_8], rdi                                           ; +0xe4, 0x140041ad4\njz      loc_140041B72                                                  ; +0xe9, 0x140041ad9\nmov     rcx, [rsi+1E0h]                                                ; +0xef, 0x140041adf\nmov     ebx, [rsi+24Ch]                                                ; +0xf6, 0x140041ae6\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xfc, 0x140041aec\nmov     ecx, eax                                                       ; +0x102, 0x140041af2\ntest    ebx, ebx                                                       ; +0x104, 0x140041af4\njle     short loc_140041B01                                            ; +0x106, 0x140041af6\nmov     eax, ebx                                                       ; +0x108, 0x140041af8\ncdq                                                                    ; +0x10a, 0x140041afa\nidiv    ecx                                                            ; +0x10b, 0x140041afb\nmov     ebx, edx                                                       ; +0x10d, 0x140041afd\njmp     short loc_140041B07                                            ; +0x10f, 0x140041aff\njns     short loc_140041B07                                            ; +0x111, 0x140041b01\nadd     ebx, ecx                                                       ; +0x113, 0x140041b03\njs      short loc_140041B03                                            ; +0x115, 0x140041b05\nmov     rcx, [rsi+1E0h]                                                ; +0x117, 0x140041b07\nmov     edx, ebx                                                       ; +0x11e, 0x140041b0e\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x120, 0x140041b10\nmov     rcx, [rsi]                                                     ; +0x126, 0x140041b16\nmov     rdi, rax                                                       ; +0x129, 0x140041b19\nmov     ebx, [rsi+24Ch]                                                ; +0x12c, 0x140041b1c\nmov     rdx, [rcx+140h]                                                ; +0x132, 0x140041b22\nmov     rcx, rsi                                                       ; +0x139, 0x140041b29\ncall    rdx                                                            ; +0x13c, 0x140041b2c\nmovd    xmm0, ebx                                                      ; +0x13e, 0x140041b2e\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x142, 0x140041b32\ncvtdq2ps xmm0, xmm0                                                    ; +0x147, 0x140041b37\nmovss   xmm1, dword ptr [rax]                                          ; +0x14a, 0x140041b3a\nxorps   xmm2, xmm2                                                     ; +0x14e, 0x140041b3e\nsubss   xmm1, dword ptr [rsi+250h]                                     ; +0x151, 0x140041b41\nmulss   xmm1, xmm0                                                     ; +0x159, 0x140041b49\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x15d, 0x140041b4d\nmov     rax, [rdi]                                                     ; +0x163, 0x140041b53\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x166, 0x140041b56\nmov     rcx, rdi                                                       ; +0x16b, 0x140041b5b\ncall    qword ptr [rax+0B8h]                                           ; +0x16e, 0x140041b5e\nmov     eax, [rsi+24Ch]                                                ; +0x174, 0x140041b64\nlea     ebp, [rax-1]                                                   ; +0x17a, 0x140041b6a\nlea     edi, [rax+1]                                                   ; +0x17d, 0x140041b6d\njmp     short loc_140041B78                                            ; +0x180, 0x140041b70\nmov     ebp, r15d                                                      ; +0x182, 0x140041b72\nmov     edi, r14d                                                      ; +0x185, 0x140041b75\ncmp     byte ptr [rsi+1C8h], 0                                         ; +0x188, 0x140041b78\nmov     rcx, [rsi+1E0h]                                                ; +0x18f, 0x140041b7f\njz      short loc_140041BB5                                            ; +0x196, 0x140041b86\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x198, 0x140041b88\nmov     ecx, eax                                                       ; +0x19e, 0x140041b8e\ntest    ebp, ebp                                                       ; +0x1a0, 0x140041b90\njle     short loc_140041BA2                                            ; +0x1a2, 0x140041b92\nmov     eax, ebp                                                       ; +0x1a4, 0x140041b94\ncdq                                                                    ; +0x1a6, 0x140041b96\nidiv    ecx                                                            ; +0x1a7, 0x140041b97\nmov     rcx, [rsi+1E0h]                                                ; +0x1a9, 0x140041b99\njmp     short loc_140041BB7                                            ; +0x1b0, 0x140041ba0\nmov     edx, ebp                                                       ; +0x1b2, 0x140041ba2\ntest    ebp, ebp                                                       ; +0x1b4, 0x140041ba4\njns     short loc_140041BAC                                            ; +0x1b6, 0x140041ba6\nadd     edx, ecx                                                       ; +0x1b8, 0x140041ba8\njs      short loc_140041BA8                                            ; +0x1ba, 0x140041baa\nmov     rcx, [rsi+1E0h]                                                ; +0x1bc, 0x140041bac\njmp     short loc_140041BB7                                            ; +0x1c3, 0x140041bb3\nmov     edx, ebp                                                       ; +0x1c5, 0x140041bb5\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1c7, 0x140041bb7\nmov     ebx, [rsi+24Ch]                                                ; +0x1cd, 0x140041bbd\nmov     rcx, rsi                                                       ; +0x1d3, 0x140041bc3\nmov     r13, rax                                                       ; +0x1d6, 0x140041bc6\ndec     ebx                                                            ; +0x1d9, 0x140041bc9\nmov     rax, [rsi]                                                     ; +0x1db, 0x140041bcb\ncall    qword ptr [rax+140h]                                           ; +0x1de, 0x140041bce\nmovd    xmm0, ebx                                                      ; +0x1e4, 0x140041bd4\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x1e8, 0x140041bd8\ncvtdq2ps xmm0, xmm0                                                    ; +0x1ed, 0x140041bdd\nmovss   xmm1, dword ptr [rax]                                          ; +0x1f0, 0x140041be0\nxorps   xmm2, xmm2                                                     ; +0x1f4, 0x140041be4\nsubss   xmm1, dword ptr [rsi+250h]                                     ; +0x1f7, 0x140041be7\nmulss   xmm1, xmm0                                                     ; +0x1ff, 0x140041bef\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x203, 0x140041bf3\nmov     rax, [r13+0]                                                   ; +0x209, 0x140041bf9\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x20d, 0x140041bfd\nmov     rcx, r13                                                       ; +0x212, 0x140041c02\ncall    qword ptr [rax+0B8h]                                           ; +0x215, 0x140041c05\ncmp     byte ptr [rsi+1C8h], 0                                         ; +0x21b, 0x140041c0b\nmov     rcx, [rsi+1E0h]                                                ; +0x222, 0x140041c12\njz      short loc_140041C4D                                            ; +0x229, 0x140041c19\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x22b, 0x140041c1b\nmov     ecx, eax                                                       ; +0x231, 0x140041c21\ntest    edi, edi                                                       ; +0x233, 0x140041c23\njle     short loc_140041C35                                            ; +0x235, 0x140041c25\nmov     eax, edi                                                       ; +0x237, 0x140041c27\ncdq                                                                    ; +0x239, 0x140041c29\nidiv    ecx                                                            ; +0x23a, 0x140041c2a\nmov     rcx, [rsi+1E0h]                                                ; +0x23c, 0x140041c2c\njmp     short loc_140041C4F                                            ; +0x243, 0x140041c33\nmov     edx, edi                                                       ; +0x245, 0x140041c35\ntest    edi, edi                                                       ; +0x247, 0x140041c37\njns     short loc_140041C44                                            ; +0x249, 0x140041c39\nnop     dword ptr [rax+rax+00h]                                        ; +0x24b, 0x140041c3b\nadd     edx, ecx                                                       ; +0x250, 0x140041c40\njs      short loc_140041C40                                            ; +0x252, 0x140041c42\nmov     rcx, [rsi+1E0h]                                                ; +0x254, 0x140041c44\njmp     short loc_140041C4F                                            ; +0x25b, 0x140041c4b\nmov     edx, edi                                                       ; +0x25d, 0x140041c4d\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x25f, 0x140041c4f\nmov     ebx, [rsi+24Ch]                                                ; +0x265, 0x140041c55\nmov     rcx, rsi                                                       ; +0x26b, 0x140041c5b\nmov     r13, rax                                                       ; +0x26e, 0x140041c5e\ninc     ebx                                                            ; +0x271, 0x140041c61\nmov     rax, [rsi]                                                     ; +0x273, 0x140041c63\ncall    qword ptr [rax+140h]                                           ; +0x276, 0x140041c66\nmovd    xmm0, ebx                                                      ; +0x27c, 0x140041c6c\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x280, 0x140041c70\ncvtdq2ps xmm0, xmm0                                                    ; +0x285, 0x140041c75\nmovss   xmm1, dword ptr [rax]                                          ; +0x288, 0x140041c78\nxorps   xmm2, xmm2                                                     ; +0x28c, 0x140041c7c\nsubss   xmm1, dword ptr [rsi+250h]                                     ; +0x28f, 0x140041c7f\nmulss   xmm1, xmm0                                                     ; +0x297, 0x140041c87\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x29b, 0x140041c8b\nmov     rax, [r13+0]                                                   ; +0x2a1, 0x140041c91\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x2a5, 0x140041c95\nmov     rcx, r13                                                       ; +0x2aa, 0x140041c9a\ncall    qword ptr [rax+0B8h]                                           ; +0x2ad, 0x140041c9d\nmov     rcx, [rsi+1E0h]                                                ; +0x2b3, 0x140041ca3\nxor     ebx, ebx                                                       ; +0x2ba, 0x140041caa\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2bc, 0x140041cac\ntest    eax, eax                                                       ; +0x2c2, 0x140041cb2\njz      short loc_140041CF4                                            ; +0x2c4, 0x140041cb4\nnop     word ptr [rax+rax+00000000h]                                   ; +0x2c6, 0x140041cb6\nmov     rcx, [rsi+1E0h]                                                ; +0x2d0, 0x140041cc0\nmov     edx, ebx                                                       ; +0x2d7, 0x140041cc7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x2d9, 0x140041cc9\nxor     edx, edx                                                       ; +0x2df, 0x140041ccf\nmov     rcx, [rax]                                                     ; +0x2e1, 0x140041cd1\nmov     r8, [rcx+150h]                                                 ; +0x2e4, 0x140041cd4\nmov     rcx, rax                                                       ; +0x2eb, 0x140041cdb\ncall    r8                                                             ; +0x2ee, 0x140041cde\nmov     rcx, [rsi+1E0h]                                                ; +0x2f1, 0x140041ce1\ninc     ebx                                                            ; +0x2f8, 0x140041ce8\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2fa, 0x140041cea\ncmp     ebx, eax                                                       ; +0x300, 0x140041cf0\njb      short loc_140041CC0                                            ; +0x302, 0x140041cf2\ncmp     byte ptr [rsi+1C8h], 0                                         ; +0x304, 0x140041cf4\nmov     rcx, [rsi+1E0h]                                                ; +0x30b, 0x140041cfb\njz      loc_140041E46                                                  ; +0x312, 0x140041d02\nmov     ebx, [rsi+24Ch]                                                ; +0x318, 0x140041d08\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x31e, 0x140041d0e\nmov     ecx, eax                                                       ; +0x324, 0x140041d14\ntest    ebx, ebx                                                       ; +0x326, 0x140041d16\njle     short loc_140041D23                                            ; +0x328, 0x140041d18\nmov     eax, ebx                                                       ; +0x32a, 0x140041d1a\ncdq                                                                    ; +0x32c, 0x140041d1c\nidiv    ecx                                                            ; +0x32d, 0x140041d1d\nmov     ebx, edx                                                       ; +0x32f, 0x140041d1f\njmp     short loc_140041D29                                            ; +0x331, 0x140041d21\njns     short loc_140041D29                                            ; +0x333, 0x140041d23\nadd     ebx, ecx                                                       ; +0x335, 0x140041d25\njs      short loc_140041D25                                            ; +0x337, 0x140041d27\nmov     rcx, [rsi+1E0h]                                                ; +0x339, 0x140041d29\nmov     edx, ebx                                                       ; +0x340, 0x140041d30\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x342, 0x140041d32\nmov     ebx, [rsi+24Ch]                                                ; +0x348, 0x140041d38\nmov     rcx, [rsi+1E0h]                                                ; +0x34e, 0x140041d3e\ndec     ebx                                                            ; +0x355, 0x140041d45\ncmp     byte ptr [rsi+1C8h], 0                                         ; +0x357, 0x140041d47\nmov     [rsp+48h+arg_0], rax                                           ; +0x35e, 0x140041d4e\njz      short loc_140041D7B                                            ; +0x363, 0x140041d53\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x365, 0x140041d55\nmov     ecx, eax                                                       ; +0x36b, 0x140041d5b\ntest    ebx, ebx                                                       ; +0x36d, 0x140041d5d\njle     short loc_140041D6A                                            ; +0x36f, 0x140041d5f\nmov     eax, ebx                                                       ; +0x371, 0x140041d61\ncdq                                                                    ; +0x373, 0x140041d63\nidiv    ecx                                                            ; +0x374, 0x140041d64\nmov     ebx, edx                                                       ; +0x376, 0x140041d66\njmp     short loc_140041D74                                            ; +0x378, 0x140041d68\njns     short loc_140041D74                                            ; +0x37a, 0x140041d6a\nnop     dword ptr [rax+00h]                                            ; +0x37c, 0x140041d6c\nadd     ebx, ecx                                                       ; +0x380, 0x140041d70\njs      short loc_140041D70                                            ; +0x382, 0x140041d72\nmov     rcx, [rsi+1E0h]                                                ; +0x384, 0x140041d74\nmov     edx, ebx                                                       ; +0x38b, 0x140041d7b\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x38d, 0x140041d7d\nmov     ebx, [rsi+24Ch]                                                ; +0x393, 0x140041d83\nmov     r13, rax                                                       ; +0x399, 0x140041d89\nmov     rcx, [rsi+1E0h]                                                ; +0x39c, 0x140041d8c\ninc     ebx                                                            ; +0x3a3, 0x140041d93\ncmp     byte ptr [rsi+1C8h], 0                                         ; +0x3a5, 0x140041d95\njz      short loc_140041DC0                                            ; +0x3ac, 0x140041d9c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3ae, 0x140041d9e\nmov     ecx, eax                                                       ; +0x3b4, 0x140041da4\ntest    ebx, ebx                                                       ; +0x3b6, 0x140041da6\njle     short loc_140041DB3                                            ; +0x3b8, 0x140041da8\nmov     eax, ebx                                                       ; +0x3ba, 0x140041daa\ncdq                                                                    ; +0x3bc, 0x140041dac\nidiv    ecx                                                            ; +0x3bd, 0x140041dad\nmov     ebx, edx                                                       ; +0x3bf, 0x140041daf\njmp     short loc_140041DB9                                            ; +0x3c1, 0x140041db1\njns     short loc_140041DB9                                            ; +0x3c3, 0x140041db3\nadd     ebx, ecx                                                       ; +0x3c5, 0x140041db5\njs      short loc_140041DB5                                            ; +0x3c7, 0x140041db7\nmov     rcx, [rsi+1E0h]                                                ; +0x3c9, 0x140041db9\nmov     edx, ebx                                                       ; +0x3d0, 0x140041dc0\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x3d2, 0x140041dc2\nmov     rdi, [rsi+1B8h]                                                ; +0x3d8, 0x140041dc8\nmov     edx, r12d                                                      ; +0x3df, 0x140041dcf\nmov     rcx, [rsi+1C0h]                                                ; +0x3e2, 0x140041dd2\nmov     rbp, rax                                                       ; +0x3e9, 0x140041dd9\nmov     rbx, [rdi]                                                     ; +0x3ec, 0x140041ddc\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x3ef, 0x140041ddf\nmov     rdx, [rsp+48h+arg_0]                                           ; +0x3f5, 0x140041de5\nmov     rcx, rdi                                                       ; +0x3fa, 0x140041dea\nmov     r8, rax                                                        ; +0x3fd, 0x140041ded\ncall    qword ptr [rbx]                                                ; +0x400, 0x140041df0\nmov     rdi, [rsi+1B8h]                                                ; +0x402, 0x140041df2\nmov     edx, r15d                                                      ; +0x409, 0x140041df9\nmov     rcx, [rsi+1C0h]                                                ; +0x40c, 0x140041dfc\nmov     rbx, [rdi]                                                     ; +0x413, 0x140041e03\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x416, 0x140041e06\nmov     rdx, r13                                                       ; +0x41c, 0x140041e0c\nmov     rcx, rdi                                                       ; +0x41f, 0x140041e0f\nmov     r8, rax                                                        ; +0x422, 0x140041e12\ncall    qword ptr [rbx]                                                ; +0x425, 0x140041e15\nmov     rdi, [rsi+1B8h]                                                ; +0x427, 0x140041e17\nmov     edx, r14d                                                      ; +0x42e, 0x140041e1e\nmov     rcx, [rsi+1C0h]                                                ; +0x431, 0x140041e21\nmov     rbx, [rdi]                                                     ; +0x438, 0x140041e28\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x43b, 0x140041e2b\nmov     rdx, rbp                                                       ; +0x441, 0x140041e31\nmov     rcx, rdi                                                       ; +0x444, 0x140041e34\nmov     r8, rax                                                        ; +0x447, 0x140041e37\ncall    qword ptr [rbx]                                                ; +0x44a, 0x140041e3a\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x44c, 0x140041e3c\njmp     loc_140041ED6                                                  ; +0x451, 0x140041e41\nmov     edx, r12d                                                      ; +0x456, 0x140041e46\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x459, 0x140041e49\ncmp     byte ptr [rsi+1C8h], 0                                         ; +0x45f, 0x140041e4f\nmov     rbx, rax                                                       ; +0x466, 0x140041e56\nmov     rcx, [rsi+1E0h]                                                ; +0x469, 0x140041e59\njz      short loc_140041E8B                                            ; +0x470, 0x140041e60\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x472, 0x140041e62\nmov     ecx, eax                                                       ; +0x478, 0x140041e68\ntest    ebp, ebp                                                       ; +0x47a, 0x140041e6a\njle     short loc_140041E77                                            ; +0x47c, 0x140041e6c\nmov     eax, ebp                                                       ; +0x47e, 0x140041e6e\ncdq                                                                    ; +0x480, 0x140041e70\nidiv    ecx                                                            ; +0x481, 0x140041e71\nmov     ebp, edx                                                       ; +0x483, 0x140041e73\njmp     short loc_140041E84                                            ; +0x485, 0x140041e75\njns     short loc_140041E84                                            ; +0x487, 0x140041e77\nnop     dword ptr [rax+00000000h]                                      ; +0x489, 0x140041e79\nadd     ebp, ecx                                                       ; +0x490, 0x140041e80\njs      short loc_140041E80                                            ; +0x492, 0x140041e82\nmov     rcx, [rsi+1E0h]                                                ; +0x494, 0x140041e84\nmov     edx, ebp                                                       ; +0x49b, 0x140041e8b\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49d, 0x140041e8d\ncmp     byte ptr [rsi+1C8h], 0                                         ; +0x4a3, 0x140041e93\nmov     r13, rax                                                       ; +0x4aa, 0x140041e9a\nmov     rcx, [rsi+1E0h]                                                ; +0x4ad, 0x140041e9d\njz      short loc_140041ECB                                            ; +0x4b4, 0x140041ea4\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4b6, 0x140041ea6\nmov     ecx, eax                                                       ; +0x4bc, 0x140041eac\ntest    edi, edi                                                       ; +0x4be, 0x140041eae\njle     short loc_140041EBB                                            ; +0x4c0, 0x140041eb0\nmov     eax, edi                                                       ; +0x4c2, 0x140041eb2\ncdq                                                                    ; +0x4c4, 0x140041eb4\nidiv    ecx                                                            ; +0x4c5, 0x140041eb5\nmov     edi, edx                                                       ; +0x4c7, 0x140041eb7\njmp     short loc_140041EC4                                            ; +0x4c9, 0x140041eb9\njns     short loc_140041EC4                                            ; +0x4cb, 0x140041ebb\nnop     dword ptr [rax]                                                ; +0x4cd, 0x140041ebd\nadd     edi, ecx                                                       ; +0x4d0, 0x140041ec0\njs      short loc_140041EC0                                            ; +0x4d2, 0x140041ec2\nmov     rcx, [rsi+1E0h]                                                ; +0x4d4, 0x140041ec4\nmov     edx, edi                                                       ; +0x4db, 0x140041ecb\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4dd, 0x140041ecd\nmov     rbp, rax                                                       ; +0x4e3, 0x140041ed3\nmov     rax, [rbx]                                                     ; +0x4e6, 0x140041ed6\nmov     dl, 1                                                          ; +0x4e9, 0x140041ed9\nmov     rcx, rbx                                                       ; +0x4eb, 0x140041edb\ncall    qword ptr [rax+150h]                                           ; +0x4ee, 0x140041ede\ncmp     byte ptr [rsi+229h], 0                                         ; +0x4f4, 0x140041ee4\nmov     rcx, r13                                                       ; +0x4fb, 0x140041eeb\nmov     rax, [r13+0]                                                   ; +0x4fe, 0x140041eee\nsetz    dl                                                             ; +0x502, 0x140041ef2\ncall    qword ptr [rax+150h]                                           ; +0x505, 0x140041ef5\ncmp     byte ptr [rsi+229h], 0                                         ; +0x50b, 0x140041efb\nmov     rcx, rbp                                                       ; +0x512, 0x140041f02\nmov     rax, [rbp+0]                                                   ; +0x515, 0x140041f05\nsetz    dl                                                             ; +0x519, 0x140041f09\nmov     rdi, [rsp+48h+arg_8]                                           ; +0x51c, 0x140041f0c\nmov     rbx, [rsp+48h+arg_10]                                          ; +0x521, 0x140041f11\nmov     rbp, [rsp+48h+arg_18]                                          ; +0x526, 0x140041f16\nadd     rsp, 20h                                                       ; +0x52b, 0x140041f1b\npop     r15                                                            ; +0x52f, 0x140041f1f\npop     r14                                                            ; +0x531, 0x140041f21\npop     r13                                                            ; +0x533, 0x140041f23\npop     r12                                                            ; +0x535, 0x140041f25\npop     rsi                                                            ; +0x537, 0x140041f27\njmp     qword ptr [rax+150h]                                           ; +0x538, 0x140041f28", "xrefs": ["BoomScrollLayer::init @ 0x140040df1", "BoomScrollLayer::instantMoveToPage @ 0x14004180c", "BoomScrollLayer::moveToPage @ 0x1400419d4", "<???> @ 0x14090f578"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}