{"type": "func", "start": 4299276176, "end": 4299276264, "name": "CCScrollLayerExt::scrollLayer", "pseudocode": "// \n// CCScrollLayerExt::scrollLayer from 0x10041bf90 to 0x10041bfe8 (88 bytes)\n// \n// 2 xrefs:\n// > TableView::scrollWheel @ 0x10070008c\n// > sub_1007000B0 @ 0x1007000d3\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 12:30:13 +0000\n// \n\n__int64 __fastcall CCScrollLayerExt::scrollLayer(__int64 a1, float a2)\n{\n  __int64 result; // rax\n\n  result = GameManager::sharedState();\n  *(float *)(a1 + 520) = (float)(a2 * *(float *)(result + 1108)) + *(float *)(a1 + 520);\n  if ( !*(_BYTE *)(a1 + 524) )\n  {\n    result = cocos2d::CCNode::schedule_2(a1, (__int64)CCScrollLayerExt::updateScrollDecay, 0);\n    *(_BYTE *)(a1 + 524) = 1;\n  }\n  return result;\n}", "assembly": "; \n; CCScrollLayerExt::scrollLayer from 0x10041bf90 to 0x10041bfe8 (88 bytes)\n; \n; 2 xrefs:\n; > TableView::scrollWheel @ 0x10070008c\n; > sub_1007000B0 @ 0x1007000d3\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 12:30:13 +0000\n; \npush    rbp                                                            ; +0x0, 0x10041bf90\nmov     rbp, rsp                                                       ; +0x1, 0x10041bf91\npush    rbx                                                            ; +0x4, 0x10041bf94\npush    rax                                                            ; +0x5, 0x10041bf95\nmovss   [rbp+var_C], xmm0                                              ; +0x6, 0x10041bf96\nmov     rbx, rdi                                                       ; +0xb, 0x10041bf9b\ncall    GameManager__sharedState                                       ; +0xe, 0x10041bf9e\nmovss   xmm0, [rbp+var_C]                                              ; +0x13, 0x10041bfa3\nmulss   xmm0, dword ptr [rax+454h]                                     ; +0x18, 0x10041bfa8\naddss   xmm0, dword ptr [rbx+208h]                                     ; +0x20, 0x10041bfb0\nmovss   dword ptr [rbx+208h], xmm0                                     ; +0x28, 0x10041bfb8\ncmp     byte ptr [rbx+20Ch], 0                                         ; +0x30, 0x10041bfc0\njnz     short loc_10041BFE1                                            ; +0x37, 0x10041bfc7\nlea     rsi, CCScrollLayerExt__updateScrollDecay                       ; +0x39, 0x10041bfc9\nmov     rdi, rbx                                                       ; +0x40, 0x10041bfd0\nxor     edx, edx                                                       ; +0x43, 0x10041bfd3\ncall    cocos2d__CCNode__schedule_2                                    ; +0x45, 0x10041bfd5\nmov     byte ptr [rbx+20Ch], 1                                         ; +0x4a, 0x10041bfda\nadd     rsp, 8                                                         ; +0x51, 0x10041bfe1\npop     rbx                                                            ; +0x55, 0x10041bfe5\npop     rbp                                                            ; +0x56, 0x10041bfe6\nretn                                                                   ; +0x57, 0x10041bfe7", "xrefs": ["TableView::scrollWheel @ 0x10070008c", "sub_1007000B0 @ 0x1007000d3"], "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"}