{"type": "func", "start": 5368969952, "end": 5368970260, "name": "BoomListView::restoreListOffset", "pseudocode": "// \n// BoomListView::restoreListOffset from 0x14003fae0 to 0x14003fc14 (308 bytes)\n// \n// 6 xrefs:\n// > CustomListView::setupList @ 0x140146437\n// > CustomListView::setupList @ 0x140146450\n// > CustomListView::setupList @ 0x1401465eb\n// > <???> @ 0x140884a6c\n// > <???> @ 0x140884a7c\n// > <???> @ 0x14090f344\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:25:29 +0000\n// \n\nchar __fastcall BoomListView::restoreListOffset(__int64 a1, float a2)\n{\n  __int64 v3; // rsi\n  float v4; // xmm6_4\n  __int64 v5; // rdi\n  __int64 v6; // rbx\n  __int64 v7; // rsi\n  __int64 v8; // rdi\n  __int64 v9; // rbx\n  float *v10; // rax\n  __int64 v11; // rax\n  __int64 v12; // rbx\n  char v14; // [rsp+50h] [rbp+18h] BYREF\n\n  if ( a2 == 0.0 || *(_BYTE *)(a1 + 460) )\n    return 0;\n  v3 = *(_QWORD *)(a1 + 424);\n  v4 = fminf(*(float *)(v3 + 500), a2);\n  v5 = *(_QWORD *)(v3 + 480);\n  v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 320LL))(v3);\n  if ( (float)((float)(*(float *)(v6 + 4)\n                     - *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 320LL))(v5) + 4))\n             - *(float *)(v3 + 496)) > v4 )\n  {\n    v7 = *(_QWORD *)(a1 + 424);\n    v8 = *(_QWORD *)(v7 + 480);\n    v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 320LL))(v7);\n    v4 = (float)(*(float *)(v9 + 4) - *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 320LL))(v8) + 4))\n       - *(float *)(v7 + 496);\n  }\n  v10 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(a1 + 424) + 480LL) + 200LL))(*(_QWORD *)(*(_QWORD *)(a1 + 424) + 480LL));\n  v11 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, *v10, v4);\n  v12 = *(_QWORD *)(a1 + 424);\n  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(v12 + 480) + 184LL))(*(_QWORD *)(v12 + 480), v11);\n  CCScrollLayerExt::doConstraintContent(v12, 0);\n  return 1;\n}", "assembly": "; \n; BoomListView::restoreListOffset from 0x14003fae0 to 0x14003fc14 (308 bytes)\n; \n; 6 xrefs:\n; > CustomListView::setupList @ 0x140146437\n; > CustomListView::setupList @ 0x140146450\n; > CustomListView::setupList @ 0x1401465eb\n; > <???> @ 0x140884a6c\n; > <???> @ 0x140884a7c\n; > <???> @ 0x14090f344\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:25:29 +0000\n; \npush    rbp                                                            ; +0x0, 0x14003fae0\nsub     rsp, 30h                                                       ; +0x2, 0x14003fae2\nxorps   xmm0, xmm0                                                     ; +0x6, 0x14003fae6\nmov     rbp, rcx                                                       ; +0x9, 0x14003fae9\nucomiss xmm1, xmm0                                                     ; +0xc, 0x14003faec\njp      short loc_14003FAF7                                            ; +0xf, 0x14003faef\njz      loc_14003FC0C                                                  ; +0x11, 0x14003faf1\ncmp     byte ptr [rcx+1CCh], 0                                         ; +0x17, 0x14003faf7\njnz     loc_14003FC0C                                                  ; +0x1e, 0x14003fafe\nmov     [rsp+38h+arg_0], rbx                                           ; +0x24, 0x14003fb04\nmov     [rsp+38h+arg_8], rsi                                           ; +0x29, 0x14003fb09\nmov     rsi, [rcx+1A8h]                                                ; +0x2e, 0x14003fb0e\nmov     [rsp+38h+arg_18], rdi                                          ; +0x35, 0x14003fb15\nmov     rcx, rsi                                                       ; +0x3a, 0x14003fb1a\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x3d, 0x14003fb1d\nmovss   xmm6, dword ptr [rsi+1F4h]                                     ; +0x42, 0x14003fb22\nmov     rax, [rsi]                                                     ; +0x4a, 0x14003fb2a\nminss   xmm6, xmm1                                                     ; +0x4d, 0x14003fb2d\nmov     rdi, [rsi+1E0h]                                                ; +0x51, 0x14003fb31\ncall    qword ptr [rax+140h]                                           ; +0x58, 0x14003fb38\nmov     rdx, [rdi]                                                     ; +0x5e, 0x14003fb3e\nmov     rcx, rdi                                                       ; +0x61, 0x14003fb41\nmov     rbx, rax                                                       ; +0x64, 0x14003fb44\ncall    qword ptr [rdx+140h]                                           ; +0x67, 0x14003fb47\nmovss   xmm0, dword ptr [rbx+4]                                        ; +0x6d, 0x14003fb4d\nsubss   xmm0, dword ptr [rax+4]                                        ; +0x72, 0x14003fb52\nsubss   xmm0, dword ptr [rsi+1F0h]                                     ; +0x77, 0x14003fb57\ncomiss  xmm0, xmm6                                                     ; +0x7f, 0x14003fb5f\njbe     short loc_14003FB9F                                            ; +0x82, 0x14003fb62\nmov     rsi, [rbp+1A8h]                                                ; +0x84, 0x14003fb64\nmov     rcx, rsi                                                       ; +0x8b, 0x14003fb6b\nmov     rax, [rsi]                                                     ; +0x8e, 0x14003fb6e\nmov     rdi, [rsi+1E0h]                                                ; +0x91, 0x14003fb71\ncall    qword ptr [rax+140h]                                           ; +0x98, 0x14003fb78\nmov     rdx, [rdi]                                                     ; +0x9e, 0x14003fb7e\nmov     rcx, rdi                                                       ; +0xa1, 0x14003fb81\nmov     rbx, rax                                                       ; +0xa4, 0x14003fb84\ncall    qword ptr [rdx+140h]                                           ; +0xa7, 0x14003fb87\nmovss   xmm6, dword ptr [rbx+4]                                        ; +0xad, 0x14003fb8d\nsubss   xmm6, dword ptr [rax+4]                                        ; +0xb2, 0x14003fb92\nsubss   xmm6, dword ptr [rsi+1F0h]                                     ; +0xb7, 0x14003fb97\nmov     rax, [rbp+1A8h]                                                ; +0xbf, 0x14003fb9f\nmov     rcx, [rax+1E0h]                                                ; +0xc6, 0x14003fba6\nmov     rax, [rcx]                                                     ; +0xcd, 0x14003fbad\ncall    qword ptr [rax+0C8h]                                           ; +0xd0, 0x14003fbb0\nmovaps  xmm2, xmm6                                                     ; +0xd6, 0x14003fbb6\nlea     rcx, [rsp+38h+arg_10]                                          ; +0xd9, 0x14003fbb9\nmovss   xmm1, dword ptr [rax]                                          ; +0xde, 0x14003fbbe\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xe2, 0x14003fbc2\nmov     rbx, [rbp+1A8h]                                                ; +0xe8, 0x14003fbc8\nmov     rcx, [rbx+1E0h]                                                ; +0xef, 0x14003fbcf\nmov     rdx, [rcx]                                                     ; +0xf6, 0x14003fbd6\nmov     r8, [rdx+0B8h]                                                 ; +0xf9, 0x14003fbd9\nmov     rdx, rax                                                       ; +0x100, 0x14003fbe0\ncall    r8                                                             ; +0x103, 0x14003fbe3\nxor     edx, edx                                                       ; +0x106, 0x14003fbe6\nmov     rcx, rbx                                                       ; +0x108, 0x14003fbe8\ncall    CCScrollLayerExt__doConstraintContent                          ; +0x10b, 0x14003fbeb\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x110, 0x14003fbf0\nmov     al, 1                                                          ; +0x115, 0x14003fbf5\nmov     rdi, [rsp+38h+arg_18]                                          ; +0x117, 0x14003fbf7\nmov     rsi, [rsp+38h+arg_8]                                           ; +0x11c, 0x14003fbfc\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x121, 0x14003fc01\nadd     rsp, 30h                                                       ; +0x126, 0x14003fc06\npop     rbp                                                            ; +0x12a, 0x14003fc0a\nretn                                                                   ; +0x12b, 0x14003fc0b\nxor     al, al                                                         ; +0x12c, 0x14003fc0c\nadd     rsp, 30h                                                       ; +0x12e, 0x14003fc0e\npop     rbp                                                            ; +0x132, 0x14003fc12\nretn                                                                   ; +0x133, 0x14003fc13", "xrefs": ["CustomListView::setupList @ 0x140146437", "CustomListView::setupList @ 0x140146450", "CustomListView::setupList @ 0x1401465eb", "<???> @ 0x140884a6c", "<???> @ 0x140884a7c", "<???> @ 0x14090f344"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}