{"type": "func", "start": 10688804, "end": 10689252, "name": "CustomSFXWidget::showLoadingArt", "pseudocode": "// \n// CustomSFXWidget::showLoadingArt from 0xa31924 to 0xa31ae4 (448 bytes)\n// \n// 3 xrefs:\n// > CustomSFXWidget::startMonitorDownload @ 0xa31c5c\n// > CustomSFXWidget::onDownload @ 0xa31d10\n// > <???> @ 0x47df0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CustomSFXWidget::showLoadingArt(CustomSFXWidget *a1)\n{\n  cocos2d::CCSprite *m_clockSprite; // x21\n  void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // x24\n  const cocos2d::CCPoint *v4; // x25\n  float width; // s8\n  float v6; // s0\n  float v7; // s2\n  cocos2d::CCSprite *v8; // x21\n  cocos2d::CCFadeTo *v9; // x0\n  cocos2d::CCSprite *m_progressOutlineSprite; // x2\n  cocos2d::CCPoint v11; // [xsp+68h] [xbp+68h] BYREF\n  __int64 v12; // [xsp+70h] [xbp+70h] BYREF\n\n  m_clockSprite = a1->m_clockSprite;\n  if ( m_clockSprite )\n  {\n    setPosition = m_clockSprite->setPosition;\n    if ( a1->m_compactMode )\n    {\n      v4 = a1->m_idLabel->getPosition(a1->m_idLabel);\n      width = a1->m_idLabel->getContentSize(a1->m_idLabel)->width;\n      a1->m_idLabel->getScale(a1->m_idLabel);\n      v7 = 12.0;\n    }\n    else\n    {\n      v4 = a1->m_titleLabel->getPosition(a1->m_titleLabel);\n      width = a1->m_titleLabel->getContentSize(a1->m_titleLabel)->width;\n      a1->m_titleLabel->getScale(a1->m_titleLabel);\n      v7 = 14.0;\n    }\n    cocos2d::CCPoint::CCPoint(&v11, v7 + (float)(width * v6), 0.0);\n    cocos2d::CCPoint::operator+(&v12, v4, &v11);\n    setPosition(m_clockSprite, (const cocos2d::CCPoint *)&v12);\n    cocos2d::CCNode::stopAllActions(a1->m_clockSprite);\n    a1->m_clockSprite->setOpacity(a1->m_clockSprite, 25);\n    v8 = a1->m_clockSprite;\n    v9 = cocos2d::CCFadeTo::create(0.2, 0xAFu);\n    cocos2d::CCNode::runAction(v8, v9);\n    m_progressOutlineSprite = a1->m_clockSprite;\n  }\n  else\n  {\n    m_progressOutlineSprite = a1->m_progressOutlineSprite;\n  }\n  m_progressOutlineSprite->setVisible(m_progressOutlineSprite, 1);\n}", "assembly": "; \n; CustomSFXWidget::showLoadingArt from 0xa31924 to 0xa31ae4 (448 bytes)\n; \n; 3 xrefs:\n; > CustomSFXWidget::startMonitorDownload @ 0xa31c5c\n; > CustomSFXWidget::onDownload @ 0xa31d10\n; > <???> @ 0x47df0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_80]!                                ; +0x0, 0xa31924\nMOV             X29, SP                                                ; +0x4, 0xa31928\nSTP             X19, X20, [SP,#0x80+var_70]                            ; +0x8, 0xa3192c\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xa31930\nMOV             X19, X0                                                ; +0x10, 0xa31934\nSTP             X21, X22, [SP,#0x80+var_60]                            ; +0x14, 0xa31938\nSTP             X23, X24, [SP,#0x80+var_50]                            ; +0x18, 0xa3193c\nLDR             X0, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xa31940\nLDR             X21, [X19,#0x1B0]                                      ; +0x20, 0xa31944\nSTR             X25, [SP,#0x80+var_40]                                 ; +0x24, 0xa31948\nLDR             X0, [X0]                                               ; +0x28, 0xa3194c\nSTR             X0, [X29,#0x80+var_8]                                  ; +0x2c, 0xa31950\nSTR             D8, [SP,#0x80+var_38]                                  ; +0x30, 0xa31954\nCBZ             X21, loc_A31AD8                                        ; +0x34, 0xa31958\nLDRB            W0, [X19,#0x1C4]                                       ; +0x38, 0xa3195c\nCBNZ            W0, loc_A31A70                                         ; +0x3c, 0xa31960\nLDR             X1, [X19,#0x160]                                       ; +0x40, 0xa31964\nADD             X23, X29, #0x80+var_18                                 ; +0x44, 0xa31968\nLDR             X2, [X21]                                              ; +0x48, 0xa3196c\nADD             X22, X29, #0x80+var_10                                 ; +0x4c, 0xa31970\nMOV             X0, X1                                                 ; +0x50, 0xa31974\nLDR             X1, [X1]                                               ; +0x54, 0xa31978\nLDR             X24, [X2,#0xB8]                                        ; +0x58, 0xa3197c\nLDR             X1, [X1,#0xC0]                                         ; +0x5c, 0xa31980\nBLR             X1                                                     ; +0x60, 0xa31984\nMOV             X25, X0                                                ; +0x64, 0xa31988\nLDR             X1, [X19,#0x160]                                       ; +0x68, 0xa3198c\nMOV             X0, X1                                                 ; +0x6c, 0xa31990\nLDR             X1, [X1]                                               ; +0x70, 0xa31994\nLDR             X1, [X1,#0x138]                                        ; +0x74, 0xa31998\nBLR             X1                                                     ; +0x78, 0xa3199c\nLDR             X1, [X19,#0x160]                                       ; +0x7c, 0xa319a0\nLDR             S8, [X0]                                               ; +0x80, 0xa319a4\nMOV             X0, X1                                                 ; +0x84, 0xa319a8\nLDR             X1, [X1]                                               ; +0x88, 0xa319ac\nLDR             X1, [X1,#0xA8]                                         ; +0x8c, 0xa319b0\nBLR             X1                                                     ; +0x90, 0xa319b4\nSTR             X23, [X29,#0x80+var_28]                                ; +0x94, 0xa319b8\nFMOV            S1, WZR; float                                         ; +0x98, 0xa319bc\nMOV             X0, X23; this                                          ; +0x9c, 0xa319c0\nFMOV            S2, #14.0                                              ; +0xa0, 0xa319c4\nFMADD           S0, S8, S0, S2; float                                  ; +0xa4, 0xa319c8\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xa8, 0xa319cc\nLDR             X1, [X29,#0x80+var_28]                                 ; +0xac, 0xa319d0\nMOV             X8, X22                                                ; +0xb0, 0xa319d4\nMOV             X0, X25                                                ; +0xb4, 0xa319d8\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0xb8, 0xa319dc\nMOV             X0, X21                                                ; +0xbc, 0xa319e0\nMOV             X1, X22                                                ; +0xc0, 0xa319e4\nBLR             X24                                                    ; +0xc4, 0xa319e8\nLDR             X0, [X19,#0x1B0]; this                                 ; +0xc8, 0xa319ec\nBL              _ZN7cocos2d6CCNode14stopAllActionsEv; cocos2d::CCNode::stopAllActions(void) ; +0xcc, 0xa319f0\nLDR             X2, [X19,#0x1B0]                                       ; +0xd0, 0xa319f4\nMOV             W1, #0x19                                              ; +0xd4, 0xa319f8\nMOV             X0, X2                                                 ; +0xd8, 0xa319fc\nLDR             X2, [X2]                                               ; +0xdc, 0xa31a00\nLDR             X2, [X2,#0x380]                                        ; +0xe0, 0xa31a04\nBLR             X2                                                     ; +0xe4, 0xa31a08\nLDR             X21, [X19,#0x1B0]                                      ; +0xe8, 0xa31a0c\nLDR             S0, flt_A31AE4; float                                  ; +0xec, 0xa31a10\nMOV             W0, #0xFFFFFFAF; this                                  ; +0xf0, 0xa31a14\nBL              _ZN7cocos2d8CCFadeTo6createEfh; cocos2d::CCFadeTo::create(float,uchar) ; +0xf4, 0xa31a18\nMOV             X1, X0; cocos2d::CCAction *                            ; +0xf8, 0xa31a1c\nMOV             X0, X21; this                                          ; +0xfc, 0xa31a20\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x100, 0xa31a24\nLDR             X2, [X19,#0x1B0]                                       ; +0x104, 0xa31a28\nMOV             X0, X2                                                 ; +0x108, 0xa31a2c\nLDR             X2, [X2]                                               ; +0x10c, 0xa31a30\nMOV             W1, #1                                                 ; +0x110, 0xa31a34\nLDR             X2, [X2,#0x148]                                        ; +0x114, 0xa31a38\nBLR             X2                                                     ; +0x118, 0xa31a3c\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x11c, 0xa31a40\nLDR             X1, [X29,#0x80+var_8]                                  ; +0x120, 0xa31a44\nLDR             X0, [X20]                                              ; +0x124, 0xa31a48\nCMP             X1, X0                                                 ; +0x128, 0xa31a4c\nB.NE            loc_A31AE0                                             ; +0x12c, 0xa31a50\nLDP             X19, X20, [SP,#0x80+var_70]                            ; +0x130, 0xa31a54\nLDP             X21, X22, [SP,#0x80+var_60]                            ; +0x134, 0xa31a58\nLDP             X23, X24, [SP,#0x80+var_50]                            ; +0x138, 0xa31a5c\nLDR             X25, [SP,#0x80+var_40]                                 ; +0x13c, 0xa31a60\nLDR             D8, [SP,#0x80+var_38]                                  ; +0x140, 0xa31a64\nLDP             X29, X30, [SP+0x80+var_80],#0x80                       ; +0x144, 0xa31a68\nRET                                                                    ; +0x148, 0xa31a6c\nLDR             X1, [X19,#0x168]                                       ; +0x14c, 0xa31a70\nADD             X23, X29, #0x80+var_18                                 ; +0x150, 0xa31a74\nLDR             X2, [X21]                                              ; +0x154, 0xa31a78\nADD             X22, X29, #0x80+var_10                                 ; +0x158, 0xa31a7c\nMOV             X0, X1                                                 ; +0x15c, 0xa31a80\nLDR             X1, [X1]                                               ; +0x160, 0xa31a84\nLDR             X24, [X2,#0xB8]                                        ; +0x164, 0xa31a88\nLDR             X1, [X1,#0xC0]                                         ; +0x168, 0xa31a8c\nBLR             X1                                                     ; +0x16c, 0xa31a90\nMOV             X25, X0                                                ; +0x170, 0xa31a94\nLDR             X1, [X19,#0x168]                                       ; +0x174, 0xa31a98\nMOV             X0, X1                                                 ; +0x178, 0xa31a9c\nLDR             X1, [X1]                                               ; +0x17c, 0xa31aa0\nLDR             X1, [X1,#0x138]                                        ; +0x180, 0xa31aa4\nBLR             X1                                                     ; +0x184, 0xa31aa8\nLDR             X1, [X19,#0x168]                                       ; +0x188, 0xa31aac\nLDR             S8, [X0]                                               ; +0x18c, 0xa31ab0\nMOV             X0, X1                                                 ; +0x190, 0xa31ab4\nLDR             X1, [X1]                                               ; +0x194, 0xa31ab8\nLDR             X1, [X1,#0xA8]                                         ; +0x198, 0xa31abc\nBLR             X1                                                     ; +0x19c, 0xa31ac0\nSTR             X23, [X29,#0x80+var_28]                                ; +0x1a0, 0xa31ac4\nMOV             X0, X23                                                ; +0x1a4, 0xa31ac8\nFMOV            S1, WZR                                                ; +0x1a8, 0xa31acc\nFMOV            S2, #12.0                                              ; +0x1ac, 0xa31ad0\nB               loc_A319C8                                             ; +0x1b0, 0xa31ad4\nLDR             X2, [X19,#0x1A0]                                       ; +0x1b4, 0xa31ad8\nB               loc_A31A2C                                             ; +0x1b8, 0xa31adc\nBL              .__stack_chk_fail                                      ; +0x1bc, 0xa31ae0", "xrefs": ["CustomSFXWidget::startMonitorDownload @ 0xa31c5c", "CustomSFXWidget::onDownload @ 0xa31d10", "<???> @ 0x47df0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}