{"type": "func", "start": 3968896, "end": 3968972, "name": "CCScrollLayerExt::scrollLayer", "pseudocode": "// \n// CCScrollLayerExt::scrollLayer from 0x3c8f80 to 0x3c8fcc (76 bytes)\n// \n// 1 xrefs:\n// > TableView::scrollWheel @ 0x3c9266\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:46:36 +0000\n// \n\nint __fastcall CCScrollLayerExt::scrollLayer(CCScrollLayerExt *this, float a2)\n{\n  int result; // r0\n  int v5; // r2\n\n  result = GameManager::sharedState(this);\n  v5 = *((unsigned __int8 *)this + 396);\n  *((float *)this + 98) = *((float *)this + 98) + (float)(a2 * *(float *)(result + 888));\n  if ( !v5 )\n  {\n    result = cocos2d::CCNode::schedule(this, CCScrollLayerExt::updateScrollDecay, 0);\n    *((_BYTE *)this + 396) = 1;\n  }\n  return result;\n}", "assembly": "; \n; CCScrollLayerExt::scrollLayer from 0x3c8f80 to 0x3c8fcc (76 bytes)\n; \n; 1 xrefs:\n; > TableView::scrollWheel @ 0x3c9266\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:46:36 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x3c8f80\nMOV             R4, R0                                                 ; +0x2, 0x3c8f82\nVPUSH           {D8}                                                   ; +0x4, 0x3c8f84\nVMOV            S16, R1                                                ; +0x8, 0x3c8f88\nSUB             SP, SP, #8                                             ; +0xc, 0x3c8f8c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xe, 0x3c8f8e\nVLDR            S15, [R4,#0x188]                                       ; +0x12, 0x3c8f92\nLDRB.W          R2, [R4,#0x18C]                                        ; +0x16, 0x3c8f96\nVLDR            S14, [R0,#0x378]                                       ; +0x1a, 0x3c8f9a\nVMLA.F32        S15, S16, S14                                          ; +0x1e, 0x3c8f9e\nVSTR            S15, [R4,#0x188]                                       ; +0x22, 0x3c8fa2\nCBNZ            R2, loc_3C8FC4                                         ; +0x26, 0x3c8fa6\nLDR             R3, =(_ZN16CCScrollLayerExt17updateScrollDecayEf_ptr - 0x3C8FB2) ; +0x28, 0x3c8fa8\nMOV             R0, R4                                                 ; +0x2a, 0x3c8faa\nSTR             R2, [SP,#8+var_4]                                      ; +0x2c, 0x3c8fac\nADD             R3, PC; _ZN16CCScrollLayerExt17updateScrollDecayEf_ptr ; +0x2e, 0x3c8fae\nLDR             R3, [R3]; CCScrollLayerExt::updateScrollDecay(float)   ; +0x30, 0x3c8fb0\nSTR             R3, [SP,#8+var_8]                                      ; +0x32, 0x3c8fb2\nADD             R3, SP, #8+var_s0                                      ; +0x34, 0x3c8fb4\nLDMDB.W         R3, {R1,R2}                                            ; +0x36, 0x3c8fb6\nBL              _ZN7cocos2d6CCNode8scheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float)) ; +0x3a, 0x3c8fba\nMOVS            R3, #1                                                 ; +0x3e, 0x3c8fbe\nSTRB.W          R3, [R4,#0x18C]                                        ; +0x40, 0x3c8fc0\nADD             SP, SP, #8                                             ; +0x44, 0x3c8fc4\nVPOP            {D8}                                                   ; +0x46, 0x3c8fc6\nPOP             {R4,PC}                                                ; +0x4a, 0x3c8fca", "xrefs": ["TableView::scrollWheel @ 0x3c9266"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}