{"type": "func", "start": 5371851760, "end": 5371852102, "name": "GauntletSelectLayer::goToPage", "pseudocode": "// \n// GauntletSelectLayer::goToPage from 0x1402ff3f0 to 0x1402ff546 (342 bytes)\n// \n// 5 xrefs:\n// > GauntletSelectLayer::setupGauntlets @ 0x1402ff35c\n// > GauntletSelectLayer::setupGauntlets @ 0x1402ff36a\n// > GauntletSelectLayer::onNext @ 0x1402ff3c2\n// > GauntletSelectLayer::onPrev @ 0x1402ff3e2\n// > <???> @ 0x14091e434\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:30:07 +0000\n// \n\nstruct cocos2d::CCAction *__fastcall GauntletSelectLayer::goToPage(__int64 a1, int a2, char a3)\n{\n  __int64 v5; // rcx\n  cocos2d::CCArray *v7; // rcx\n  __int64 v8; // rbx\n  cocos2d::CCNode *v9; // rcx\n  __int64 *v10; // rcx\n  __int64 v11; // rdx\n  __int64 v12; // rdx\n  __int64 v13; // rbx\n  struct cocos2d::CCFiniteTimeAction *v14; // rax\n  struct cocos2d::CCAction *v15; // rbx\n\n  v5 = *(_QWORD *)(a1 + 440);\n  if ( *(_BYTE *)(v5 + 456) )\n    v7 = *(cocos2d::CCArray **)(v5 + 448);\n  else\n    v7 = *(cocos2d::CCArray **)(v5 + 480);\n  cocos2d::CCArray::count(v7);\n  v8 = *(_QWORD *)(a1 + 440);\n  if ( *(_BYTE *)(v8 + 552) )\n  {\n    v9 = *(cocos2d::CCNode **)(v8 + 504);\n    *(_BYTE *)(v8 + 552) = 0;\n    cocos2d::CCNode::stopActionByTag(v9, 2);\n    (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v8 + 504) + 184LL))(*(_QWORD *)(v8 + 504), v8 + 496);\n    BoomScrollLayer::moveToPageEnded(v8);\n  }\n  v10 = *(__int64 **)(a1 + 440);\n  if ( a3 )\n    BoomScrollLayer::instantMoveToPage((__int64)v10, a2);\n  else\n    BoomScrollLayer::moveToPage(v10, a2);\n  LOBYTE(v11) = *(_QWORD *)(a1 + 440) != 0;\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 448) + 336LL))(*(_QWORD *)(a1 + 448), v11);\n  LOBYTE(v12) = *(_QWORD *)(a1 + 440) != 0;\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 456) + 336LL))(*(_QWORD *)(a1 + 456), v12);\n  *(_BYTE *)(a1 + 504) = 1;\n  cocos2d::CCNode::stopActionByTag((cocos2d::CCNode *)a1, 1001);\n  v13 = cocos2d::CCCallFunc::create(a1, GauntletSelectLayer::unblockPlay);\n  v14 = cocos2d::CCDelayTime::create(0.30000001);\n  v15 = cocos2d::CCSequence::create(v14, v13, 0);\n  (*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v15 + 64LL))(v15, 1001);\n  return cocos2d::CCNode::runAction((cocos2d::CCNode *)a1, v15);\n}", "assembly": "; \n; GauntletSelectLayer::goToPage from 0x1402ff3f0 to 0x1402ff546 (342 bytes)\n; \n; 5 xrefs:\n; > GauntletSelectLayer::setupGauntlets @ 0x1402ff35c\n; > GauntletSelectLayer::setupGauntlets @ 0x1402ff36a\n; > GauntletSelectLayer::onNext @ 0x1402ff3c2\n; > GauntletSelectLayer::onPrev @ 0x1402ff3e2\n; > <???> @ 0x14091e434\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:30:07 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1402ff3f0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1402ff3f5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1402ff3fa\npush    rdi                                                            ; +0xf, 0x1402ff3ff\nsub     rsp, 20h                                                       ; +0x10, 0x1402ff400\nmov     rdi, rcx                                                       ; +0x14, 0x1402ff404\nmovzx   ebp, r8b                                                       ; +0x17, 0x1402ff407\nmov     rcx, [rcx+1B8h]                                                ; +0x1b, 0x1402ff40b\nmov     esi, edx                                                       ; +0x22, 0x1402ff412\ncmp     byte ptr [rcx+1C8h], 0                                         ; +0x24, 0x1402ff414\njz      short loc_1402FF426                                            ; +0x2b, 0x1402ff41b\nmov     rcx, [rcx+1C0h]                                                ; +0x2d, 0x1402ff41d\njmp     short loc_1402FF42D                                            ; +0x34, 0x1402ff424\nmov     rcx, [rcx+1E0h]                                                ; +0x36, 0x1402ff426\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3d, 0x1402ff42d\nmov     rbx, [rdi+1B8h]                                                ; +0x43, 0x1402ff433\ncmp     byte ptr [rbx+228h], 0                                         ; +0x4a, 0x1402ff43a\njz      short loc_1402FF47B                                            ; +0x51, 0x1402ff441\nmov     rcx, [rbx+1F8h]                                                ; +0x53, 0x1402ff443\nmov     edx, 2                                                         ; +0x5a, 0x1402ff44a\nmov     byte ptr [rbx+228h], 0                                         ; +0x5f, 0x1402ff44f\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x66, 0x1402ff456\nmov     rcx, [rbx+1F8h]                                                ; +0x6c, 0x1402ff45c\nlea     rdx, [rbx+1F0h]                                                ; +0x73, 0x1402ff463\nmov     rax, [rcx]                                                     ; +0x7a, 0x1402ff46a\ncall    qword ptr [rax+0B8h]                                           ; +0x7d, 0x1402ff46d\nmov     rcx, rbx                                                       ; +0x83, 0x1402ff473\ncall    BoomScrollLayer__moveToPageEnded                               ; +0x86, 0x1402ff476\nmov     rcx, [rdi+1B8h]                                                ; +0x8b, 0x1402ff47b\nmov     edx, esi                                                       ; +0x92, 0x1402ff482\ntest    bpl, bpl                                                       ; +0x94, 0x1402ff484\njz      short loc_1402FF490                                            ; +0x97, 0x1402ff487\ncall    BoomScrollLayer__instantMoveToPage                             ; +0x99, 0x1402ff489\njmp     short loc_1402FF495                                            ; +0x9e, 0x1402ff48e\ncall    BoomScrollLayer__moveToPage                                    ; +0xa0, 0x1402ff490\nmov     rcx, [rdi+1C0h]                                                ; +0xa5, 0x1402ff495\ncmp     qword ptr [rdi+1B8h], 0                                        ; +0xac, 0x1402ff49c\nsetnz   dl                                                             ; +0xb4, 0x1402ff4a4\nmov     rax, [rcx]                                                     ; +0xb7, 0x1402ff4a7\ncall    qword ptr [rax+150h]                                           ; +0xba, 0x1402ff4aa\nmov     rcx, [rdi+1C8h]                                                ; +0xc0, 0x1402ff4b0\ncmp     qword ptr [rdi+1B8h], 0                                        ; +0xc7, 0x1402ff4b7\nsetnz   dl                                                             ; +0xcf, 0x1402ff4bf\nmov     rax, [rcx]                                                     ; +0xd2, 0x1402ff4c2\ncall    qword ptr [rax+150h]                                           ; +0xd5, 0x1402ff4c5\nmov     edx, 3E9h                                                      ; +0xdb, 0x1402ff4cb\nmov     byte ptr [rdi+1F8h], 1                                         ; +0xe0, 0x1402ff4d0\nmov     rcx, rdi                                                       ; +0xe7, 0x1402ff4d7\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0xea, 0x1402ff4da\nlea     rdx, GauntletSelectLayer__unblockPlay                          ; +0xf0, 0x1402ff4e0\nmov     rcx, rdi                                                       ; +0xf7, 0x1402ff4e7\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xfa, 0x1402ff4ea\nmovss   xmm0, cs:dword_140834EA0                                       ; +0x100, 0x1402ff4f0\nmov     rbx, rax                                                       ; +0x108, 0x1402ff4f8\ncall    cs:?create@CCDelayTime@cocos2d@@SAPEAV12@M@Z; cocos2d::CCDelayTime::create(float) ; +0x10b, 0x1402ff4fb\nxor     r8d, r8d                                                       ; +0x111, 0x1402ff501\nmov     rdx, rbx                                                       ; +0x114, 0x1402ff504\nmov     rcx, rax                                                       ; +0x117, 0x1402ff507\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x11a, 0x1402ff50a\nmov     edx, 3E9h                                                      ; +0x120, 0x1402ff510\nmov     rbx, rax                                                       ; +0x125, 0x1402ff515\nmov     rcx, [rax]                                                     ; +0x128, 0x1402ff518\nmov     r8, [rcx+40h]                                                  ; +0x12b, 0x1402ff51b\nmov     rcx, rax                                                       ; +0x12f, 0x1402ff51f\ncall    r8                                                             ; +0x132, 0x1402ff522\nmov     rdx, rbx                                                       ; +0x135, 0x1402ff525\nmov     rcx, rdi                                                       ; +0x138, 0x1402ff528\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x13b, 0x1402ff52b\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x140, 0x1402ff530\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x145, 0x1402ff535\nadd     rsp, 20h                                                       ; +0x14a, 0x1402ff53a\npop     rdi                                                            ; +0x14e, 0x1402ff53e\njmp     cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x14f, 0x1402ff53f", "xrefs": ["GauntletSelectLayer::setupGauntlets @ 0x1402ff35c", "GauntletSelectLayer::setupGauntlets @ 0x1402ff36a", "GauntletSelectLayer::onNext @ 0x1402ff3c2", "GauntletSelectLayer::onPrev @ 0x1402ff3e2", "<???> @ 0x14091e434"], "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"}