{"type": "func", "start": 6904020, "end": 6904112, "name": "CCScrollLayerExt::scrollLayer", "pseudocode": "// \n// CCScrollLayerExt::scrollLayer from 0x6958d4 to 0x695930 (92 bytes)\n// \n// 2 xrefs:\n// > TableView::scrollWheel @ 0x695d00\n// > <???> @ 0x934d8\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 12:50:37 +0000\n// \n\n__int64 __fastcall CCScrollLayerExt::scrollLayer(CCScrollLayerExt *this, float a2)\n{\n  float v3; // s1\n  __int64 result; // x0\n\n  v3 = *(float *)(GameManager::sharedState(this) + 1108);\n  result = *((unsigned __int8 *)this + 524);\n  *((float *)this + 130) = *((float *)this + 130) + (float)(v3 * a2);\n  if ( !(_DWORD)result )\n  {\n    cocos2d::CCNode::schedule(this, CCScrollLayerExt::updateScrollDecay, 0);\n    *((_BYTE *)this + 524) = 1;\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; CCScrollLayerExt::scrollLayer from 0x6958d4 to 0x695930 (92 bytes)\n; \n; 2 xrefs:\n; > TableView::scrollWheel @ 0x695d00\n; > <???> @ 0x934d8\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 12:50:37 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x6958d4\nMOV             X29, SP                                                ; +0x4, 0x6958d8\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x6958dc\nMOV             X19, X0                                                ; +0xc, 0x6958e0\nSTR             Q0, [X29,#0x30+var_10]                                 ; +0x10, 0x6958e4\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x14, 0x6958e8\nLDR             S2, [X19,#0x208]                                       ; +0x18, 0x6958ec\nLDR             S1, [X0,#0x454]                                        ; +0x1c, 0x6958f0\nLDRB            W0, [X19,#0x20C]                                       ; +0x20, 0x6958f4\nLDR             Q0, [X29,#0x30+var_10]                                 ; +0x24, 0x6958f8\nFMADD           S0, S1, S0, S2                                         ; +0x28, 0x6958fc\nSTR             S0, [X19,#0x208]                                       ; +0x2c, 0x695900\nCBNZ            W0, loc_695924                                         ; +0x30, 0x695904\nADRP            X1, #_ZN16CCScrollLayerExt17updateScrollDecayEf_ptr@PAGE ; +0x34, 0x695908\nMOV             X0, X19                                                ; +0x38, 0x69590c\nMOV             X2, #0                                                 ; +0x3c, 0x695910\nLDR             X1, [X1,#_ZN16CCScrollLayerExt17updateScrollDecayEf_ptr@PAGEOFF]; CCScrollLayerExt::updateScrollDecay(float) ... ; +0x40, 0x695914\nBL              _ZN7cocos2d6CCNode8scheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float)) ; +0x44, 0x695918\nMOV             W0, #1                                                 ; +0x48, 0x69591c\nSTRB            W0, [X19,#0x20C]                                       ; +0x4c, 0x695920\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x50, 0x695924\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x54, 0x695928\nRET                                                                    ; +0x58, 0x69592c", "xrefs": ["TableView::scrollWheel @ 0x695d00", "<???> @ 0x934d8"], "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"}