{"type": "func", "start": 4299354416, "end": 4299354606, "name": "CCScrollLayerExt::scrollLayer", "pseudocode": "// \n// CCScrollLayerExt::scrollLayer from 0x10042f130 to 0x10042f1ee (190 bytes)\n// \n// 2 xrefs:\n// > TableView::scrollWheel @ 0x1006238cf\n// > sub_1006238E0 @ 0x1006238f6\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::scrollLayer(CCScrollLayerExt *a1, float a2)\n{\n  unsigned __int64 *v3; // r14\n  __int64 v4; // rax\n  float m_scrollLimitBottom; // xmm1_4\n  unsigned __int64 v6; // [rsp+4h] [rbp-2Ch] BYREF\n  double v7; // [rsp+Ch] [rbp-24h] BYREF\n  float v8; // [rsp+14h] [rbp-1Ch]\n\n  v8 = a2;\n  v3 = (unsigned __int64 *)((__int64 (__fastcall *)(CCContentLayer *))a1->m_contentLayer->getPosition)(a1->m_contentLayer);\n  sub_10028CBE0((float *)&v6, 0.0, a2);\n  sub_10028CCE0(&v7, v3, &v6);\n  v8 = *(float *)(((__int64 (__fastcall *)(CCScrollLayerExt *))a1->getContentSize)(a1) + 4);\n  v4 = ((__int64 (__fastcall *)(CCContentLayer *))a1->m_contentLayer->getContentSize)(a1->m_contentLayer);\n  m_scrollLimitBottom = (float)(v8 - *(float *)(v4 + 4)) - a1->m_scrollLimitTop;\n  if ( m_scrollLimitBottom > *((float *)&v7 + 1)\n    || (m_scrollLimitBottom = a1->m_scrollLimitBottom, *((float *)&v7 + 1) > m_scrollLimitBottom) )\n  {\n    *((float *)&v7 + 1) = m_scrollLimitBottom;\n  }\n  ((void (__fastcall *)(CCContentLayer *, double *))a1->m_contentLayer->setPosition)(a1->m_contentLayer, &v7);\n}", "assembly": "; \n; CCScrollLayerExt::scrollLayer from 0x10042f130 to 0x10042f1ee (190 bytes)\n; \n; 2 xrefs:\n; > TableView::scrollWheel @ 0x1006238cf\n; > sub_1006238E0 @ 0x1006238f6\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, 0x10042f130\nmov     rbp, rsp                                                       ; +0x1, 0x10042f131\npush    r15                                                            ; +0x4, 0x10042f134\npush    r14                                                            ; +0x6, 0x10042f136\npush    rbx                                                            ; +0x8, 0x10042f138\nsub     rsp, 18h                                                       ; +0x9, 0x10042f139\nmovss   [rbp+var_1C], xmm0                                             ; +0xd, 0x10042f13d\nmov     rbx, rdi                                                       ; +0x12, 0x10042f142\nmov     rdi, [rdi+1E0h]                                                ; +0x15, 0x10042f145\nmov     rax, [rdi]                                                     ; +0x1c, 0x10042f14c\ncall    qword ptr [rax+0C0h]                                           ; +0x1f, 0x10042f14f\nmov     r14, rax                                                       ; +0x25, 0x10042f155\nlea     r15, [rbp+var_2C]                                              ; +0x28, 0x10042f158\nxorps   xmm0, xmm0                                                     ; +0x2c, 0x10042f15c\nmov     rdi, r15                                                       ; +0x2f, 0x10042f15f\nmovss   xmm1, [rbp+var_1C]                                             ; +0x32, 0x10042f162\ncall    sub_10028CBE0                                                  ; +0x37, 0x10042f167\nlea     rdi, [rbp+var_24]                                              ; +0x3c, 0x10042f16c\nmov     rsi, r14                                                       ; +0x40, 0x10042f170\nmov     rdx, r15                                                       ; +0x43, 0x10042f173\ncall    sub_10028CCE0                                                  ; +0x46, 0x10042f176\nmov     rax, [rbx]                                                     ; +0x4b, 0x10042f17b\nmov     rdi, rbx                                                       ; +0x4e, 0x10042f17e\ncall    qword ptr [rax+138h]                                           ; +0x51, 0x10042f181\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x57, 0x10042f187\nmovss   [rbp+var_1C], xmm0                                             ; +0x5c, 0x10042f18c\nmov     rdi, [rbx+1E0h]                                                ; +0x61, 0x10042f191\nmov     rax, [rdi]                                                     ; +0x68, 0x10042f198\ncall    qword ptr [rax+138h]                                           ; +0x6b, 0x10042f19b\nmovss   xmm1, [rbp+var_1C]                                             ; +0x71, 0x10042f1a1\nsubss   xmm1, dword ptr [rax+4]                                        ; +0x76, 0x10042f1a6\nsubss   xmm1, dword ptr [rbx+1F0h]                                     ; +0x7b, 0x10042f1ab\nmovss   xmm0, [rbp+var_20]                                             ; +0x83, 0x10042f1b3\nucomiss xmm1, xmm0                                                     ; +0x88, 0x10042f1b8\nja      short loc_10042F1CA                                            ; +0x8b, 0x10042f1bb\nmovss   xmm1, dword ptr [rbx+1F4h]                                     ; +0x8d, 0x10042f1bd\nucomiss xmm0, xmm1                                                     ; +0x95, 0x10042f1c5\njbe     short loc_10042F1CF                                            ; +0x98, 0x10042f1c8\nmovss   [rbp+var_20], xmm1                                             ; +0x9a, 0x10042f1ca\nmov     rdi, [rbx+1E0h]                                                ; +0x9f, 0x10042f1cf\nmov     rax, [rdi]                                                     ; +0xa6, 0x10042f1d6\nlea     rsi, [rbp+var_24]                                              ; +0xa9, 0x10042f1d9\ncall    qword ptr [rax+0B8h]                                           ; +0xad, 0x10042f1dd\nadd     rsp, 18h                                                       ; +0xb3, 0x10042f1e3\npop     rbx                                                            ; +0xb7, 0x10042f1e7\npop     r14                                                            ; +0xb8, 0x10042f1e8\npop     r15                                                            ; +0xba, 0x10042f1ea\npop     rbp                                                            ; +0xbc, 0x10042f1ec\nretn                                                                   ; +0xbd, 0x10042f1ed", "xrefs": ["TableView::scrollWheel @ 0x1006238cf", "sub_1006238E0 @ 0x1006238f6"], "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"}