{"type": "func", "start": 3967828, "end": 3967928, "name": "CCScrollLayerExt::moveToTopWithOffset", "pseudocode": "// \n// CCScrollLayerExt::moveToTopWithOffset from 0x3c8b54 to 0x3c8bb8 (100 bytes)\n// \n// 7 xrefs:\n// > BoomListView::setupList @ 0x3c0882\n// > CustomListView::setupList @ 0x424d52\n// > CustomListView::setupList @ 0x424e0e\n// > CustomListView::setupList @ 0x424e70\n// > CustomListView::setupList @ 0x424ec0\n// > CustomListView::setupList @ 0x424f4c\n// > CustomListView::setupList @ 0x42500a\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::moveToTopWithOffset(CCScrollLayerExt *this, float a2)\n{\n  int v4; // r6\n  int (__fastcall *v5)(int, _BYTE *); // r7\n  float v6; // r8\n  float MinY; // r0\n  _BYTE v9[8]; // [sp+4h] [bp-Ch] BYREF\n\n  v4 = *((_DWORD *)this + 91);\n  v5 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 92);\n  v6 = *(float *)(*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v4 + 96))(v4, LODWORD(a2));\n  MinY = CCScrollLayerExt::getMinY(this);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v6, MinY + a2);\n  return v5(v4, v9);\n}", "assembly": "; \n; CCScrollLayerExt::moveToTopWithOffset from 0x3c8b54 to 0x3c8bb8 (100 bytes)\n; \n; 7 xrefs:\n; > BoomListView::setupList @ 0x3c0882\n; > CustomListView::setupList @ 0x424d52\n; > CustomListView::setupList @ 0x424e0e\n; > CustomListView::setupList @ 0x424e70\n; > CustomListView::setupList @ 0x424ec0\n; > CustomListView::setupList @ 0x424f4c\n; > CustomListView::setupList @ 0x42500a\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          {R4-R8,LR}                                             ; +0x0, 0x3c8b54\nMOV             R5, R0                                                 ; +0x4, 0x3c8b58\nVPUSH           {D8}                                                   ; +0x6, 0x3c8b5a\nLDR             R4, =(__stack_chk_guard_ptr - 0x3C8B64)                ; +0xa, 0x3c8b5e\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x3c8b60\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x3c8b62\nVMOV            S16, R1                                                ; +0x10, 0x3c8b64\nLDR.W           R6, [R0,#0x16C]                                        ; +0x14, 0x3c8b68\nSUB             SP, SP, #0x10                                          ; +0x18, 0x3c8b6c\nLDR             R3, [R4]                                               ; +0x1a, 0x3c8b6e\nMOV             R0, R6                                                 ; +0x1c, 0x3c8b70\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x1e, 0x3c8b72\nLDR             R3, [R6]                                               ; +0x20, 0x3c8b74\nLDR             R7, [R3,#0x5C]                                         ; +0x22, 0x3c8b76\nLDR             R3, [R3,#0x60]                                         ; +0x24, 0x3c8b78\nBLX             R3                                                     ; +0x26, 0x3c8b7a\nLDR.W           R8, [R0]                                               ; +0x28, 0x3c8b7c\nMOV             R0, R5; this                                           ; +0x2c, 0x3c8b80\nBL              _ZN16CCScrollLayerExt7getMinYEv; CCScrollLayerExt::getMinY(void) ; +0x2e, 0x3c8b82\nADD             R5, SP, #0x10+var_C                                    ; +0x32, 0x3c8b86\nMOV             R1, R8; float                                          ; +0x34, 0x3c8b88\nVMOV            S15, R0                                                ; +0x36, 0x3c8b8a\nMOV             R0, R5; this                                           ; +0x3a, 0x3c8b8e\nVADD.F32        S16, S15, S16                                          ; +0x3c, 0x3c8b90\nVMOV            R2, S16; float                                         ; +0x40, 0x3c8b94\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x44, 0x3c8b98\nMOV             R0, R6                                                 ; +0x48, 0x3c8b9c\nMOV             R1, R5                                                 ; +0x4a, 0x3c8b9e\nBLX             R7                                                     ; +0x4c, 0x3c8ba0\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x4e, 0x3c8ba2\nLDR             R3, [R4]                                               ; +0x50, 0x3c8ba4\nCMP             R2, R3                                                 ; +0x52, 0x3c8ba6\nBEQ             loc_3C8BAE                                             ; +0x54, 0x3c8ba8\nBLX             __stack_chk_fail                                       ; +0x56, 0x3c8baa\nADD             SP, SP, #0x10                                          ; +0x5a, 0x3c8bae\nVPOP            {D8}                                                   ; +0x5c, 0x3c8bb0\nPOP.W           {R4-R8,PC}                                             ; +0x60, 0x3c8bb4", "xrefs": ["BoomListView::setupList @ 0x3c0882", "CustomListView::setupList @ 0x424d52", "CustomListView::setupList @ 0x424e0e", "CustomListView::setupList @ 0x424e70", "CustomListView::setupList @ 0x424ec0", "CustomListView::setupList @ 0x424f4c", "CustomListView::setupList @ 0x42500a"], "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"}