{"type": "func", "start": 5369015856, "end": 5369016005, "name": "CCScrollLayerExt::moveToTop", "pseudocode": "// \n// CCScrollLayerExt::moveToTop from 0x14004ae30 to 0x14004aec5 (149 bytes)\n// \n// 8 xrefs:\n// > BoomListView::setupList @ 0x14003fcab\n// > MessageThreadsPage::onScrollToTop @ 0x1400d90fc\n// > CustomListView::setupList @ 0x14014653e\n// > CustomListView::setupList @ 0x140146730\n// > CustomListView::setupList @ 0x1401468c0\n// > CustomListView::setupList @ 0x1401468f1\n// > CustomListView::setupList @ 0x140146a00\n// > <???> @ 0x14090fda0\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:32 +0000\n// \n\n__int64 __fastcall CCScrollLayerExt::moveToTop(__int64 a1)\n{\n  __int64 v2; // rdi\n  __int64 v3; // rbx\n  float v4; // xmm6_4\n  float *v5; // rax\n  __int64 *v6; // rdi\n  __int64 v7; // rbx\n  __int64 v8; // rax\n  char v10; // [rsp+40h] [rbp+8h] BYREF\n\n  v2 = *(_QWORD *)(a1 + 480);\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 320LL))(a1);\n  v4 = (float)(*(float *)(v3 + 4) - *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 320LL))(v2) + 4))\n     - *(float *)(a1 + 496);\n  v5 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 480) + 200LL))(*(_QWORD *)(a1 + 480));\n  v6 = *(__int64 **)(a1 + 480);\n  v7 = *v6;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, *v5, v4);\n  return (*(__int64 (__fastcall **)(__int64 *, __int64))(v7 + 184))(v6, v8);\n}", "assembly": "; \n; CCScrollLayerExt::moveToTop from 0x14004ae30 to 0x14004aec5 (149 bytes)\n; \n; 8 xrefs:\n; > BoomListView::setupList @ 0x14003fcab\n; > MessageThreadsPage::onScrollToTop @ 0x1400d90fc\n; > CustomListView::setupList @ 0x14014653e\n; > CustomListView::setupList @ 0x140146730\n; > CustomListView::setupList @ 0x1401468c0\n; > CustomListView::setupList @ 0x1401468f1\n; > CustomListView::setupList @ 0x140146a00\n; > <???> @ 0x14090fda0\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:32 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14004ae30\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x14004ae35\npush    rdi                                                            ; +0xa, 0x14004ae3a\nsub     rsp, 30h                                                       ; +0xb, 0x14004ae3b\nmov     rax, [rcx]                                                     ; +0xf, 0x14004ae3f\nmov     rsi, rcx                                                       ; +0x12, 0x14004ae42\nmov     rdi, [rcx+1E0h]                                                ; +0x15, 0x14004ae45\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x1c, 0x14004ae4c\ncall    qword ptr [rax+140h]                                           ; +0x21, 0x14004ae51\nmov     rdx, [rdi]                                                     ; +0x27, 0x14004ae57\nmov     rcx, rdi                                                       ; +0x2a, 0x14004ae5a\nmov     rbx, rax                                                       ; +0x2d, 0x14004ae5d\ncall    qword ptr [rdx+140h]                                           ; +0x30, 0x14004ae60\nmov     rcx, [rsi+1E0h]                                                ; +0x36, 0x14004ae66\nmovss   xmm6, dword ptr [rbx+4]                                        ; +0x3d, 0x14004ae6d\nsubss   xmm6, dword ptr [rax+4]                                        ; +0x42, 0x14004ae72\nmov     rax, [rcx]                                                     ; +0x47, 0x14004ae77\nsubss   xmm6, dword ptr [rsi+1F0h]                                     ; +0x4a, 0x14004ae7a\ncall    qword ptr [rax+0C8h]                                           ; +0x52, 0x14004ae82\nmov     rdi, [rsi+1E0h]                                                ; +0x58, 0x14004ae88\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x5f, 0x14004ae8f\nmovaps  xmm2, xmm6                                                     ; +0x64, 0x14004ae94\nmovss   xmm1, dword ptr [rax]                                          ; +0x67, 0x14004ae97\nmov     rbx, [rdi]                                                     ; +0x6b, 0x14004ae9b\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x6e, 0x14004ae9e\nmov     rdx, rax                                                       ; +0x74, 0x14004aea4\nmov     rcx, rdi                                                       ; +0x77, 0x14004aea7\ncall    qword ptr [rbx+0B8h]                                           ; +0x7a, 0x14004aeaa\nmov     rbx, [rsp+38h+arg_8]                                           ; +0x80, 0x14004aeb0\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x85, 0x14004aeb5\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x8a, 0x14004aeba\nadd     rsp, 30h                                                       ; +0x8f, 0x14004aebf\npop     rdi                                                            ; +0x93, 0x14004aec3\nretn                                                                   ; +0x94, 0x14004aec4", "xrefs": ["BoomListView::setupList @ 0x14003fcab", "MessageThreadsPage::onScrollToTop @ 0x1400d90fc", "CustomListView::setupList @ 0x14014653e", "CustomListView::setupList @ 0x140146730", "CustomListView::setupList @ 0x1401468c0", "CustomListView::setupList @ 0x1401468f1", "CustomListView::setupList @ 0x140146a00", "<???> @ 0x14090fda0"], "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"}