{"type": "func", "start": 6971696, "end": 6971974, "name": "CustomSFXWidget::showLoadingArt", "pseudocode": "// \n// CustomSFXWidget::showLoadingArt from 0x6a6130 to 0x6a6246 (278 bytes)\n// \n// 2 xrefs:\n// > CustomSFXWidget::startMonitorDownload @ 0x6a625e\n// > CustomSFXWidget::onDownload @ 0x6a62ec\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:56:30 +0000\n// \n\nint __fastcall CustomSFXWidget::showLoadingArt(CustomSFXWidget *this)\n{\n  int v2; // r6\n  void (__fastcall *v3)(int, _BYTE *); // r9\n  int v4; // r10\n  float v5; // s17\n  float v6; // s16\n  float v7; // s15\n  float v8; // s16\n  cocos2d::CCNode *v9; // r5\n  unsigned __int8 v10; // r2\n  cocos2d::CCAction *v11; // r0\n  int v12; // r0\n  _BYTE v14[8]; // [sp+4h] [bp-14h] BYREF\n  _BYTE v15[8]; // [sp+Ch] [bp-Ch] BYREF\n\n  v2 = *((_DWORD *)this + 85);\n  if ( v2 )\n  {\n    v3 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v2 + 92);\n    if ( *((_BYTE *)this + 352) )\n    {\n      v4 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 71) + 96))(*((_DWORD *)this + 71));\n      v5 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 71) + 164))(*((_DWORD *)this + 71));\n      v6 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 71) + 84))(*((_DWORD *)this + 71)));\n      v7 = (float)((float)(v5 * v6) + 12.0) + COERCE_FLOAT(CustomSFXWidget::infoBtnWidth(this));\n    }\n    else\n    {\n      v4 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 96))(*((_DWORD *)this + 70));\n      v8 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 164))(*((_DWORD *)this + 70));\n      v7 = (float)(v8 * (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 84))(*((_DWORD *)this + 70)))\n         + 14.0;\n    }\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, v7, 0.0);\n    cocos2d::CCPoint::operator+(v15, v4, v14);\n    v3(v2, v15);\n    cocos2d::CCNode::stopAllActions(*((cocos2d::CCNode **)this + 85));\n    (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 85) + 456))(*((_DWORD *)this + 85), 25);\n    v9 = *((cocos2d::CCNode **)this + 85);\n    v11 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3E4CCCCD, COERCE_FLOAT(175), v10);\n    cocos2d::CCNode::runAction(v9, v11);\n    v12 = *((_DWORD *)this + 85);\n  }\n  else\n  {\n    v12 = *((_DWORD *)this + 83);\n  }\n  return (*(int (__fastcall **)(int, int))(*(_DWORD *)v12 + 172))(v12, 1);\n}", "assembly": "; \n; CustomSFXWidget::showLoadingArt from 0x6a6130 to 0x6a6246 (278 bytes)\n; \n; 2 xrefs:\n; > CustomSFXWidget::startMonitorDownload @ 0x6a625e\n; > CustomSFXWidget::onDownload @ 0x6a62ec\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:56:30 +0000\n; \nPUSH.W          {R4-R10,LR}                                            ; +0x0, 0x6a6130\nMOV             R4, R0                                                 ; +0x4, 0x6a6134\nVPUSH           {D8}                                                   ; +0x6, 0x6a6136\nLDR             R3, =(__stack_chk_guard_ptr - 0x6A6140)                ; +0xa, 0x6a613a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xc, 0x6a613c\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xe, 0x6a613e\nLDR.W           R6, [R0,#0x154]                                        ; +0x10, 0x6a6140\nSUB             SP, SP, #0x18                                          ; +0x14, 0x6a6144\nLDR             R2, [R3]                                               ; +0x16, 0x6a6146\nMOV             R8, R3                                                 ; +0x18, 0x6a6148\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x1a, 0x6a614a\nCMP             R6, #0                                                 ; +0x1c, 0x6a614c\nBEQ             loc_6A6220                                             ; +0x1e, 0x6a614e\nLDR             R3, [R6]                                               ; +0x20, 0x6a6150\nADD             R7, SP, #0x18+var_14                                   ; +0x22, 0x6a6152\nLDRB.W          R2, [R0,#0x160]                                        ; +0x24, 0x6a6154\nADD             R5, SP, #0x18+var_C                                    ; +0x28, 0x6a6158\nLDR.W           R9, [R3,#0x5C]                                         ; +0x2a, 0x6a615a\nCBZ             R2, loc_6A61A2                                         ; +0x2e, 0x6a615e\nLDR.W           R0, [R0,#0x11C]                                        ; +0x30, 0x6a6160\nLDR             R3, [R0]                                               ; +0x34, 0x6a6164\nLDR             R3, [R3,#0x60]                                         ; +0x36, 0x6a6166\nBLX             R3                                                     ; +0x38, 0x6a6168\nMOV             R10, R0                                                ; +0x3a, 0x6a616a\nLDR.W           R0, [R4,#0x11C]                                        ; +0x3c, 0x6a616c\nLDR             R3, [R0]                                               ; +0x40, 0x6a6170\nLDR.W           R3, [R3,#0xA4]                                         ; +0x42, 0x6a6172\nBLX             R3                                                     ; +0x46, 0x6a6176\nVLDR            S17, [R0]                                              ; +0x48, 0x6a6178\nLDR.W           R0, [R4,#0x11C]                                        ; +0x4c, 0x6a617c\nLDR             R3, [R0]                                               ; +0x50, 0x6a6180\nLDR             R3, [R3,#0x54]                                         ; +0x52, 0x6a6182\nBLX             R3                                                     ; +0x54, 0x6a6184\nVMOV            S16, R0                                                ; +0x56, 0x6a6186\nMOV             R0, R4; this                                           ; +0x5a, 0x6a618a\nBL              _ZN15CustomSFXWidget12infoBtnWidthEv; CustomSFXWidget::infoBtnWidth(void) ; +0x5c, 0x6a618c\nVMOV.F32        S15, #12.0                                             ; +0x60, 0x6a6190\nVMLA.F32        S15, S17, S16                                          ; +0x64, 0x6a6194\nVMOV            S14, R0                                                ; +0x68, 0x6a6198\nVADD.F32        S15, S15, S14                                          ; +0x6c, 0x6a619c\nB               loc_6A61D4                                             ; +0x70, 0x6a61a0\nLDR.W           R0, [R0,#0x118]                                        ; +0x72, 0x6a61a2\nLDR             R3, [R0]                                               ; +0x76, 0x6a61a6\nLDR             R3, [R3,#0x60]                                         ; +0x78, 0x6a61a8\nBLX             R3                                                     ; +0x7a, 0x6a61aa\nMOV             R10, R0                                                ; +0x7c, 0x6a61ac\nLDR.W           R0, [R4,#0x118]                                        ; +0x7e, 0x6a61ae\nLDR             R3, [R0]                                               ; +0x82, 0x6a61b2\nLDR.W           R3, [R3,#0xA4]                                         ; +0x84, 0x6a61b4\nBLX             R3                                                     ; +0x88, 0x6a61b8\nVLDR            S16, [R0]                                              ; +0x8a, 0x6a61ba\nLDR.W           R0, [R4,#0x118]                                        ; +0x8e, 0x6a61be\nLDR             R3, [R0]                                               ; +0x92, 0x6a61c2\nLDR             R3, [R3,#0x54]                                         ; +0x94, 0x6a61c4\nBLX             R3                                                     ; +0x96, 0x6a61c6\nVMOV.F32        S15, #14.0                                             ; +0x98, 0x6a61c8\nVMOV            S14, R0                                                ; +0x9c, 0x6a61cc\nVMLA.F32        S15, S16, S14                                          ; +0xa0, 0x6a61d0\nVMOV            R1, S15; float                                         ; +0xa4, 0x6a61d4\nMOVS            R2, #0; float                                          ; +0xa8, 0x6a61d8\nMOV             R0, R7; this                                           ; +0xaa, 0x6a61da\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xac, 0x6a61dc\nMOV             R2, R7                                                 ; +0xb0, 0x6a61e0\nMOV             R0, R5                                                 ; +0xb2, 0x6a61e2\nMOV             R1, R10                                                ; +0xb4, 0x6a61e4\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0xb6, 0x6a61e6\nMOV             R1, R5                                                 ; +0xba, 0x6a61ea\nMOV             R0, R6                                                 ; +0xbc, 0x6a61ec\nBLX             R9                                                     ; +0xbe, 0x6a61ee\nLDR.W           R0, [R4,#0x154]; this                                  ; +0xc0, 0x6a61f0\nBL              _ZN7cocos2d6CCNode14stopAllActionsEv; cocos2d::CCNode::stopAllActions(void) ; +0xc4, 0x6a61f4\nLDR.W           R0, [R4,#0x154]                                        ; +0xc8, 0x6a61f8\nMOVS            R1, #0x19                                              ; +0xcc, 0x6a61fc\nLDR             R3, [R0]                                               ; +0xce, 0x6a61fe\nLDR.W           R3, [R3,#0x1C8]                                        ; +0xd0, 0x6a6200\nBLX             R3                                                     ; +0xd4, 0x6a6204\nMOVS            R1, #0xAF; float                                       ; +0xd6, 0x6a6206\nLDR             R0, =0x3E4CCCCD; this                                  ; +0xd8, 0x6a6208\nLDR.W           R5, [R4,#0x154]                                        ; +0xda, 0x6a620a\nBL              _ZN7cocos2d8CCFadeTo6createEfh; cocos2d::CCFadeTo::create(float,uchar) ; +0xde, 0x6a620e\nMOV             R1, R0; cocos2d::CCAction *                            ; +0xe2, 0x6a6212\nMOV             R0, R5; this                                           ; +0xe4, 0x6a6214\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xe6, 0x6a6216\nLDR.W           R0, [R4,#0x154]                                        ; +0xea, 0x6a621a\nB               loc_6A6224                                             ; +0xee, 0x6a621e\nLDR.W           R0, [R0,#0x14C]                                        ; +0xf0, 0x6a6220\nLDR             R3, [R0]                                               ; +0xf4, 0x6a6224\nMOVS            R1, #1                                                 ; +0xf6, 0x6a6226\nLDR.W           R3, [R3,#0xAC]                                         ; +0xf8, 0x6a6228\nBLX             R3                                                     ; +0xfc, 0x6a622c\nLDR             R2, [SP,#0x18+var_4]                                   ; +0xfe, 0x6a622e\nLDR.W           R3, [R8]                                               ; +0x100, 0x6a6230\nCMP             R2, R3                                                 ; +0x104, 0x6a6234\nBEQ             loc_6A623C                                             ; +0x106, 0x6a6236\nBLX             __stack_chk_fail                                       ; +0x108, 0x6a6238\nADD             SP, SP, #0x18                                          ; +0x10c, 0x6a623c\nVPOP            {D8}                                                   ; +0x10e, 0x6a623e\nPOP.W           {R4-R10,PC}                                            ; +0x112, 0x6a6242", "xrefs": ["CustomSFXWidget::startMonitorDownload @ 0x6a625e", "CustomSFXWidget::onDownload @ 0x6a62ec"], "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"}