{"type": "func", "start": 3049336, "end": 3049412, "name": "CCScrollLayerExt::moveToTop", "pseudocode": "// \n// CCScrollLayerExt::moveToTop from 0x2e8778 to 0x2e87c4 (76 bytes)\n// \n// 5 xrefs:\n// > BoomListView::setupList @ 0x2e148a\n// > CustomListView::setupList @ 0x3306c4\n// > CustomListView::setupList @ 0x330722\n// > CustomListView::setupList @ 0x330772\n// > CustomListView::setupList @ 0x330838\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 CCScrollLayerExt::moveToTop(CCScrollLayerExt *a1)\n{\n  CCContentLayer *m_contentLayer; // r5\n  void (__fastcall *setPosition)(CCContentLayer *__hidden, const cocos2d::CCPoint *); // r7\n  float x; // r8\n  float MinY; // r0\n  cocos2d::CCPoint v6; // [sp+4h] [bp-Ch] BYREF\n\n  m_contentLayer = a1->m_contentLayer;\n  setPosition = m_contentLayer->setPosition;\n  x = m_contentLayer->getPosition(m_contentLayer)->x;\n  MinY = CCScrollLayerExt::getMinY(a1);\n  cocos2d::CCPoint::CCPoint(&v6, x, MinY);\n  setPosition(m_contentLayer, &v6);\n}", "assembly": "; \n; CCScrollLayerExt::moveToTop from 0x2e8778 to 0x2e87c4 (76 bytes)\n; \n; 5 xrefs:\n; > BoomListView::setupList @ 0x2e148a\n; > CustomListView::setupList @ 0x3306c4\n; > CustomListView::setupList @ 0x330722\n; > CustomListView::setupList @ 0x330772\n; > CustomListView::setupList @ 0x330838\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.W          {R0-R8,LR}                                             ; +0x0, 0x2e8778\nMOV             R6, R0                                                 ; +0x4, 0x2e877c\nLDR             R4, =(__stack_chk_guard_ptr - 0x2E8788)                ; +0x6, 0x2e877e\nLDR.W           R5, [R0,#0x168]                                        ; +0x8, 0x2e8780\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x2e8784\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x2e8786\nLDR             R3, [R4]                                               ; +0x10, 0x2e8788\nMOV             R0, R5                                                 ; +0x12, 0x2e878a\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x14, 0x2e878c\nLDR             R3, [R5]                                               ; +0x16, 0x2e878e\nLDR             R7, [R3,#0x5C]                                         ; +0x18, 0x2e8790\nLDR             R3, [R3,#0x60]                                         ; +0x1a, 0x2e8792\nBLX             R3                                                     ; +0x1c, 0x2e8794\nLDR.W           R8, [R0]                                               ; +0x1e, 0x2e8796\nMOV             R0, R6; this                                           ; +0x22, 0x2e879a\nBL              _ZN16CCScrollLayerExt7getMinYEv; CCScrollLayerExt::getMinY(void) ; +0x24, 0x2e879c\nADD             R6, SP, #0x10+var_C                                    ; +0x28, 0x2e87a0\nMOV             R1, R8; float                                          ; +0x2a, 0x2e87a2\nMOV             R2, R0; float                                          ; +0x2c, 0x2e87a4\nMOV             R0, R6; this                                           ; +0x2e, 0x2e87a6\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x30, 0x2e87a8\nMOV             R0, R5                                                 ; +0x34, 0x2e87ac\nMOV             R1, R6                                                 ; +0x36, 0x2e87ae\nBLX             R7                                                     ; +0x38, 0x2e87b0\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x3a, 0x2e87b2\nLDR             R3, [R4]                                               ; +0x3c, 0x2e87b4\nCMP             R2, R3                                                 ; +0x3e, 0x2e87b6\nBEQ             loc_2E87BE                                             ; +0x40, 0x2e87b8\nBLX             __stack_chk_fail                                       ; +0x42, 0x2e87ba\nADD             SP, SP, #0x10                                          ; +0x46, 0x2e87be\nPOP.W           {R4-R8,PC}                                             ; +0x48, 0x2e87c0", "xrefs": ["BoomListView::setupList @ 0x2e148a", "CustomListView::setupList @ 0x3306c4", "CustomListView::setupList @ 0x330722", "CustomListView::setupList @ 0x330772", "CustomListView::setupList @ 0x330838"], "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"}