{"type": "func", "start": 3967932, "end": 3968008, "name": "CCScrollLayerExt::moveToTop", "pseudocode": "// \n// CCScrollLayerExt::moveToTop from 0x3c8bbc to 0x3c8c08 (76 bytes)\n// \n// 8 xrefs:\n// > BoomListView::setupList @ 0x3c088a\n// > CustomListView::setupList @ 0x424d58\n// > CustomListView::setupList @ 0x424e14\n// > CustomListView::setupList @ 0x424e76\n// > CustomListView::setupList @ 0x424ec6\n// > CustomListView::setupList @ 0x424f52\n// > CustomListView::setupList @ 0x425010\n// > MessageThreadsPage::onScrollToTop @ 0x746db2\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::moveToTop(CCScrollLayerExt *this, int a2, int a3, int a4)\n{\n  int v5; // r5\n  int (__fastcall *v6)(int, _DWORD *); // r7\n  float v7; // r8\n  float MinY; // r0\n  _DWORD v10[3]; // [sp+4h] [bp-Ch] BYREF\n\n  v10[0] = a2;\n  v10[1] = a3;\n  v10[2] = a4;\n  v5 = *((_DWORD *)this + 91);\n  v6 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v5 + 92);\n  v7 = *(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v5 + 96))(v5);\n  MinY = CCScrollLayerExt::getMinY(this);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, v7, MinY);\n  return v6(v5, v10);\n}", "assembly": "; \n; CCScrollLayerExt::moveToTop from 0x3c8bbc to 0x3c8c08 (76 bytes)\n; \n; 8 xrefs:\n; > BoomListView::setupList @ 0x3c088a\n; > CustomListView::setupList @ 0x424d58\n; > CustomListView::setupList @ 0x424e14\n; > CustomListView::setupList @ 0x424e76\n; > CustomListView::setupList @ 0x424ec6\n; > CustomListView::setupList @ 0x424f52\n; > CustomListView::setupList @ 0x425010\n; > MessageThreadsPage::onScrollToTop @ 0x746db2\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.W          {R0-R8,LR}                                             ; +0x0, 0x3c8bbc\nMOV             R6, R0                                                 ; +0x4, 0x3c8bc0\nLDR             R4, =(__stack_chk_guard_ptr - 0x3C8BCC)                ; +0x6, 0x3c8bc2\nLDR.W           R5, [R0,#0x16C]                                        ; +0x8, 0x3c8bc4\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x3c8bc8\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x3c8bca\nLDR             R3, [R4]                                               ; +0x10, 0x3c8bcc\nMOV             R0, R5                                                 ; +0x12, 0x3c8bce\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x14, 0x3c8bd0\nLDR             R3, [R5]                                               ; +0x16, 0x3c8bd2\nLDR             R7, [R3,#0x5C]                                         ; +0x18, 0x3c8bd4\nLDR             R3, [R3,#0x60]                                         ; +0x1a, 0x3c8bd6\nBLX             R3                                                     ; +0x1c, 0x3c8bd8\nLDR.W           R8, [R0]                                               ; +0x1e, 0x3c8bda\nMOV             R0, R6; this                                           ; +0x22, 0x3c8bde\nBL              _ZN16CCScrollLayerExt7getMinYEv; CCScrollLayerExt::getMinY(void) ; +0x24, 0x3c8be0\nADD             R6, SP, #0x10+var_C                                    ; +0x28, 0x3c8be4\nMOV             R1, R8; float                                          ; +0x2a, 0x3c8be6\nMOV             R2, R0; float                                          ; +0x2c, 0x3c8be8\nMOV             R0, R6; this                                           ; +0x2e, 0x3c8bea\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x30, 0x3c8bec\nMOV             R0, R5                                                 ; +0x34, 0x3c8bf0\nMOV             R1, R6                                                 ; +0x36, 0x3c8bf2\nBLX             R7                                                     ; +0x38, 0x3c8bf4\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x3a, 0x3c8bf6\nLDR             R3, [R4]                                               ; +0x3c, 0x3c8bf8\nCMP             R2, R3                                                 ; +0x3e, 0x3c8bfa\nBEQ             loc_3C8C02                                             ; +0x40, 0x3c8bfc\nBLX             __stack_chk_fail                                       ; +0x42, 0x3c8bfe\nADD             SP, SP, #0x10                                          ; +0x46, 0x3c8c02\nPOP.W           {R4-R8,PC}                                             ; +0x48, 0x3c8c04", "xrefs": ["BoomListView::setupList @ 0x3c088a", "CustomListView::setupList @ 0x424d58", "CustomListView::setupList @ 0x424e14", "CustomListView::setupList @ 0x424e76", "CustomListView::setupList @ 0x424ec6", "CustomListView::setupList @ 0x424f52", "CustomListView::setupList @ 0x425010", "MessageThreadsPage::onScrollToTop @ 0x746db2"], "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"}