{"type": "func", "start": 4298760732, "end": 4298760832, "name": "CCScrollLayerExt::scrollLayer", "pseudocode": "// \n// CCScrollLayerExt::scrollLayer from 0x10039e21c to 0x10039e280 (100 bytes)\n// \n// 2 xrefs:\n// > TableView::scrollWheel @ 0x10039c83c\n// > sub_10039C854 @ 0x10039c874\n// \n// This function is hookable on this platform (idp: arm, 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:03:45 +0000\n// \n\nfloat *__fastcall CCScrollLayerExt::scrollLayer(__int64 a1, float a2)\n{\n  float *result; // x0\n\n  result = (float *)GameManager::sharedState(a1);\n  *(float *)(a1 + 520) = *(float *)(a1 + 520) + (float)(result[277] * a2);\n  if ( (*(_BYTE *)(a1 + 524) & 1) == 0 )\n  {\n    result = (float *)cocos2d::CCNode::schedule_1(a1, (unsigned __int64)CCScrollLayerExt::updateScrollDecay, 0);\n    *(_BYTE *)(a1 + 524) = 1;\n  }\n  return result;\n}", "assembly": "; \n; CCScrollLayerExt::scrollLayer from 0x10039e21c to 0x10039e280 (100 bytes)\n; \n; 2 xrefs:\n; > TableView::scrollWheel @ 0x10039c83c\n; > sub_10039C854 @ 0x10039c874\n; \n; This function is hookable on this platform (idp: arm, 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:03:45 +0000\n; \nSTP             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x10039e21c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10039e220\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10039e224\nADD             X29, SP, #0x20                                         ; +0xc, 0x10039e228\nFMOV            S8, S0                                                 ; +0x10, 0x10039e22c\nMOV             X19, X0                                                ; +0x14, 0x10039e230\nBL              GameManager__sharedState                               ; +0x18, 0x10039e234\nLDR             S0, [X0,#0x454]                                        ; +0x1c, 0x10039e238\nFMUL            S0, S0, S8                                             ; +0x20, 0x10039e23c\nLDR             S1, [X19,#0x208]                                       ; +0x24, 0x10039e240\nFADD            S0, S1, S0                                             ; +0x28, 0x10039e244\nSTR             S0, [X19,#0x208]                                       ; +0x2c, 0x10039e248\nLDRB            W8, [X19,#0x20C]                                       ; +0x30, 0x10039e24c\nTBNZ            W8, #0, loc_10039E270                                  ; +0x34, 0x10039e250\nADRL            X1, CCScrollLayerExt__updateScrollDecay                ; +0x38, 0x10039e254\nMOV             X0, X19                                                ; +0x40, 0x10039e25c\nMOV             X2, #0                                                 ; +0x44, 0x10039e260\nBL              cocos2d__CCNode__schedule_1                            ; +0x48, 0x10039e264\nMOV             W8, #1                                                 ; +0x4c, 0x10039e268\nSTRB            W8, [X19,#0x20C]                                       ; +0x50, 0x10039e26c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x54, 0x10039e270\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x58, 0x10039e274\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0x5c, 0x10039e278\nRET                                                                    ; +0x60, 0x10039e27c", "xrefs": ["TableView::scrollWheel @ 0x10039c83c", "sub_10039C854 @ 0x10039c874"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}