{"type": "func", "start": 4298702112, "end": 4298702328, "name": "BoomScrollLayer::instantMoveToPage", "pseudocode": "// \n// BoomScrollLayer::instantMoveToPage from 0x10038fd20 to 0x10038fdf8 (216 bytes)\n// \n// 22 xrefs:\n// > WorldSelectLayer::goToPage @ 0x1003ac024\n// > ListButtonBar::onLeft @ 0x1003dd827\n// > ListButtonBar::onLeft @ 0x1003dd836\n// > ListButtonBar::onRight @ 0x1003dd8c3\n// > ListButtonBar::onRight @ 0x1003dd8d2\n// > ListButtonBar::goToPage @ 0x1003dd960\n// > ListButtonBar::goToPage @ 0x1003dd96e\n// > LevelSelectLayer::init @ 0x10041fba0\n// > LevelSelectLayer::init @ 0x10041fbda\n// > GauntletSelectLayer::goToPage @ 0x1005a02ea\n// > EditButtonBar::loadFromItems @ 0x1006b488b\n// > EditButtonBar::loadFromItems @ 0x1006b489a\n// > EditButtonBar::onLeft @ 0x1006b4a1d\n// > EditButtonBar::onLeft @ 0x1006b4a2c\n// > EditButtonBar::onRight @ 0x1006b4a99\n// > EditButtonBar::onRight @ 0x1006b4aa8\n// > EditButtonBar::onDotClicked @ 0x1006b4b3c\n// > EditButtonBar::onDotClicked @ 0x1006b4b4b\n// > EditButtonBar::goToPage @ 0x1006b4cf2\n// > EditButtonBar::goToPage @ 0x1006b4d00\n// > SecretRewardsLayer::init @ 0x10070ebcc\n// > SecretRewardsLayer::init @ 0x10070ebda\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 12:29:13 +0000\n// \n\nvoid __fastcall BoomScrollLayer::instantMoveToPage(__int64 a1, int a2)\n{\n  float *v2; // rax\n  float v3[2]; // [rsp+Ch] [rbp-24h] BYREF\n  float v4; // [rsp+14h] [rbp-1Ch]\n\n  if ( *(_BYTE *)(a1 + 436)\n    || a2 >= 0 && (int)sub_1007FEF90(*(_QWORD *)(a1 + 32 * (*(unsigned __int8 *)(a1 + 456) ^ 1u) + 448)) > a2 )\n  {\n    cocos2d::CCNode::stopActionByTag(*(_QWORD *)(a1 + 504), 2);\n    *(_BYTE *)(a1 + 552) = 0;\n    v4 = (float)-a2;\n    v2 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 328LL))(a1);\n    sub_100278250(v3, (float)(*v2 - *(float *)(a1 + 592)) * v4, 0.0);\n    (*(void (__fastcall **)(_QWORD, float *))(**(_QWORD **)(a1 + 504) + 184LL))(*(_QWORD *)(a1 + 504), v3);\n    *(_DWORD *)(a1 + 588) = a2;\n    if ( *(_BYTE *)(a1 + 436) == 1 )\n      BoomScrollLayer::repositionPagesLooped(a1);\n    BoomScrollLayer::moveToPageEnded(a1);\n  }\n}", "assembly": "; \n; BoomScrollLayer::instantMoveToPage from 0x10038fd20 to 0x10038fdf8 (216 bytes)\n; \n; 22 xrefs:\n; > WorldSelectLayer::goToPage @ 0x1003ac024\n; > ListButtonBar::onLeft @ 0x1003dd827\n; > ListButtonBar::onLeft @ 0x1003dd836\n; > ListButtonBar::onRight @ 0x1003dd8c3\n; > ListButtonBar::onRight @ 0x1003dd8d2\n; > ListButtonBar::goToPage @ 0x1003dd960\n; > ListButtonBar::goToPage @ 0x1003dd96e\n; > LevelSelectLayer::init @ 0x10041fba0\n; > LevelSelectLayer::init @ 0x10041fbda\n; > GauntletSelectLayer::goToPage @ 0x1005a02ea\n; > EditButtonBar::loadFromItems @ 0x1006b488b\n; > EditButtonBar::loadFromItems @ 0x1006b489a\n; > EditButtonBar::onLeft @ 0x1006b4a1d\n; > EditButtonBar::onLeft @ 0x1006b4a2c\n; > EditButtonBar::onRight @ 0x1006b4a99\n; > EditButtonBar::onRight @ 0x1006b4aa8\n; > EditButtonBar::onDotClicked @ 0x1006b4b3c\n; > EditButtonBar::onDotClicked @ 0x1006b4b4b\n; > EditButtonBar::goToPage @ 0x1006b4cf2\n; > EditButtonBar::goToPage @ 0x1006b4d00\n; > SecretRewardsLayer::init @ 0x10070ebcc\n; > SecretRewardsLayer::init @ 0x10070ebda\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 12:29:13 +0000\n; \npush    rbp                                                            ; +0x0, 0x10038fd20\nmov     rbp, rsp                                                       ; +0x1, 0x10038fd21\npush    r15                                                            ; +0x4, 0x10038fd24\npush    r14                                                            ; +0x6, 0x10038fd26\npush    rbx                                                            ; +0x8, 0x10038fd28\nsub     rsp, 18h                                                       ; +0x9, 0x10038fd29\nmov     r14d, esi                                                      ; +0xd, 0x10038fd2d\nmov     rbx, rdi                                                       ; +0x10, 0x10038fd30\ncmp     byte ptr [rdi+1B4h], 0                                         ; +0x13, 0x10038fd33\njnz     short loc_10038FD68                                            ; +0x1a, 0x10038fd3a\ntest    r14d, r14d                                                     ; +0x1c, 0x10038fd3c\njs      loc_10038FDED                                                  ; +0x1f, 0x10038fd3f\nmovzx   eax, byte ptr [rbx+1C8h]                                       ; +0x25, 0x10038fd45\nxor     eax, 1                                                         ; +0x2c, 0x10038fd4c\nshl     eax, 5                                                         ; +0x2f, 0x10038fd4f\nmov     rdi, [rbx+rax+1C0h]                                            ; +0x32, 0x10038fd52\ncall    sub_1007FEF90                                                  ; +0x3a, 0x10038fd5a\ncmp     eax, r14d                                                      ; +0x3f, 0x10038fd5f\njle     loc_10038FDED                                                  ; +0x42, 0x10038fd62\nmov     rdi, [rbx+1F8h]                                                ; +0x48, 0x10038fd68\nmov     esi, 2                                                         ; +0x4f, 0x10038fd6f\ncall    cocos2d__CCNode__stopActionByTag                               ; +0x54, 0x10038fd74\nmov     byte ptr [rbx+228h], 0                                         ; +0x59, 0x10038fd79\nmov     eax, r14d                                                      ; +0x60, 0x10038fd80\nneg     eax                                                            ; +0x63, 0x10038fd83\ncvtsi2ss xmm0, eax                                                     ; +0x65, 0x10038fd85\nmovss   [rbp+var_1C], xmm0                                             ; +0x69, 0x10038fd89\nmov     rax, [rbx]                                                     ; +0x6e, 0x10038fd8e\nmov     rdi, rbx                                                       ; +0x71, 0x10038fd91\ncall    qword ptr [rax+148h]                                           ; +0x74, 0x10038fd94\nmovss   xmm0, dword ptr [rax]                                          ; +0x7a, 0x10038fd9a\nsubss   xmm0, dword ptr [rbx+250h]                                     ; +0x7e, 0x10038fd9e\nmulss   xmm0, [rbp+var_1C]                                             ; +0x86, 0x10038fda6\nlea     r15, [rbp+var_24]                                              ; +0x8b, 0x10038fdab\nxorps   xmm1, xmm1                                                     ; +0x8f, 0x10038fdaf\nmov     rdi, r15                                                       ; +0x92, 0x10038fdb2\ncall    sub_100278250                                                  ; +0x95, 0x10038fdb5\nmov     rdi, [rbx+1F8h]                                                ; +0x9a, 0x10038fdba\nmov     rax, [rdi]                                                     ; +0xa1, 0x10038fdc1\nmov     rsi, r15                                                       ; +0xa4, 0x10038fdc4\ncall    qword ptr [rax+0B8h]                                           ; +0xa7, 0x10038fdc7\nmov     [rbx+24Ch], r14d                                               ; +0xad, 0x10038fdcd\ncmp     byte ptr [rbx+1B4h], 1                                         ; +0xb4, 0x10038fdd4\njnz     short loc_10038FDE5                                            ; +0xbb, 0x10038fddb\nmov     rdi, rbx                                                       ; +0xbd, 0x10038fddd\ncall    BoomScrollLayer__repositionPagesLooped                         ; +0xc0, 0x10038fde0\nmov     rdi, rbx                                                       ; +0xc5, 0x10038fde5\ncall    BoomScrollLayer__moveToPageEnded                               ; +0xc8, 0x10038fde8\nadd     rsp, 18h                                                       ; +0xcd, 0x10038fded\npop     rbx                                                            ; +0xd1, 0x10038fdf1\npop     r14                                                            ; +0xd2, 0x10038fdf2\npop     r15                                                            ; +0xd4, 0x10038fdf4\npop     rbp                                                            ; +0xd6, 0x10038fdf6\nretn                                                                   ; +0xd7, 0x10038fdf7", "xrefs": ["WorldSelectLayer::goToPage @ 0x1003ac024", "ListButtonBar::onLeft @ 0x1003dd827", "ListButtonBar::onLeft @ 0x1003dd836", "ListButtonBar::onRight @ 0x1003dd8c3", "ListButtonBar::onRight @ 0x1003dd8d2", "ListButtonBar::goToPage @ 0x1003dd960", "ListButtonBar::goToPage @ 0x1003dd96e", "LevelSelectLayer::init @ 0x10041fba0", "LevelSelectLayer::init @ 0x10041fbda", "GauntletSelectLayer::goToPage @ 0x1005a02ea", "EditButtonBar::loadFromItems @ 0x1006b488b", "EditButtonBar::loadFromItems @ 0x1006b489a", "EditButtonBar::onLeft @ 0x1006b4a1d", "EditButtonBar::onLeft @ 0x1006b4a2c", "EditButtonBar::onRight @ 0x1006b4a99", "EditButtonBar::onRight @ 0x1006b4aa8", "EditButtonBar::onDotClicked @ 0x1006b4b3c", "EditButtonBar::onDotClicked @ 0x1006b4b4b", "EditButtonBar::goToPage @ 0x1006b4cf2", "EditButtonBar::goToPage @ 0x1006b4d00", "SecretRewardsLayer::init @ 0x10070ebcc", "SecretRewardsLayer::init @ 0x10070ebda"], "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"}