{"type": "func", "start": 5369015680, "end": 5369015846, "name": "CCScrollLayerExt::moveToTopWithOffset", "pseudocode": "// \n// CCScrollLayerExt::moveToTopWithOffset from 0x14004ad80 to 0x14004ae26 (166 bytes)\n// \n// 7 xrefs:\n// > BoomListView::setupList @ 0x14003fca1\n// > CustomListView::setupList @ 0x140146537\n// > CustomListView::setupList @ 0x140146729\n// > CustomListView::setupList @ 0x1401468b3\n// > CustomListView::setupList @ 0x1401468ea\n// > CustomListView::setupList @ 0x1401469f9\n// > <???> @ 0x14090fd94\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::moveToTopWithOffset(__int64 a1, float a2)\n{\n  __int64 v3; // rdi\n  __int64 v4; // rbx\n  float v5; // xmm6_4\n  float *v6; // rax\n  __int64 *v7; // rdi\n  __int64 v8; // rbx\n  __int64 v9; // rax\n  char v11; // [rsp+50h] [rbp+8h] BYREF\n\n  v3 = *(_QWORD *)(a1 + 480);\n  v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 320LL))(a1);\n  v5 = (float)(*(float *)(v4 + 4) - *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 320LL))(v3) + 4))\n     - *(float *)(a1 + 496);\n  v6 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 480) + 200LL))(*(_QWORD *)(a1 + 480));\n  v7 = *(__int64 **)(a1 + 480);\n  v8 = *v7;\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, *v6, v5 + a2);\n  return (*(__int64 (__fastcall **)(__int64 *, __int64))(v8 + 184))(v7, v9);\n}", "assembly": "; \n; CCScrollLayerExt::moveToTopWithOffset from 0x14004ad80 to 0x14004ae26 (166 bytes)\n; \n; 7 xrefs:\n; > BoomListView::setupList @ 0x14003fca1\n; > CustomListView::setupList @ 0x140146537\n; > CustomListView::setupList @ 0x140146729\n; > CustomListView::setupList @ 0x1401468b3\n; > CustomListView::setupList @ 0x1401468ea\n; > CustomListView::setupList @ 0x1401469f9\n; > <???> @ 0x14090fd94\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, 0x14004ad80\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x14004ad85\npush    rdi                                                            ; +0xa, 0x14004ad8a\nsub     rsp, 40h                                                       ; +0xb, 0x14004ad8b\nmov     rax, [rcx]                                                     ; +0xf, 0x14004ad8f\nmov     rsi, rcx                                                       ; +0x12, 0x14004ad92\nmov     rdi, [rcx+1E0h]                                                ; +0x15, 0x14004ad95\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x1c, 0x14004ad9c\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x21, 0x14004ada1\nmovaps  xmm7, xmm1                                                     ; +0x26, 0x14004ada6\ncall    qword ptr [rax+140h]                                           ; +0x29, 0x14004ada9\nmov     rdx, [rdi]                                                     ; +0x2f, 0x14004adaf\nmov     rcx, rdi                                                       ; +0x32, 0x14004adb2\nmov     rbx, rax                                                       ; +0x35, 0x14004adb5\ncall    qword ptr [rdx+140h]                                           ; +0x38, 0x14004adb8\nmov     rcx, [rsi+1E0h]                                                ; +0x3e, 0x14004adbe\nmovss   xmm6, dword ptr [rbx+4]                                        ; +0x45, 0x14004adc5\nsubss   xmm6, dword ptr [rax+4]                                        ; +0x4a, 0x14004adca\nmov     rax, [rcx]                                                     ; +0x4f, 0x14004adcf\nsubss   xmm6, dword ptr [rsi+1F0h]                                     ; +0x52, 0x14004add2\ncall    qword ptr [rax+0C8h]                                           ; +0x5a, 0x14004adda\nmov     rdi, [rsi+1E0h]                                                ; +0x60, 0x14004ade0\naddss   xmm6, xmm7                                                     ; +0x67, 0x14004ade7\nlea     rcx, [rsp+48h+arg_0]                                           ; +0x6b, 0x14004adeb\nmovss   xmm1, dword ptr [rax]                                          ; +0x70, 0x14004adf0\nmov     rbx, [rdi]                                                     ; +0x74, 0x14004adf4\nmovaps  xmm2, xmm6                                                     ; +0x77, 0x14004adf7\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x7a, 0x14004adfa\nmov     rdx, rax                                                       ; +0x80, 0x14004ae00\nmov     rcx, rdi                                                       ; +0x83, 0x14004ae03\ncall    qword ptr [rbx+0B8h]                                           ; +0x86, 0x14004ae06\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x8c, 0x14004ae0c\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x91, 0x14004ae11\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x96, 0x14004ae16\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x9b, 0x14004ae1b\nadd     rsp, 40h                                                       ; +0xa0, 0x14004ae20\npop     rdi                                                            ; +0xa4, 0x14004ae24\nretn                                                                   ; +0xa5, 0x14004ae25", "xrefs": ["BoomListView::setupList @ 0x14003fca1", "CustomListView::setupList @ 0x140146537", "CustomListView::setupList @ 0x140146729", "CustomListView::setupList @ 0x1401468b3", "CustomListView::setupList @ 0x1401468ea", "CustomListView::setupList @ 0x1401469f9", "<???> @ 0x14090fd94"], "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"}