{"type": "func", "start": 5370157872, "end": 5370158315, "name": "CustomSFXWidget::showLoadingArt", "pseudocode": "// \n// CustomSFXWidget::showLoadingArt from 0x140161b30 to 0x140161ceb (443 bytes)\n// \n// 5 xrefs:\n// > CustomSFXWidget::onDownload @ 0x140161f11\n// > CustomSFXWidget::startMonitorDownload @ 0x14016201f\n// > <???> @ 0x14089bac0\n// > <???> @ 0x14089baf4\n// > <???> @ 0x140917cfc\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:27:25 +0000\n// \n\n__int64 __fastcall CustomSFXWidget::showLoadingArt(__int64 a1, __int64 a2)\n{\n  __int64 v3; // rbx\n  float v4; // xmm6_4\n  double v5; // xmm0_8\n  float v6; // xmm7_4\n  double v7; // xmm0_8\n  __int64 v8; // rax\n  __int64 v9; // rbx\n  __int64 v10; // rax\n  __int64 v11; // rbx\n  float v12; // xmm6_4\n  double v13; // xmm0_8\n  __int64 v14; // rax\n  __int64 v15; // rdx\n  cocos2d::CCNode *v16; // rbx\n  struct cocos2d::CCAction *v17; // rax\n  __int64 v18; // rdx\n  char v20; // [rsp+50h] [rbp+8h] BYREF\n  char v21; // [rsp+58h] [rbp+10h] BYREF\n\n  if ( *(_QWORD *)(a1 + 472) )\n  {\n    if ( *(_BYTE *)(a1 + 492) )\n    {\n      v3 = *(_QWORD *)(a1 + 360);\n      v4 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 320LL))(v3);\n      v5 = (*(double (__fastcall **)(__int64))(*(_QWORD *)v3 + 168LL))(v3);\n      v6 = (float)(*(float *)&v5 * v4) + 12.0;\n      v7 = CustomSFXWidget::infoBtnWidth(a1);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v21, *(float *)&v7 + v6, 0.0);\n      v9 = v8;\n      v10 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 360) + 200LL))(*(_QWORD *)(a1 + 360));\n    }\n    else\n    {\n      v11 = *(_QWORD *)(a1 + 352);\n      v12 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 320LL))(v11);\n      v13 = (*(double (__fastcall **)(__int64))(*(_QWORD *)v11 + 168LL))(v11);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v21, (float)(*(float *)&v13 * v12) + 14.0, 0.0);\n      v9 = v14;\n      v10 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 352) + 200LL))(*(_QWORD *)(a1 + 352));\n    }\n    cocos2d::CCPoint::operator+(v10, &v20, v9);\n    (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 472) + 184LL))(*(_QWORD *)(a1 + 472), &v20);\n    cocos2d::CCNode::stopAllActions(*(cocos2d::CCNode **)(a1 + 472));\n    LOBYTE(v15) = 25;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(*(_QWORD *)(a1 + 472) + 320LL) + 40LL))(\n      *(_QWORD *)(a1 + 472) + 320LL,\n      v15);\n    v16 = *(cocos2d::CCNode **)(a1 + 472);\n    v17 = cocos2d::CCFadeTo::create(0.2, 0xAFu);\n    cocos2d::CCNode::runAction(v16, v17);\n    LOBYTE(v18) = 1;\n    return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 472) + 336LL))(*(_QWORD *)(a1 + 472), v18);\n  }\n  else\n  {\n    LOBYTE(a2) = 1;\n    return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 456) + 336LL))(*(_QWORD *)(a1 + 456), a2);\n  }\n}", "assembly": "; \n; CustomSFXWidget::showLoadingArt from 0x140161b30 to 0x140161ceb (443 bytes)\n; \n; 5 xrefs:\n; > CustomSFXWidget::onDownload @ 0x140161f11\n; > CustomSFXWidget::startMonitorDownload @ 0x14016201f\n; > <???> @ 0x14089bac0\n; > <???> @ 0x14089baf4\n; > <???> @ 0x140917cfc\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:27:25 +0000\n; \npush    rdi                                                            ; +0x0, 0x140161b30\nsub     rsp, 40h                                                       ; +0x2, 0x140161b32\ncmp     qword ptr [rcx+1D8h], 0                                        ; +0x6, 0x140161b36\nmov     rdi, rcx                                                       ; +0xe, 0x140161b3e\njz      loc_140161CD3                                                  ; +0x11, 0x140161b41\ncmp     byte ptr [rcx+1ECh], 0                                         ; +0x17, 0x140161b47\nmov     [rsp+48h+arg_10], rbx                                          ; +0x1e, 0x140161b4e\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x23, 0x140161b53\njz      loc_140161BF2                                                  ; +0x28, 0x140161b58\nmov     rbx, [rcx+168h]                                                ; +0x2e, 0x140161b5e\nmov     rcx, rbx                                                       ; +0x35, 0x140161b65\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0x38, 0x140161b68\nmov     rax, [rbx]                                                     ; +0x3d, 0x140161b6d\ncall    qword ptr [rax+140h]                                           ; +0x40, 0x140161b70\nmov     rcx, rbx                                                       ; +0x46, 0x140161b76\nmovss   xmm6, dword ptr [rax]                                          ; +0x49, 0x140161b79\nmov     rax, [rbx]                                                     ; +0x4d, 0x140161b7d\ncall    qword ptr [rax+0A8h]                                           ; +0x50, 0x140161b80\nmovaps  xmm7, xmm0                                                     ; +0x56, 0x140161b86\nmov     rcx, rdi                                                       ; +0x59, 0x140161b89\nmulss   xmm7, xmm6                                                     ; +0x5c, 0x140161b8c\naddss   xmm7, cs:dword_140835508                                       ; +0x60, 0x140161b90\ncall    CustomSFXWidget__infoBtnWidth                                  ; +0x68, 0x140161b98\naddss   xmm0, xmm7                                                     ; +0x6d, 0x140161b9d\nxorps   xmm2, xmm2                                                     ; +0x71, 0x140161ba1\nlea     rcx, [rsp+48h+arg_8]                                           ; +0x74, 0x140161ba4\nmovaps  xmm1, xmm0                                                     ; +0x79, 0x140161ba9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x7c, 0x140161bac\nmov     rcx, [rdi+168h]                                                ; +0x82, 0x140161bb2\nmov     rbx, rax                                                       ; +0x89, 0x140161bb9\nmov     rdx, [rcx]                                                     ; +0x8c, 0x140161bbc\ncall    qword ptr [rdx+0C8h]                                           ; +0x8f, 0x140161bbf\nmov     r8, rbx                                                        ; +0x95, 0x140161bc5\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x98, 0x140161bc8\nmov     rcx, rax                                                       ; +0x9d, 0x140161bcd\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0xa0, 0x140161bd0\nmov     rcx, [rdi+1D8h]                                                ; +0xa6, 0x140161bd6\nlea     rdx, [rsp+48h+arg_0]                                           ; +0xad, 0x140161bdd\nmov     rax, [rcx]                                                     ; +0xb2, 0x140161be2\ncall    qword ptr [rax+0B8h]                                           ; +0xb5, 0x140161be5\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0xbb, 0x140161beb\njmp     short loc_140161C6B                                            ; +0xc0, 0x140161bf0\nmov     rbx, [rcx+160h]                                                ; +0xc2, 0x140161bf2\nmov     rcx, rbx                                                       ; +0xc9, 0x140161bf9\nmov     rax, [rbx]                                                     ; +0xcc, 0x140161bfc\ncall    qword ptr [rax+140h]                                           ; +0xcf, 0x140161bff\nmov     rcx, rbx                                                       ; +0xd5, 0x140161c05\nmovss   xmm6, dword ptr [rax]                                          ; +0xd8, 0x140161c08\nmov     rax, [rbx]                                                     ; +0xdc, 0x140161c0c\ncall    qword ptr [rax+0A8h]                                           ; +0xdf, 0x140161c0f\nmulss   xmm0, xmm6                                                     ; +0xe5, 0x140161c15\nxorps   xmm2, xmm2                                                     ; +0xe9, 0x140161c19\nlea     rcx, [rsp+48h+arg_8]                                           ; +0xec, 0x140161c1c\naddss   xmm0, cs:dword_140835530                                       ; +0xf1, 0x140161c21\nmovaps  xmm1, xmm0                                                     ; +0xf9, 0x140161c29\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xfc, 0x140161c2c\nmov     rcx, [rdi+160h]                                                ; +0x102, 0x140161c32\nmov     rbx, rax                                                       ; +0x109, 0x140161c39\nmov     rdx, [rcx]                                                     ; +0x10c, 0x140161c3c\ncall    qword ptr [rdx+0C8h]                                           ; +0x10f, 0x140161c3f\nmov     r8, rbx                                                        ; +0x115, 0x140161c45\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x118, 0x140161c48\nmov     rcx, rax                                                       ; +0x11d, 0x140161c4d\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x120, 0x140161c50\nmov     rcx, [rdi+1D8h]                                                ; +0x126, 0x140161c56\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x12d, 0x140161c5d\nmov     rax, [rcx]                                                     ; +0x132, 0x140161c62\ncall    qword ptr [rax+0B8h]                                           ; +0x135, 0x140161c65\nmov     rcx, [rdi+1D8h]                                                ; +0x13b, 0x140161c6b\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x142, 0x140161c72\nmov     rcx, [rdi+1D8h]                                                ; +0x148, 0x140161c78\nmov     dl, 19h                                                        ; +0x14f, 0x140161c7f\nadd     rcx, 140h                                                      ; +0x151, 0x140161c81\nmov     rax, [rcx]                                                     ; +0x158, 0x140161c88\ncall    qword ptr [rax+28h]                                            ; +0x15b, 0x140161c8b\nmovss   xmm0, cs:dword_140834E64                                       ; +0x15e, 0x140161c8e\nmov     dl, 0AFh                                                       ; +0x166, 0x140161c96\nmov     rbx, [rdi+1D8h]                                                ; +0x168, 0x140161c98\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0x16f, 0x140161c9f\nmov     rdx, rax                                                       ; +0x175, 0x140161ca5\nmov     rcx, rbx                                                       ; +0x178, 0x140161ca8\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x17b, 0x140161cab\nmov     rcx, [rdi+1D8h]                                                ; +0x181, 0x140161cb1\nmov     dl, 1                                                          ; +0x188, 0x140161cb8\nmov     rax, [rcx]                                                     ; +0x18a, 0x140161cba\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x18d, 0x140161cbd\nmov     rbx, [rsp+48h+arg_10]                                          ; +0x192, 0x140161cc2\nadd     rsp, 40h                                                       ; +0x197, 0x140161cc7\npop     rdi                                                            ; +0x19b, 0x140161ccb\njmp     qword ptr [rax+150h]                                           ; +0x19c, 0x140161ccc\nmov     rcx, [rcx+1C8h]                                                ; +0x1a3, 0x140161cd3\nmov     dl, 1                                                          ; +0x1aa, 0x140161cda\nmov     rax, [rcx]                                                     ; +0x1ac, 0x140161cdc\nadd     rsp, 40h                                                       ; +0x1af, 0x140161cdf\npop     rdi                                                            ; +0x1b3, 0x140161ce3\njmp     qword ptr [rax+150h]                                           ; +0x1b4, 0x140161ce4", "xrefs": ["CustomSFXWidget::onDownload @ 0x140161f11", "CustomSFXWidget::startMonitorDownload @ 0x14016201f", "<???> @ 0x14089bac0", "<???> @ 0x14089baf4", "<???> @ 0x140917cfc"], "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"}