{"type": "func", "start": 6850124, "end": 6850368, "name": "BoomListView::restoreListOffset", "pseudocode": "// \n// BoomListView::restoreListOffset from 0x68864c to 0x688740 (244 bytes)\n// \n// 4 xrefs:\n// > CustomListView::setupList @ 0x736a8c\n// > CustomListView::setupList @ 0x736c84\n// > CustomListView::setupList @ 0x736d70\n// > <???> @ 0x959e0\n// \n// This function is hookable on this platform (idp: arm, 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:50:31 +0000\n// \n\n__int64 __fastcall BoomListView::restoreListOffset(CCScrollLayerExt **this, float a2)\n{\n  float v3; // s8\n  __int64 result; // x0\n  float v5; // s0\n  float v6; // s0\n  __int64 v7; // x21\n  float *v8; // x0\n  float v9; // s0\n  float v10; // s0\n  _BYTE v11[8]; // [xsp+40h] [xbp+40h] BYREF\n\n  v3 = a2;\n  result = 0;\n  if ( a2 != 0.0 && !*((_BYTE *)this + 460) )\n  {\n    CCScrollLayerExt::getMaxY(*(this + 53));\n    if ( v3 > v5 )\n    {\n      CCScrollLayerExt::getMaxY(*(this + 53));\n      v3 = v10;\n    }\n    CCScrollLayerExt::getMinY(*(this + 53));\n    if ( v3 < v6 )\n    {\n      CCScrollLayerExt::getMinY(*(this + 53));\n      v3 = v9;\n    }\n    v7 = (__int64)*(this + 53);\n    v8 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v7 + 488) + 192LL))(*(_QWORD *)(v7 + 488));\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, *v8, v3);\n    CCScrollLayerExt::setContentOffset(v7, v11, 0);\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; BoomListView::restoreListOffset from 0x68864c to 0x688740 (244 bytes)\n; \n; 4 xrefs:\n; > CustomListView::setupList @ 0x736a8c\n; > CustomListView::setupList @ 0x736c84\n; > CustomListView::setupList @ 0x736d70\n; > <???> @ 0x959e0\n; \n; This function is hookable on this platform (idp: arm, 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:50:31 +0000\n; \nSTP             X29, X30, [SP,#var_50]!                                ; +0x0, 0x68864c\nFCMP            S0, #0.0                                               ; +0x4, 0x688650\nMOV             X29, SP                                                ; +0x8, 0x688654\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0xc, 0x688658\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x68865c\nSTR             X21, [SP,#0x50+var_30]                                 ; +0x14, 0x688660\nSTR             D8, [SP,#0x50+var_28]                                  ; +0x18, 0x688664\nMOV             X20, X0                                                ; +0x1c, 0x688668\nFMOV            S8, S0                                                 ; +0x20, 0x68866c\nMOV             W0, #0                                                 ; +0x24, 0x688670\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x688674\nLDR             X1, [X1]                                               ; +0x2c, 0x688678\nSTR             X1, [X29,#0x50+var_8]                                  ; +0x30, 0x68867c\nB.EQ            loc_68868C                                             ; +0x34, 0x688680\nLDRB            W1, [X20,#0x1CC]                                       ; +0x38, 0x688684\nCBZ             W1, loc_6886B4                                         ; +0x3c, 0x688688\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x40, 0x68868c\nLDR             X2, [X29,#0x50+var_8]                                  ; +0x44, 0x688690\nLDR             X1, [X19]                                              ; +0x48, 0x688694\nCMP             X2, X1                                                 ; +0x4c, 0x688698\nB.NE            loc_68873C                                             ; +0x50, 0x68869c\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x54, 0x6886a0\nLDR             X21, [SP,#0x50+var_30]                                 ; +0x58, 0x6886a4\nLDR             D8, [SP,#0x50+var_28]                                  ; +0x5c, 0x6886a8\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x60, 0x6886ac\nRET                                                                    ; +0x64, 0x6886b0\nLDR             X0, [X20,#0x1A8]; this                                 ; +0x68, 0x6886b4\nBL              _ZN16CCScrollLayerExt7getMaxYEv; CCScrollLayerExt::getMaxY(void) ; +0x6c, 0x6886b8\nFCMPE           S8, S0                                                 ; +0x70, 0x6886bc\nB.GT            loc_68872C                                             ; +0x74, 0x6886c0\nLDR             X0, [X20,#0x1A8]; this                                 ; +0x78, 0x6886c4\nBL              _ZN16CCScrollLayerExt7getMinYEv; CCScrollLayerExt::getMinY(void) ; +0x7c, 0x6886c8\nFCMPE           S8, S0                                                 ; +0x80, 0x6886cc\nB.MI            loc_68871C                                             ; +0x84, 0x6886d0\nLDR             X21, [X20,#0x1A8]                                      ; +0x88, 0x6886d4\nADD             X20, X29, #0x50+var_10                                 ; +0x8c, 0x6886d8\nLDR             X1, [X21,#0x1E8]                                       ; +0x90, 0x6886dc\nMOV             X0, X1                                                 ; +0x94, 0x6886e0\nLDR             X1, [X1]                                               ; +0x98, 0x6886e4\nLDR             X1, [X1,#0xC0]                                         ; +0x9c, 0x6886e8\nBLR             X1                                                     ; +0xa0, 0x6886ec\nSTR             X20, [X29,#0x50+var_18]                                ; +0xa4, 0x6886f0\nLDR             S0, [X0]; float                                        ; +0xa8, 0x6886f4\nMOV             X0, X20; this                                          ; +0xac, 0x6886f8\nFMOV            S1, S8; float                                          ; +0xb0, 0x6886fc\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xb4, 0x688700\nLDR             X1, [X29,#0x50+var_18]                                 ; +0xb8, 0x688704\nMOV             X0, X21                                                ; +0xbc, 0x688708\nMOV             W2, #0                                                 ; +0xc0, 0x68870c\nBL              _ZN16CCScrollLayerExt16setContentOffsetEN7cocos2d7CCPointEb; CCScrollLayerExt::setContentOffset(cocos2d::CCPoint,bool) ; +0xc4, 0x688710\nMOV             W0, #1                                                 ; +0xc8, 0x688714\nB               loc_68868C                                             ; +0xcc, 0x688718\nLDR             X0, [X20,#0x1A8]; this                                 ; +0xd0, 0x68871c\nBL              _ZN16CCScrollLayerExt7getMinYEv; CCScrollLayerExt::getMinY(void) ; +0xd4, 0x688720\nFMOV            S8, S0                                                 ; +0xd8, 0x688724\nB               loc_6886D4                                             ; +0xdc, 0x688728\nLDR             X0, [X20,#0x1A8]; this                                 ; +0xe0, 0x68872c\nBL              _ZN16CCScrollLayerExt7getMaxYEv; CCScrollLayerExt::getMaxY(void) ; +0xe4, 0x688730\nFMOV            S8, S0                                                 ; +0xe8, 0x688734\nB               loc_6886C4                                             ; +0xec, 0x688738\nBL              .__stack_chk_fail                                      ; +0xf0, 0x68873c", "xrefs": ["CustomListView::setupList @ 0x736a8c", "CustomListView::setupList @ 0x736c84", "CustomListView::setupList @ 0x736d70", "<???> @ 0x959e0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}