{"type": "func", "start": 4299351264, "end": 4299351414, "name": "CCScrollLayerExt::moveToTopWithOffset", "pseudocode": "// \n// CCScrollLayerExt::moveToTopWithOffset from 0x10042e4e0 to 0x10042e576 (150 bytes)\n// \n// 5 xrefs:\n// > CustomListView::setupList @ 0x10024d96c\n// > CustomListView::setupList @ 0x10024dbcd\n// > CustomListView::setupList @ 0x10024dc63\n// > CustomListView::setupList @ 0x10024dda6\n// > BoomListView::setupList @ 0x10030c9f8\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::moveToTopWithOffset(CCScrollLayerExt *a1, float a2)\n{\n  CCContentLayer *m_contentLayer; // rbx\n  float v4; // xmm1_4\n  float v5[3]; // [rsp+Ch] [rbp-24h] BYREF\n  float v6; // [rsp+18h] [rbp-18h]\n  float v7; // [rsp+1Ch] [rbp-14h]\n\n  v5[2] = a2;\n  m_contentLayer = a1->m_contentLayer;\n  v6 = *(float *)((__int64 (__fastcall *)(CCContentLayer *))m_contentLayer->getPosition)(m_contentLayer);\n  v7 = *(float *)(((__int64 (__fastcall *)(CCScrollLayerExt *))a1->getContentSize)(a1) + 4);\n  v4 = (float)((float)(v7\n                     - *(float *)(((__int64 (__fastcall *)(CCContentLayer *))a1->m_contentLayer->getContentSize)(a1->m_contentLayer)\n                                + 4))\n             - a1->m_scrollLimitTop)\n     + a2;\n  sub_10028CBE0(v5, v6, v4);\n  ((void (__fastcall *)(CCContentLayer *, float *))m_contentLayer->setPosition)(m_contentLayer, v5);\n}", "assembly": "; \n; CCScrollLayerExt::moveToTopWithOffset from 0x10042e4e0 to 0x10042e576 (150 bytes)\n; \n; 5 xrefs:\n; > CustomListView::setupList @ 0x10024d96c\n; > CustomListView::setupList @ 0x10024dbcd\n; > CustomListView::setupList @ 0x10024dc63\n; > CustomListView::setupList @ 0x10024dda6\n; > BoomListView::setupList @ 0x10030c9f8\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, 0x10042e4e0\nmov     rbp, rsp                                                       ; +0x1, 0x10042e4e1\npush    r14                                                            ; +0x4, 0x10042e4e4\npush    rbx                                                            ; +0x6, 0x10042e4e6\nsub     rsp, 20h                                                       ; +0x7, 0x10042e4e7\nmovss   [rbp+var_1C], xmm0                                             ; +0xb, 0x10042e4eb\nmov     r14, rdi                                                       ; +0x10, 0x10042e4f0\nmov     rbx, [rdi+1E0h]                                                ; +0x13, 0x10042e4f3\nmov     rax, [rbx]                                                     ; +0x1a, 0x10042e4fa\nmov     rdi, rbx                                                       ; +0x1d, 0x10042e4fd\ncall    qword ptr [rax+0C0h]                                           ; +0x20, 0x10042e500\nmovss   xmm0, dword ptr [rax]                                          ; +0x26, 0x10042e506\nmovss   [rbp+var_18], xmm0                                             ; +0x2a, 0x10042e50a\nmov     rax, [r14]                                                     ; +0x2f, 0x10042e50f\nmov     rdi, r14                                                       ; +0x32, 0x10042e512\ncall    qword ptr [rax+138h]                                           ; +0x35, 0x10042e515\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x3b, 0x10042e51b\nmovss   [rbp+var_14], xmm0                                             ; +0x40, 0x10042e520\nmov     rdi, [r14+1E0h]                                                ; +0x45, 0x10042e525\nmov     rax, [rdi]                                                     ; +0x4c, 0x10042e52c\ncall    qword ptr [rax+138h]                                           ; +0x4f, 0x10042e52f\nmovss   xmm1, [rbp+var_14]                                             ; +0x55, 0x10042e535\nsubss   xmm1, dword ptr [rax+4]                                        ; +0x5a, 0x10042e53a\nsubss   xmm1, dword ptr [r14+1F0h]                                     ; +0x5f, 0x10042e53f\naddss   xmm1, [rbp+var_1C]                                             ; +0x68, 0x10042e548\nlea     r14, [rbp+var_24]                                              ; +0x6d, 0x10042e54d\nmov     rdi, r14                                                       ; +0x71, 0x10042e551\nmovss   xmm0, [rbp+var_18]                                             ; +0x74, 0x10042e554\ncall    sub_10028CBE0                                                  ; +0x79, 0x10042e559\nmov     rax, [rbx]                                                     ; +0x7e, 0x10042e55e\nmov     rdi, rbx                                                       ; +0x81, 0x10042e561\nmov     rsi, r14                                                       ; +0x84, 0x10042e564\ncall    qword ptr [rax+0B8h]                                           ; +0x87, 0x10042e567\nadd     rsp, 20h                                                       ; +0x8d, 0x10042e56d\npop     rbx                                                            ; +0x91, 0x10042e571\npop     r14                                                            ; +0x92, 0x10042e572\npop     rbp                                                            ; +0x94, 0x10042e574\nretn                                                                   ; +0x95, 0x10042e575", "xrefs": ["CustomListView::setupList @ 0x10024d96c", "CustomListView::setupList @ 0x10024dbcd", "CustomListView::setupList @ 0x10024dc63", "CustomListView::setupList @ 0x10024dda6", "BoomListView::setupList @ 0x10030c9f8"], "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"}