{"type": "func", "start": 3934880, "end": 3935056, "name": "BoomListView::restoreListOffset", "pseudocode": "// \n// BoomListView::restoreListOffset from 0x3c0aa0 to 0x3c0b50 (176 bytes)\n// \n// 3 xrefs:\n// > CustomListView::setupList @ 0x424cce\n// > CustomListView::setupList @ 0x424cde\n// > CustomListView::setupList @ 0x424da2\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:30 +0000\n// \n\nint __fastcall BoomListView::restoreListOffset(BoomListView *this, float a2)\n{\n  float v3; // s16\n  int v4; // r6\n  float *v5; // r0\n  _BYTE v7[8]; // [sp+4h] [bp-Ch] BYREF\n\n  v3 = a2;\n  if ( a2 == 0.0 || *((_BYTE *)this + 352) )\n    return 0;\n  if ( a2 > COERCE_FLOAT(CCScrollLayerExt::getMaxY(*((CCScrollLayerExt **)this + 81))) )\n    v3 = COERCE_FLOAT(CCScrollLayerExt::getMaxY(*((CCScrollLayerExt **)this + 81)));\n  if ( v3 < COERCE_FLOAT(CCScrollLayerExt::getMinY(*((CCScrollLayerExt **)this + 81))) )\n    v3 = COERCE_FLOAT(CCScrollLayerExt::getMinY(*((CCScrollLayerExt **)this + 81)));\n  v4 = *((_DWORD *)this + 81);\n  v5 = (float *)(*(int (__fastcall **)(_DWORD))(**(_DWORD **)(v4 + 364) + 96))(*(_DWORD *)(v4 + 364));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, *v5, v3);\n  CCScrollLayerExt::setContentOffset(v4, v7, 0);\n  return 1;\n}", "assembly": "; \n; BoomListView::restoreListOffset from 0x3c0aa0 to 0x3c0b50 (176 bytes)\n; \n; 3 xrefs:\n; > CustomListView::setupList @ 0x424cce\n; > CustomListView::setupList @ 0x424cde\n; > CustomListView::setupList @ 0x424da2\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:30 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x3c0aa0\nMOV             R4, R0                                                 ; +0x2, 0x3c0aa2\nVPUSH           {D8}                                                   ; +0x4, 0x3c0aa4\nLDR             R3, =(__stack_chk_guard_ptr - 0x3C0AB2)                ; +0x8, 0x3c0aa8\nVMOV            S16, R1                                                ; +0xa, 0x3c0aaa\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xe, 0x3c0aae\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x10, 0x3c0ab0\nSUB             SP, SP, #0x10                                          ; +0x12, 0x3c0ab2\nVCMP.F32        S16, #0.0                                              ; +0x14, 0x3c0ab4\nLDR             R2, [R3]                                               ; +0x18, 0x3c0ab8\nMOV             R5, R3                                                 ; +0x1a, 0x3c0aba\nSTR             R2, [SP,#0x10+var_4]                                   ; +0x1c, 0x3c0abc\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1e, 0x3c0abe\nBEQ             loc_3C0B3A                                             ; +0x22, 0x3c0ac2\nLDRB.W          R3, [R0,#0x160]                                        ; +0x24, 0x3c0ac4\nCBNZ            R3, loc_3C0B3A                                         ; +0x28, 0x3c0ac8\nLDR.W           R0, [R0,#0x144]; this                                  ; +0x2a, 0x3c0aca\nBL              _ZN16CCScrollLayerExt7getMaxYEv; CCScrollLayerExt::getMaxY(void) ; +0x2e, 0x3c0ace\nVMOV            S15, R0                                                ; +0x32, 0x3c0ad2\nVCMPE.F32       S16, S15                                               ; +0x36, 0x3c0ad6\nVMRS            APSR_nzcv, FPSCR                                       ; +0x3a, 0x3c0ada\nBLE             loc_3C0AEC                                             ; +0x3e, 0x3c0ade\nLDR.W           R0, [R4,#0x144]; this                                  ; +0x40, 0x3c0ae0\nBL              _ZN16CCScrollLayerExt7getMaxYEv; CCScrollLayerExt::getMaxY(void) ; +0x44, 0x3c0ae4\nVMOV            S16, R0                                                ; +0x48, 0x3c0ae8\nLDR.W           R0, [R4,#0x144]; this                                  ; +0x4c, 0x3c0aec\nBL              _ZN16CCScrollLayerExt7getMinYEv; CCScrollLayerExt::getMinY(void) ; +0x50, 0x3c0af0\nVMOV            S15, R0                                                ; +0x54, 0x3c0af4\nVCMPE.F32       S16, S15                                               ; +0x58, 0x3c0af8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x5c, 0x3c0afc\nBPL             loc_3C0B0E                                             ; +0x60, 0x3c0b00\nLDR.W           R0, [R4,#0x144]; this                                  ; +0x62, 0x3c0b02\nBL              _ZN16CCScrollLayerExt7getMinYEv; CCScrollLayerExt::getMinY(void) ; +0x66, 0x3c0b06\nVMOV            S16, R0                                                ; +0x6a, 0x3c0b0a\nLDR.W           R6, [R4,#0x144]                                        ; +0x6e, 0x3c0b0e\nADD             R4, SP, #0x10+var_C                                    ; +0x72, 0x3c0b12\nLDR.W           R0, [R6,#0x16C]                                        ; +0x74, 0x3c0b14\nLDR             R3, [R0]                                               ; +0x78, 0x3c0b18\nLDR             R3, [R3,#0x60]                                         ; +0x7a, 0x3c0b1a\nBLX             R3                                                     ; +0x7c, 0x3c0b1c\nVMOV            R2, S16; float                                         ; +0x7e, 0x3c0b1e\nMOV             R3, R0                                                 ; +0x82, 0x3c0b22\nMOV             R0, R4; this                                           ; +0x84, 0x3c0b24\nLDR             R1, [R3]; float                                        ; +0x86, 0x3c0b26\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x88, 0x3c0b28\nMOV             R0, R6                                                 ; +0x8c, 0x3c0b2c\nMOV             R1, R4                                                 ; +0x8e, 0x3c0b2e\nMOVS            R2, #0                                                 ; +0x90, 0x3c0b30\nBL              _ZN16CCScrollLayerExt16setContentOffsetEN7cocos2d7CCPointEb; CCScrollLayerExt::setContentOffset(cocos2d::CCPoint,bool) ; +0x92, 0x3c0b32\nMOVS            R0, #1                                                 ; +0x96, 0x3c0b36\nB               loc_3C0B3C                                             ; +0x98, 0x3c0b38\nMOVS            R0, #0                                                 ; +0x9a, 0x3c0b3a\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x9c, 0x3c0b3c\nLDR             R3, [R5]                                               ; +0x9e, 0x3c0b3e\nCMP             R2, R3                                                 ; +0xa0, 0x3c0b40\nBEQ             loc_3C0B48                                             ; +0xa2, 0x3c0b42\nBLX             __stack_chk_fail                                       ; +0xa4, 0x3c0b44\nADD             SP, SP, #0x10                                          ; +0xa8, 0x3c0b48\nVPOP            {D8}                                                   ; +0xaa, 0x3c0b4a\nPOP             {R4-R6,PC}                                             ; +0xae, 0x3c0b4e", "xrefs": ["CustomListView::setupList @ 0x424cce", "CustomListView::setupList @ 0x424cde", "CustomListView::setupList @ 0x424da2"], "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"}