{"type": "func", "start": 4299351424, "end": 4299351564, "name": "CCScrollLayerExt::moveToTop", "pseudocode": "// \n// CCScrollLayerExt::moveToTop from 0x10042e580 to 0x10042e60c (140 bytes)\n// \n// 5 xrefs:\n// > CustomListView::setupList @ 0x10024d97f\n// > CustomListView::setupList @ 0x10024dbd4\n// > CustomListView::setupList @ 0x10024dc6a\n// > CustomListView::setupList @ 0x10024ddad\n// > BoomListView::setupList @ 0x10030ca03\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CCScrollLayerExt::moveToTop(CCScrollLayerExt *a1)\n{\n  CCContentLayer *m_contentLayer; // rbx\n  float v3; // xmm1_4\n  float v4; // [rsp+0h] [rbp-20h] BYREF\n  float v5; // [rsp+8h] [rbp-18h]\n  float v6; // [rsp+Ch] [rbp-14h]\n\n  m_contentLayer = a1->m_contentLayer;\n  v5 = *(float *)((__int64 (__fastcall *)(CCContentLayer *))m_contentLayer->getPosition)(m_contentLayer);\n  v6 = *(float *)(((__int64 (__fastcall *)(CCScrollLayerExt *))a1->getContentSize)(a1) + 4);\n  v3 = (float)(v6\n             - *(float *)(((__int64 (__fastcall *)(CCContentLayer *))a1->m_contentLayer->getContentSize)(a1->m_contentLayer)\n                        + 4))\n     - a1->m_scrollLimitTop;\n  sub_10028CBE0(&v4, v5, v3);\n  ((void (__fastcall *)(CCContentLayer *, float *))m_contentLayer->setPosition)(m_contentLayer, &v4);\n}", "assembly": "; \n; CCScrollLayerExt::moveToTop from 0x10042e580 to 0x10042e60c (140 bytes)\n; \n; 5 xrefs:\n; > CustomListView::setupList @ 0x10024d97f\n; > CustomListView::setupList @ 0x10024dbd4\n; > CustomListView::setupList @ 0x10024dc6a\n; > CustomListView::setupList @ 0x10024ddad\n; > BoomListView::setupList @ 0x10030ca03\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10042e580\nmov     rbp, rsp                                                       ; +0x1, 0x10042e581\npush    r14                                                            ; +0x4, 0x10042e584\npush    rbx                                                            ; +0x6, 0x10042e586\nsub     rsp, 10h                                                       ; +0x7, 0x10042e587\nmov     r14, rdi                                                       ; +0xb, 0x10042e58b\nmov     rbx, [rdi+1E0h]                                                ; +0xe, 0x10042e58e\nmov     rax, [rbx]                                                     ; +0x15, 0x10042e595\nmov     rdi, rbx                                                       ; +0x18, 0x10042e598\ncall    qword ptr [rax+0C0h]                                           ; +0x1b, 0x10042e59b\nmovss   xmm0, dword ptr [rax]                                          ; +0x21, 0x10042e5a1\nmovss   [rbp+var_18], xmm0                                             ; +0x25, 0x10042e5a5\nmov     rax, [r14]                                                     ; +0x2a, 0x10042e5aa\nmov     rdi, r14                                                       ; +0x2d, 0x10042e5ad\ncall    qword ptr [rax+138h]                                           ; +0x30, 0x10042e5b0\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x36, 0x10042e5b6\nmovss   [rbp+var_14], xmm0                                             ; +0x3b, 0x10042e5bb\nmov     rdi, [r14+1E0h]                                                ; +0x40, 0x10042e5c0\nmov     rax, [rdi]                                                     ; +0x47, 0x10042e5c7\ncall    qword ptr [rax+138h]                                           ; +0x4a, 0x10042e5ca\nmovss   xmm1, [rbp+var_14]                                             ; +0x50, 0x10042e5d0\nsubss   xmm1, dword ptr [rax+4]                                        ; +0x55, 0x10042e5d5\nsubss   xmm1, dword ptr [r14+1F0h]                                     ; +0x5a, 0x10042e5da\nlea     r14, [rbp+var_20]                                              ; +0x63, 0x10042e5e3\nmov     rdi, r14                                                       ; +0x67, 0x10042e5e7\nmovss   xmm0, [rbp+var_18]                                             ; +0x6a, 0x10042e5ea\ncall    sub_10028CBE0                                                  ; +0x6f, 0x10042e5ef\nmov     rax, [rbx]                                                     ; +0x74, 0x10042e5f4\nmov     rdi, rbx                                                       ; +0x77, 0x10042e5f7\nmov     rsi, r14                                                       ; +0x7a, 0x10042e5fa\ncall    qword ptr [rax+0B8h]                                           ; +0x7d, 0x10042e5fd\nadd     rsp, 10h                                                       ; +0x83, 0x10042e603\npop     rbx                                                            ; +0x87, 0x10042e607\npop     r14                                                            ; +0x88, 0x10042e608\npop     rbp                                                            ; +0x8a, 0x10042e60a\nretn                                                                   ; +0x8b, 0x10042e60b", "xrefs": ["CustomListView::setupList @ 0x10024d97f", "CustomListView::setupList @ 0x10024dbd4", "CustomListView::setupList @ 0x10024dc6a", "CustomListView::setupList @ 0x10024ddad", "BoomListView::setupList @ 0x10030ca03"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}