{"type": "func", "start": 4301143872, "end": 4301145436, "name": "CustomSFXWidget::updateSFXInfo", "pseudocode": "// \n// CustomSFXWidget::updateSFXInfo from 0x1005e3f40 to 0x1005e455c (1564 bytes)\n// \n// 8 xrefs:\n// > CustomSFXWidget::init @ 0x1005e386b\n// > CustomSFXWidget::updateSFXObject @ 0x1005e3f23\n// > CustomSFXWidget::deleteSFX @ 0x1005e46bc\n// > CustomSFXWidget::updateDownloadProgress @ 0x1005e49f9\n// > CustomSFXWidget::downloadFailed @ 0x1005e4b11\n// > CustomSFXWidget::songStateChanged @ 0x1005e4b25\n// > sub_1005E4B30 @ 0x1005e4b3c\n// > CustomSFXWidget::updateLengthMod @ 0x1005e4b5d\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 __fastcall CustomSFXWidget::updateSFXInfo(CustomSFXWidget *a1)\n{\n  SFXInfoObject *m_sfxObject; // rsi\n  cocos2d::CCLabelBMFont *m_titleLabel; // rdi\n  std::array<char, 23> *longStorage; // rsi\n  SFXInfoObject *v5; // rax\n  char *v6; // rdi\n  cocos2d::CCString *v7; // rax\n  const char *CString; // rax\n  float m_lengthMod; // xmm2_4\n  cocos2d::CCString *v10; // rax\n  const char *v11; // rax\n  std::string::pointer data; // rsi\n  SFXInfoObject *v13; // rax\n  cocos2d::CCSprite *m_clockSprite; // rdi\n  cocos2d::CCSprite *v15; // r14\n  cocos2d::CCFadeTo *v16; // r15\n  cocos2d::CCHide *v17; // rax\n  cocos2d::CCSequence *v18; // rax\n  cocos2d::CCLabelBMFont *v19; // rdi\n  cocos2d::CCLabelBMFont *m_idLabel; // r14\n  unsigned __int64 *v21; // r15\n  float v22; // xmm0_4\n  cocos2d::CCLabelBMFont *m_errorLabel; // r14\n  __int64 v24; // rax\n  int m_sfxID; // r14d\n  MusicDownloadManager *v26; // rax\n  __int64 v27; // r15\n  int v28; // eax\n  CCMenuItemSpriteExtra *m_selectButton; // rdi\n  void (__cdecl *setEnabled)(cocos2d::CCMenuItemSprite *__hidden, bool); // rcx\n  cocos2d::CCSpriteFrameCache *v31; // rax\n  const char *v32; // rsi\n  MusicDownloadManager *v33; // rax\n  CCMenuItemSpriteExtra *m_downloadButton; // rdi\n  cocos2d::CCString *v35; // rax\n  const char *v36; // rax\n  char v37; // r14\n  bool m_showDownload; // al\n  bool v39; // al\n  cocos2d::CCSpriteFrame *v40; // rax\n  unsigned __int64 v41[3]; // [rsp+0h] [rbp-60h] BYREF\n  float v42; // [rsp+1Ch] [rbp-44h]\n  std::string v43; // [rsp+20h] [rbp-40h] BYREF\n\n  m_sfxObject = a1->m_sfxObject;\n  m_titleLabel = a1->m_titleLabel;\n  if ( !m_sfxObject )\n  {\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))m_titleLabel->setString)(\n      m_titleLabel,\n      \"No SFX loaded\");\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_idLabel->setString)(a1->m_idLabel, \"\");\n    goto LABEL_25;\n  }\n  if ( (m_sfxObject->m_name.m_data.m_short.sizex2 & 1) != 0 )\n    longStorage = (std::array<char, 23> *)m_sfxObject->m_name.m_data.m_long.longStorage;\n  else\n    longStorage = &m_sfxObject->m_name.m_data.m_short.shortStorage;\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, std::array<char, 23> *))m_titleLabel->setString)(\n    m_titleLabel,\n    longStorage);\n  memset(&v43, 0, sizeof(v43));\n  v5 = a1->m_sfxObject;\n  if ( v5->m_folder )\n  {\n    sub_100720070(v5[1].__vftable);\n    v6 = \"Files: %i\";\nLABEL_10:\n    v7 = (cocos2d::CCString *)sub_1007AB580(v6, v41[0]);\n    CString = cocos2d::CCString::getCString(v7);\n    std::string::assign(&v43, CString);\n    goto LABEL_11;\n  }\n  if ( a1->m_compactMode )\n  {\n    v6 = \"%i\";\n    goto LABEL_10;\n  }\n  sub_100589460(v41, v5->m_size);\n  v35 = (cocos2d::CCString *)sub_1007AB580(\"ID: %i  Size: %s\", v41[0]);\n  v36 = cocos2d::CCString::getCString(v35);\n  std::string::assign(&v43, v36);\n  if ( (v41[0] & 1) != 0 )\n    operator delete((void *)v41[2]);\nLABEL_11:\n  if ( a1->m_sfxObject->m_duration <= 0 )\n    goto LABEL_20;\n  m_lengthMod = a1->m_lengthMod;\n  if ( (*(_BYTE *)&v43.__r_.__value_.__s.0 & 1) != 0 )\n  {\n    if ( m_lengthMod <= 0.0 )\n      goto LABEL_18;\n  }\n  else if ( m_lengthMod <= 0.0 )\n  {\nLABEL_18:\n    v10 = (cocos2d::CCString *)sub_1007AB580(\"%s  (%.2f s)\", v41[0]);\n    goto LABEL_19;\n  }\n  if ( m_lengthMod == 1.0 )\n    goto LABEL_18;\n  v10 = (cocos2d::CCString *)sub_1007AB580(\"%s  (%.2f s) (%.2f s)\", v41[0]);\nLABEL_19:\n  v11 = cocos2d::CCString::getCString(v10);\n  std::string::assign(&v43, v11);\nLABEL_20:\n  if ( (*(_BYTE *)&v43.__r_.__value_.__s.0 & 1) != 0 )\n    data = v43.__r_.__value_.__l.__data_;\n  else\n    data = v43.__r_.__value_.__s.__data_;\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, std::string::pointer))a1->m_idLabel->setString)(a1->m_idLabel, data);\n  if ( (*(_BYTE *)&v43.__r_.__value_.__s.0 & 1) != 0 )\n    operator delete(v43.__r_.__value_.__l.__data_);\nLABEL_25:\n  v13 = a1->m_sfxObject;\n  if ( !v13 || v13->m_folder )\n  {\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_downloadButton->setVisible)(a1->m_downloadButton, 0);\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_cancelButton->setVisible)(a1->m_cancelButton, 0);\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_selectButton->setVisible)(a1->m_selectButton, 0);\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_playButton->setVisible)(a1->m_playButton, 0);\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_deleteButton->setVisible)(a1->m_deleteButton, 0);\n    m_clockSprite = a1->m_clockSprite;\n    if ( !m_clockSprite )\n      goto LABEL_30;\n    goto LABEL_28;\n  }\n  m_sfxID = v13->m_sfxID;\n  v26 = MusicDownloadManager::sharedState();\n  if ( !MusicDownloadManager::isSFXDownloaded(v26, m_sfxID) )\n  {\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_selectButton->setVisible)(a1->m_selectButton, 0);\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_playButton->setVisible)(a1->m_playButton, 0);\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_deleteButton->setVisible)(a1->m_deleteButton, 0);\n    v33 = MusicDownloadManager::sharedState();\n    if ( MusicDownloadManager::isRunningActionForSongID(v33, a1->m_sfxID) )\n    {\n      m_downloadButton = a1->m_downloadButton;\n    }\n    else\n    {\n      m_downloadButton = a1->m_downloadButton;\n      if ( !a1->m_showCancel )\n      {\n        m_showDownload = a1->m_showDownload;\n        v37 = 0;\nLABEL_46:\n        ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))m_downloadButton->setVisible)(\n          m_downloadButton,\n          m_showDownload);\n        if ( v37 )\n          v39 = a1->m_showDownload;\n        else\n          v39 = 0;\n        ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_cancelButton->setVisible)(a1->m_cancelButton, v39);\n        v19 = a1->m_titleLabel;\n        if ( a1->m_compactMode )\n          goto LABEL_31;\nLABEL_50:\n        cocos2d::CCLabelBMFont::limitLabelWidth(v19, 210.0, 0.5, 0.0);\n        cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_idLabel, 300.0, 0.60000002, 0.0);\n        goto LABEL_51;\n      }\n    }\n    v37 = 1;\n    m_showDownload = 0;\n    goto LABEL_46;\n  }\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_downloadButton->setVisible)(a1->m_downloadButton, 0);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_cancelButton->setVisible)(a1->m_cancelButton, 0);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_deleteButton->setVisible)(\n    a1->m_deleteButton,\n    a1->m_showDelete);\n  if ( a1->m_showDelete && a1->m_delegate )\n  {\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_selectButton->setVisible)(a1->m_selectButton, 1);\n    v27 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_selectButton->getNormalImage)(a1->m_selectButton);\n    v28 = ((__int64 (__fastcall *)(CustomSFXDelegate *))a1->m_delegate->getActiveSFXID)(a1->m_delegate);\n    m_selectButton = a1->m_selectButton;\n    setEnabled = m_selectButton->setEnabled;\n    if ( v28 == m_sfxID )\n    {\n      ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))setEnabled)(m_selectButton, 0);\n      v31 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n      v32 = \"GJ_selectSongOnBtn_001.png\";\n    }\n    else\n    {\n      ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))setEnabled)(m_selectButton, 1);\n      v31 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();\n      v32 = \"GJ_selectSongBtn_001.png\";\n    }\n    v40 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v31, v32);\n    (*(void (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v27 + 1144LL))(v27, v40);\n  }\n  else\n  {\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_selectButton->setVisible)(a1->m_selectButton, 0);\n  }\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_playButton->setVisible)(a1->m_playButton, a1->m_showPlay);\n  m_clockSprite = a1->m_clockSprite;\n  if ( m_clockSprite )\n  {\nLABEL_28:\n    if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCSprite *))m_clockSprite->isVisible)(m_clockSprite) )\n    {\n      cocos2d::CCNode::stopAllActions(a1->m_clockSprite);\n      v15 = a1->m_clockSprite;\n      v16 = cocos2d::CCFadeTo::create(0.2, 0);\n      v17 = cocos2d::CCHide::create();\n      v18 = sub_1003B5760(v16, v17, 0);\n      cocos2d::CCNode::runAction(v15, v18);\n    }\n  }\nLABEL_30:\n  ((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_progressOutlineSprite->setVisible)(\n    a1->m_progressOutlineSprite,\n    0);\n  v19 = a1->m_titleLabel;\n  if ( !a1->m_compactMode )\n    goto LABEL_50;\nLABEL_31:\n  cocos2d::CCLabelBMFont::limitLabelWidth(v19, 200.0, 0.40000001, 0.0);\n  cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_idLabel, 200.0, 0.60000002, 0.0);\n  m_idLabel = a1->m_idLabel;\n  v21 = (unsigned __int64 *)((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_titleLabel->getPosition)(a1->m_titleLabel);\n  v42 = *(float *)((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_titleLabel->getContentSize)(a1->m_titleLabel);\n  v22 = ((float (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_titleLabel->getScale)(a1->m_titleLabel);\n  sub_10028CBE0((float *)v41, (float)(v22 * v42) + 5.0, 0.0);\n  sub_10028CCE0((double *)&v43, v21, v41);\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, std::string *))m_idLabel->setPosition)(m_idLabel, &v43);\n  m_errorLabel = a1->m_errorLabel;\n  v24 = ((__int64 (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_idLabel->getPosition)(a1->m_idLabel);\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))m_errorLabel->setPosition)(m_errorLabel, v24);\nLABEL_51:\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_deleteButton->setVisible)(a1->m_deleteButton, 0);\n}", "assembly": "; \n; CustomSFXWidget::updateSFXInfo from 0x1005e3f40 to 0x1005e455c (1564 bytes)\n; \n; 8 xrefs:\n; > CustomSFXWidget::init @ 0x1005e386b\n; > CustomSFXWidget::updateSFXObject @ 0x1005e3f23\n; > CustomSFXWidget::deleteSFX @ 0x1005e46bc\n; > CustomSFXWidget::updateDownloadProgress @ 0x1005e49f9\n; > CustomSFXWidget::downloadFailed @ 0x1005e4b11\n; > CustomSFXWidget::songStateChanged @ 0x1005e4b25\n; > sub_1005E4B30 @ 0x1005e4b3c\n; > CustomSFXWidget::updateLengthMod @ 0x1005e4b5d\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\npush    rbp                                                            ; +0x0, 0x1005e3f40\nmov     rbp, rsp                                                       ; +0x1, 0x1005e3f41\npush    r15                                                            ; +0x4, 0x1005e3f44\npush    r14                                                            ; +0x6, 0x1005e3f46\npush    r13                                                            ; +0x8, 0x1005e3f48\npush    r12                                                            ; +0xa, 0x1005e3f4a\npush    rbx                                                            ; +0xc, 0x1005e3f4c\nsub     rsp, 38h                                                       ; +0xd, 0x1005e3f4d\nmov     rbx, rdi                                                       ; +0x11, 0x1005e3f51\nmov     rsi, [rdi+150h]                                                ; +0x14, 0x1005e3f54\nmov     rdi, [rdi+160h]                                                ; +0x1b, 0x1005e3f5b\ntest    rsi, rsi                                                       ; +0x22, 0x1005e3f62\njz      short loc_1005E3F73                                            ; +0x25, 0x1005e3f65\ntest    byte ptr [rsi+50h], 1                                          ; +0x27, 0x1005e3f67\njnz     short loc_1005E3F9F                                            ; +0x2b, 0x1005e3f6b\nadd     rsi, 51h ; 'Q'                                                 ; +0x2d, 0x1005e3f6d\njmp     short loc_1005E3FA3                                            ; +0x31, 0x1005e3f71\nmov     rax, [rdi]                                                     ; +0x33, 0x1005e3f73\nlea     rsi, aNoSfxLoaded; \"No SFX loaded\"                             ; +0x36, 0x1005e3f76\ncall    qword ptr [rax+390h]                                           ; +0x3d, 0x1005e3f7d\nmov     rdi, [rbx+168h]                                                ; +0x43, 0x1005e3f83\nmov     rax, [rdi]                                                     ; +0x4a, 0x1005e3f8a\nlea     rsi, __src; \"\"                                                 ; +0x4d, 0x1005e3f8d\ncall    qword ptr [rax+390h]                                           ; +0x54, 0x1005e3f94\njmp     loc_1005E40D6                                                  ; +0x5a, 0x1005e3f9a\nmov     rsi, [rsi+60h]                                                 ; +0x5f, 0x1005e3f9f\nmov     rax, [rdi]                                                     ; +0x63, 0x1005e3fa3\ncall    qword ptr [rax+390h]                                           ; +0x66, 0x1005e3fa6\nxorps   xmm0, xmm0                                                     ; +0x6c, 0x1005e3fac\nmovaps  xmmword ptr [rbp+var_40.__r_.__value_], xmm0                   ; +0x6f, 0x1005e3faf\nmov     qword ptr [rbp+var_40.__r_.__value_+10h], 0                    ; +0x73, 0x1005e3fb3\nmov     rax, [rbx+150h]                                                ; +0x7b, 0x1005e3fbb\ncmp     byte ptr [rax+48h], 1                                          ; +0x82, 0x1005e3fc2\njnz     short loc_1005E3FDC                                            ; +0x86, 0x1005e3fc6\nmov     rdi, [rax+68h]                                                 ; +0x88, 0x1005e3fc8\ncall    sub_100720070                                                  ; +0x8c, 0x1005e3fcc\nmov     esi, eax                                                       ; +0x91, 0x1005e3fd1\nlea     rdi, aFilesI; \"Files: %i\"                                      ; +0x93, 0x1005e3fd3\njmp     short loc_1005E3FF3                                            ; +0x9a, 0x1005e3fda\nmov     esi, [rax+38h]                                                 ; +0x9c, 0x1005e3fdc\ncmp     byte ptr [rbx+1C4h], 1                                         ; +0x9f, 0x1005e3fdf\njnz     loc_1005E4381                                                  ; +0xa6, 0x1005e3fe6\nlea     rdi, aI; \"%i\"                                                  ; +0xac, 0x1005e3fec\nxor     eax, eax                                                       ; +0xb3, 0x1005e3ff3\ncall    sub_1007AB580                                                  ; +0xb5, 0x1005e3ff5\nmov     rdi, rax                                                       ; +0xba, 0x1005e3ffa\ncall    cocos2d__CCString__getCString                                  ; +0xbd, 0x1005e3ffd\nlea     rdi, [rbp+var_40]; this                                        ; +0xc2, 0x1005e4002\nmov     rsi, rax; __s                                                  ; +0xc6, 0x1005e4006\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0xc9, 0x1005e4009\nmov     rax, [rbx+150h]                                                ; +0xce, 0x1005e400e\nmov     eax, [rax+44h]                                                 ; +0xd5, 0x1005e4015\ntest    eax, eax                                                       ; +0xd8, 0x1005e4018\njle     loc_1005E40A7                                                  ; +0xda, 0x1005e401a\ncvtsi2ss xmm1, eax                                                     ; +0xe0, 0x1005e4020\ndivss   xmm1, cs:dword_100815014                                       ; +0xe4, 0x1005e4024\nmovss   xmm2, dword ptr [rbx+1CCh]                                     ; +0xec, 0x1005e402c\ntest    byte ptr [rbp+var_40.__r_.__value_], 1                         ; +0xf4, 0x1005e4034\njz      short loc_1005E404F                                            ; +0xf8, 0x1005e4038\nmov     rsi, qword ptr [rbp+var_40.__r_.__value_+10h]                  ; +0xfa, 0x1005e403a\nxorps   xmm0, xmm0                                                     ; +0xfe, 0x1005e403e\nucomiss xmm2, xmm0                                                     ; +0x101, 0x1005e4041\nxorps   xmm0, xmm0                                                     ; +0x104, 0x1005e4044\ncvtss2sd xmm0, xmm1                                                    ; +0x107, 0x1005e4047\nja      short loc_1005E4062                                            ; +0x10b, 0x1005e404b\njmp     short loc_1005E4085                                            ; +0x10d, 0x1005e404d\nlea     rsi, [rbp+var_40.__r_.__value_+1]                              ; +0x10f, 0x1005e404f\nxorps   xmm0, xmm0                                                     ; +0x113, 0x1005e4053\nucomiss xmm2, xmm0                                                     ; +0x116, 0x1005e4056\nxorps   xmm0, xmm0                                                     ; +0x119, 0x1005e4059\ncvtss2sd xmm0, xmm1                                                    ; +0x11c, 0x1005e405c\njbe     short loc_1005E4085                                            ; +0x120, 0x1005e4060\nucomiss xmm2, cs:alpha                                                 ; +0x122, 0x1005e4062\njnz     short loc_1005E406D                                            ; +0x129, 0x1005e4069\njnp     short loc_1005E4085                                            ; +0x12b, 0x1005e406b\ndivss   xmm1, xmm2                                                     ; +0x12d, 0x1005e406d\ncvtss2sd xmm1, xmm1                                                    ; +0x131, 0x1005e4071\nlea     rdi, aS2fS2fS; \"%s  (%.2f s) (%.2f s)\"                         ; +0x135, 0x1005e4075\nmov     al, 2                                                          ; +0x13c, 0x1005e407c\ncall    sub_1007AB580                                                  ; +0x13e, 0x1005e407e\njmp     short loc_1005E4093                                            ; +0x143, 0x1005e4083\nlea     rdi, aS2fS; \"%s  (%.2f s)\"                                     ; +0x145, 0x1005e4085\nmov     al, 1                                                          ; +0x14c, 0x1005e408c\ncall    sub_1007AB580                                                  ; +0x14e, 0x1005e408e\nmov     rdi, rax                                                       ; +0x153, 0x1005e4093\ncall    cocos2d__CCString__getCString                                  ; +0x156, 0x1005e4096\nlea     rdi, [rbp+var_40]; this                                        ; +0x15b, 0x1005e409b\nmov     rsi, rax; __s                                                  ; +0x15f, 0x1005e409f\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x162, 0x1005e40a2\nmov     rdi, [rbx+168h]                                                ; +0x167, 0x1005e40a7\ntest    byte ptr [rbp+var_40.__r_.__value_], 1                         ; +0x16e, 0x1005e40ae\njz      short loc_1005E40BA                                            ; +0x172, 0x1005e40b2\nmov     rsi, qword ptr [rbp+var_40.__r_.__value_+10h]                  ; +0x174, 0x1005e40b4\njmp     short loc_1005E40BE                                            ; +0x178, 0x1005e40b8\nlea     rsi, [rbp+var_40.__r_.__value_+1]                              ; +0x17a, 0x1005e40ba\nmov     rax, [rdi]                                                     ; +0x17e, 0x1005e40be\ncall    qword ptr [rax+390h]                                           ; +0x181, 0x1005e40c1\ntest    byte ptr [rbp+var_40.__r_.__value_], 1                         ; +0x187, 0x1005e40c7\njz      short loc_1005E40D6                                            ; +0x18b, 0x1005e40cb\nmov     rdi, qword ptr [rbp+var_40.__r_.__value_+10h]; __p             ; +0x18d, 0x1005e40cd\ncall    __ZdlPv; operator delete(void *)                               ; +0x191, 0x1005e40d1\nmov     rax, [rbx+150h]                                                ; +0x196, 0x1005e40d6\ntest    rax, rax                                                       ; +0x19d, 0x1005e40dd\njz      short loc_1005E40EC                                            ; +0x1a0, 0x1005e40e0\ncmp     byte ptr [rax+48h], 0                                          ; +0x1a2, 0x1005e40e2\njz      loc_1005E42AB                                                  ; +0x1a6, 0x1005e40e6\nmov     rdi, [rbx+178h]                                                ; +0x1ac, 0x1005e40ec\nmov     rax, [rdi]                                                     ; +0x1b3, 0x1005e40f3\nxor     esi, esi                                                       ; +0x1b6, 0x1005e40f6\ncall    qword ptr [rax+148h]                                           ; +0x1b8, 0x1005e40f8\nmov     rdi, [rbx+180h]                                                ; +0x1be, 0x1005e40fe\nmov     rax, [rdi]                                                     ; +0x1c5, 0x1005e4105\nxor     esi, esi                                                       ; +0x1c8, 0x1005e4108\ncall    qword ptr [rax+148h]                                           ; +0x1ca, 0x1005e410a\nmov     rdi, [rbx+188h]                                                ; +0x1d0, 0x1005e4110\nmov     rax, [rdi]                                                     ; +0x1d7, 0x1005e4117\nxor     esi, esi                                                       ; +0x1da, 0x1005e411a\ncall    qword ptr [rax+148h]                                           ; +0x1dc, 0x1005e411c\nmov     rdi, [rbx+190h]                                                ; +0x1e2, 0x1005e4122\nmov     rax, [rdi]                                                     ; +0x1e9, 0x1005e4129\nxor     esi, esi                                                       ; +0x1ec, 0x1005e412c\ncall    qword ptr [rax+148h]                                           ; +0x1ee, 0x1005e412e\nmov     rdi, [rbx+198h]                                                ; +0x1f4, 0x1005e4134\nmov     rax, [rdi]                                                     ; +0x1fb, 0x1005e413b\nxor     esi, esi                                                       ; +0x1fe, 0x1005e413e\ncall    qword ptr [rax+148h]                                           ; +0x200, 0x1005e4140\nmov     rdi, [rbx+1B0h]                                                ; +0x206, 0x1005e4146\ntest    rdi, rdi                                                       ; +0x20d, 0x1005e414d\njz      short loc_1005E41A3                                            ; +0x210, 0x1005e4150\nmov     rax, [rdi]                                                     ; +0x212, 0x1005e4152\ncall    qword ptr [rax+150h]                                           ; +0x215, 0x1005e4155\ntest    al, al                                                         ; +0x21b, 0x1005e415b\njz      short loc_1005E41A3                                            ; +0x21d, 0x1005e415d\nmov     rdi, [rbx+1B0h]                                                ; +0x21f, 0x1005e415f\ncall    cocos2d__CCNode__stopAllActions                                ; +0x226, 0x1005e4166\nmov     r14, [rbx+1B0h]                                                ; +0x22b, 0x1005e416b\nmovss   xmm0, cs:dword_10081541C                                       ; +0x232, 0x1005e4172\nxor     edi, edi                                                       ; +0x23a, 0x1005e417a\ncall    cocos2d__CCFadeTo__create                                      ; +0x23c, 0x1005e417c\nmov     r15, rax                                                       ; +0x241, 0x1005e4181\ncall    cocos2d__CCHide__create                                        ; +0x244, 0x1005e4184\nmov     rdi, r15                                                       ; +0x249, 0x1005e4189\nmov     rsi, rax                                                       ; +0x24c, 0x1005e418c\nxor     edx, edx                                                       ; +0x24f, 0x1005e418f\nxor     eax, eax                                                       ; +0x251, 0x1005e4191\ncall    sub_1003B5760                                                  ; +0x253, 0x1005e4193\nmov     rdi, r14                                                       ; +0x258, 0x1005e4198\nmov     rsi, rax                                                       ; +0x25b, 0x1005e419b\ncall    cocos2d__CCNode__runAction                                     ; +0x25e, 0x1005e419e\nmov     rdi, [rbx+1A0h]                                                ; +0x263, 0x1005e41a3\nmov     rax, [rdi]                                                     ; +0x26a, 0x1005e41aa\nxor     esi, esi                                                       ; +0x26d, 0x1005e41ad\ncall    qword ptr [rax+148h]                                           ; +0x26f, 0x1005e41af\nmov     rdi, [rbx+160h]                                                ; +0x275, 0x1005e41b5\ncmp     byte ptr [rbx+1C4h], 0                                         ; +0x27c, 0x1005e41bc\njz      loc_1005E44AE                                                  ; +0x283, 0x1005e41c3\nmovss   xmm0, cs:dword_100814FE0                                       ; +0x289, 0x1005e41c9\nmovss   xmm1, cs:dword_100815004                                       ; +0x291, 0x1005e41d1\nxorps   xmm2, xmm2                                                     ; +0x299, 0x1005e41d9\ncall    cocos2d__CCLabelBMFont__limitLabelWidth                        ; +0x29c, 0x1005e41dc\nmov     rdi, [rbx+168h]                                                ; +0x2a1, 0x1005e41e1\nmovss   xmm1, cs:dword_100814FB0                                       ; +0x2a8, 0x1005e41e8\nxorps   xmm2, xmm2                                                     ; +0x2b0, 0x1005e41f0\nmovss   xmm0, cs:dword_100814FE0                                       ; +0x2b3, 0x1005e41f3\ncall    cocos2d__CCLabelBMFont__limitLabelWidth                        ; +0x2bb, 0x1005e41fb\nmov     r14, [rbx+168h]                                                ; +0x2c0, 0x1005e4200\nmov     rdi, [rbx+160h]                                                ; +0x2c7, 0x1005e4207\nmov     rax, [rdi]                                                     ; +0x2ce, 0x1005e420e\ncall    qword ptr [rax+0C0h]                                           ; +0x2d1, 0x1005e4211\nmov     r15, rax                                                       ; +0x2d7, 0x1005e4217\nmov     rdi, [rbx+160h]                                                ; +0x2da, 0x1005e421a\nmov     rax, [rdi]                                                     ; +0x2e1, 0x1005e4221\ncall    qword ptr [rax+138h]                                           ; +0x2e4, 0x1005e4224\nmovss   xmm0, dword ptr [rax]                                          ; +0x2ea, 0x1005e422a\nmovss   [rbp+var_44], xmm0                                             ; +0x2ee, 0x1005e422e\nmov     rdi, [rbx+160h]                                                ; +0x2f3, 0x1005e4233\nmov     rax, [rdi]                                                     ; +0x2fa, 0x1005e423a\ncall    qword ptr [rax+0A8h]                                           ; +0x2fd, 0x1005e423d\nmulss   xmm0, [rbp+var_44]                                             ; +0x303, 0x1005e4243\naddss   xmm0, cs:flt_100815088                                         ; +0x308, 0x1005e4248\nlea     r12, [rbp+var_60]                                              ; +0x310, 0x1005e4250\nxorps   xmm1, xmm1                                                     ; +0x314, 0x1005e4254\nmov     rdi, r12                                                       ; +0x317, 0x1005e4257\ncall    sub_10028CBE0                                                  ; +0x31a, 0x1005e425a\nlea     r13, [rbp+var_40]                                              ; +0x31f, 0x1005e425f\nmov     rdi, r13                                                       ; +0x323, 0x1005e4263\nmov     rsi, r15                                                       ; +0x326, 0x1005e4266\nmov     rdx, r12                                                       ; +0x329, 0x1005e4269\ncall    sub_10028CCE0                                                  ; +0x32c, 0x1005e426c\nmov     rax, [r14]                                                     ; +0x331, 0x1005e4271\nmov     rdi, r14                                                       ; +0x334, 0x1005e4274\nmov     rsi, r13                                                       ; +0x337, 0x1005e4277\ncall    qword ptr [rax+0B8h]                                           ; +0x33a, 0x1005e427a\nmov     rdi, [rbx+168h]                                                ; +0x340, 0x1005e4280\nmov     r14, [rbx+170h]                                                ; +0x347, 0x1005e4287\nmov     rax, [rdi]                                                     ; +0x34e, 0x1005e428e\ncall    qword ptr [rax+0C0h]                                           ; +0x351, 0x1005e4291\nmov     rcx, [r14]                                                     ; +0x357, 0x1005e4297\nmov     rdi, r14                                                       ; +0x35a, 0x1005e429a\nmov     rsi, rax                                                       ; +0x35d, 0x1005e429d\ncall    qword ptr [rcx+0B8h]                                           ; +0x360, 0x1005e42a0\njmp     loc_1005E44E5                                                  ; +0x366, 0x1005e42a6\nmov     r14d, [rax+38h]                                                ; +0x36b, 0x1005e42ab\ncall    MusicDownloadManager__sharedState                              ; +0x36f, 0x1005e42af\nmov     rdi, rax                                                       ; +0x374, 0x1005e42b4\nmov     esi, r14d                                                      ; +0x377, 0x1005e42b7\ncall    MusicDownloadManager__isSFXDownloaded                          ; +0x37a, 0x1005e42ba\ntest    al, al                                                         ; +0x37f, 0x1005e42bf\njz      loc_1005E439C                                                  ; +0x381, 0x1005e42c1\nmov     rdi, [rbx+178h]                                                ; +0x387, 0x1005e42c7\nmov     rax, [rdi]                                                     ; +0x38e, 0x1005e42ce\nxor     esi, esi                                                       ; +0x391, 0x1005e42d1\ncall    qword ptr [rax+148h]                                           ; +0x393, 0x1005e42d3\nmov     rdi, [rbx+180h]                                                ; +0x399, 0x1005e42d9\nmov     rax, [rdi]                                                     ; +0x3a0, 0x1005e42e0\nxor     esi, esi                                                       ; +0x3a3, 0x1005e42e3\ncall    qword ptr [rax+148h]                                           ; +0x3a5, 0x1005e42e5\nmov     rdi, [rbx+198h]                                                ; +0x3ab, 0x1005e42eb\nmovzx   esi, byte ptr [rbx+1C0h]                                       ; +0x3b2, 0x1005e42f2\nmov     rax, [rdi]                                                     ; +0x3b9, 0x1005e42f9\ncall    qword ptr [rax+148h]                                           ; +0x3bc, 0x1005e42fc\ncmp     byte ptr [rbx+1C0h], 1                                         ; +0x3c2, 0x1005e4302\njnz     loc_1005E43F2                                                  ; +0x3c9, 0x1005e4309\ncmp     qword ptr [rbx+1B8h], 0                                        ; +0x3cf, 0x1005e430f\njz      loc_1005E43F2                                                  ; +0x3d7, 0x1005e4317\nmov     rdi, [rbx+188h]                                                ; +0x3dd, 0x1005e431d\nmov     rax, [rdi]                                                     ; +0x3e4, 0x1005e4324\nmov     esi, 1                                                         ; +0x3e7, 0x1005e4327\ncall    qword ptr [rax+148h]                                           ; +0x3ec, 0x1005e432c\nmov     rdi, [rbx+188h]                                                ; +0x3f2, 0x1005e4332\nmov     rax, [rdi]                                                     ; +0x3f9, 0x1005e4339\ncall    qword ptr [rax+420h]                                           ; +0x3fc, 0x1005e433c\nmov     r15, rax                                                       ; +0x402, 0x1005e4342\nmov     rdi, [rbx+1B8h]                                                ; +0x405, 0x1005e4345\nmov     rax, [rdi]                                                     ; +0x40c, 0x1005e434c\ncall    qword ptr [rax+8]                                              ; +0x40f, 0x1005e434f\nmov     rdi, [rbx+188h]                                                ; +0x412, 0x1005e4352\nmov     rcx, [rdi]                                                     ; +0x419, 0x1005e4359\nmov     rcx, [rcx+410h]                                                ; +0x41c, 0x1005e435c\ncmp     eax, r14d                                                      ; +0x423, 0x1005e4363\njnz     loc_1005E4506                                                  ; +0x426, 0x1005e4366\nxor     esi, esi                                                       ; +0x42c, 0x1005e436c\ncall    rcx                                                            ; +0x42e, 0x1005e436e\ncall    cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache            ; +0x430, 0x1005e4370\nlea     rsi, aGjSelectsongon; \"GJ_selectSongOnBtn_001.png\"             ; +0x435, 0x1005e4375\njmp     loc_1005E4519                                                  ; +0x43c, 0x1005e437c\nmov     r14d, esi                                                      ; +0x441, 0x1005e4381\nmov     esi, [rax+40h]                                                 ; +0x444, 0x1005e4384\nlea     rdi, [rbp+var_60]                                              ; +0x447, 0x1005e4387\ncall    sub_100589460                                                  ; +0x44b, 0x1005e438b\ntest    [rbp+var_60], 1                                                ; +0x450, 0x1005e4390\njz      short loc_1005E4409                                            ; +0x454, 0x1005e4394\nmov     rdx, [rbp+__p]                                                 ; +0x456, 0x1005e4396\njmp     short loc_1005E440D                                            ; +0x45a, 0x1005e439a\nmov     rdi, [rbx+188h]                                                ; +0x45c, 0x1005e439c\nmov     rax, [rdi]                                                     ; +0x463, 0x1005e43a3\nxor     esi, esi                                                       ; +0x466, 0x1005e43a6\ncall    qword ptr [rax+148h]                                           ; +0x468, 0x1005e43a8\nmov     rdi, [rbx+190h]                                                ; +0x46e, 0x1005e43ae\nmov     rax, [rdi]                                                     ; +0x475, 0x1005e43b5\nxor     esi, esi                                                       ; +0x478, 0x1005e43b8\ncall    qword ptr [rax+148h]                                           ; +0x47a, 0x1005e43ba\nmov     rdi, [rbx+198h]                                                ; +0x480, 0x1005e43c0\nmov     rax, [rdi]                                                     ; +0x487, 0x1005e43c7\nxor     esi, esi                                                       ; +0x48a, 0x1005e43ca\ncall    qword ptr [rax+148h]                                           ; +0x48c, 0x1005e43cc\ncall    MusicDownloadManager__sharedState                              ; +0x492, 0x1005e43d2\nmov     esi, [rbx+1C8h]                                                ; +0x497, 0x1005e43d7\nmov     rdi, rax                                                       ; +0x49d, 0x1005e43dd\ncall    MusicDownloadManager__isRunningActionForSongID                 ; +0x4a0, 0x1005e43e0\ntest    al, al                                                         ; +0x4a5, 0x1005e43e5\njz      short loc_1005E444A                                            ; +0x4a7, 0x1005e43e7\nmov     rdi, [rbx+178h]                                                ; +0x4a9, 0x1005e43e9\njmp     short loc_1005E445A                                            ; +0x4b0, 0x1005e43f0\nmov     rdi, [rbx+188h]                                                ; +0x4b2, 0x1005e43f2\nmov     rax, [rdi]                                                     ; +0x4b9, 0x1005e43f9\nxor     esi, esi                                                       ; +0x4bc, 0x1005e43fc\ncall    qword ptr [rax+148h]                                           ; +0x4be, 0x1005e43fe\njmp     loc_1005E4530                                                  ; +0x4c4, 0x1005e4404\nlea     rdx, [rbp+var_5F]                                              ; +0x4c9, 0x1005e4409\nmov     esi, r14d                                                      ; +0x4cd, 0x1005e440d\nlea     rdi, aIdISizeS; \"ID: %i  Size: %s\"                             ; +0x4d0, 0x1005e4410\nxor     eax, eax                                                       ; +0x4d7, 0x1005e4417\ncall    sub_1007AB580                                                  ; +0x4d9, 0x1005e4419\nmov     rdi, rax                                                       ; +0x4de, 0x1005e441e\ncall    cocos2d__CCString__getCString                                  ; +0x4e1, 0x1005e4421\nlea     rdi, [rbp+var_40]; this                                        ; +0x4e6, 0x1005e4426\nmov     rsi, rax; __s                                                  ; +0x4ea, 0x1005e442a\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x4ed, 0x1005e442d\ntest    [rbp+var_60], 1                                                ; +0x4f2, 0x1005e4432\njz      loc_1005E400E                                                  ; +0x4f6, 0x1005e4436\nmov     rdi, [rbp+__p]; __p                                            ; +0x4fc, 0x1005e443c\ncall    __ZdlPv; operator delete(void *)                               ; +0x500, 0x1005e4440\njmp     loc_1005E400E                                                  ; +0x505, 0x1005e4445\nmov     rdi, [rbx+178h]                                                ; +0x50a, 0x1005e444a\ncmp     byte ptr [rbx+1C3h], 0                                         ; +0x511, 0x1005e4451\njz      short loc_1005E4461                                            ; +0x518, 0x1005e4458\nmov     r14b, 1                                                        ; +0x51a, 0x1005e445a\nxor     eax, eax                                                       ; +0x51d, 0x1005e445d\njmp     short loc_1005E446B                                            ; +0x51f, 0x1005e445f\nmovzx   eax, byte ptr [rbx+1C2h]                                       ; +0x521, 0x1005e4461\nxor     r14d, r14d                                                     ; +0x528, 0x1005e4468\nmov     rcx, [rdi]                                                     ; +0x52b, 0x1005e446b\nmovzx   esi, al                                                        ; +0x52e, 0x1005e446e\ncall    qword ptr [rcx+148h]                                           ; +0x531, 0x1005e4471\nmov     rdi, [rbx+180h]                                                ; +0x537, 0x1005e4477\ntest    r14b, r14b                                                     ; +0x53e, 0x1005e447e\njz      short loc_1005E448C                                            ; +0x541, 0x1005e4481\nmovzx   eax, byte ptr [rbx+1C2h]                                       ; +0x543, 0x1005e4483\njmp     short loc_1005E448E                                            ; +0x54a, 0x1005e448a\nxor     eax, eax                                                       ; +0x54c, 0x1005e448c\nmov     rcx, [rdi]                                                     ; +0x54e, 0x1005e448e\nmovzx   esi, al                                                        ; +0x551, 0x1005e4491\ncall    qword ptr [rcx+148h]                                           ; +0x554, 0x1005e4494\nmov     rdi, [rbx+160h]                                                ; +0x55a, 0x1005e449a\ncmp     byte ptr [rbx+1C4h], 0                                         ; +0x561, 0x1005e44a1\njnz     loc_1005E41C9                                                  ; +0x568, 0x1005e44a8\nmovss   xmm0, cs:dword_100817544                                       ; +0x56e, 0x1005e44ae\nmovss   xmm1, cs:dword_100814FA8                                       ; +0x576, 0x1005e44b6\nxorps   xmm2, xmm2                                                     ; +0x57e, 0x1005e44be\ncall    cocos2d__CCLabelBMFont__limitLabelWidth                        ; +0x581, 0x1005e44c1\nmov     rdi, [rbx+168h]                                                ; +0x586, 0x1005e44c6\nmovss   xmm0, cs:dword_1008152B4                                       ; +0x58d, 0x1005e44cd\nmovss   xmm1, cs:dword_100814FB0                                       ; +0x595, 0x1005e44d5\nxorps   xmm2, xmm2                                                     ; +0x59d, 0x1005e44dd\ncall    cocos2d__CCLabelBMFont__limitLabelWidth                        ; +0x5a0, 0x1005e44e0\nmov     rdi, [rbx+198h]                                                ; +0x5a5, 0x1005e44e5\nmov     rax, [rdi]                                                     ; +0x5ac, 0x1005e44ec\nxor     esi, esi                                                       ; +0x5af, 0x1005e44ef\ncall    qword ptr [rax+148h]                                           ; +0x5b1, 0x1005e44f1\nadd     rsp, 38h                                                       ; +0x5b7, 0x1005e44f7\npop     rbx                                                            ; +0x5bb, 0x1005e44fb\npop     r12                                                            ; +0x5bc, 0x1005e44fc\npop     r13                                                            ; +0x5be, 0x1005e44fe\npop     r14                                                            ; +0x5c0, 0x1005e4500\npop     r15                                                            ; +0x5c2, 0x1005e4502\npop     rbp                                                            ; +0x5c4, 0x1005e4504\nretn                                                                   ; +0x5c5, 0x1005e4505\nmov     esi, 1                                                         ; +0x5c6, 0x1005e4506\ncall    rcx                                                            ; +0x5cb, 0x1005e450b\ncall    cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache            ; +0x5cd, 0x1005e450d\nlea     rsi, aGjSelectsongbt; \"GJ_selectSongBtn_001.png\"               ; +0x5d2, 0x1005e4512\nmov     rdi, rax                                                       ; +0x5d9, 0x1005e4519\ncall    cocos2d__CCSpriteFrameCache__spriteFrameByName                 ; +0x5dc, 0x1005e451c\nmov     rcx, [r15]                                                     ; +0x5e1, 0x1005e4521\nmov     rdi, r15                                                       ; +0x5e4, 0x1005e4524\nmov     rsi, rax                                                       ; +0x5e7, 0x1005e4527\ncall    qword ptr [rcx+478h]                                           ; +0x5ea, 0x1005e452a\nmov     rdi, [rbx+190h]                                                ; +0x5f0, 0x1005e4530\nmovzx   esi, byte ptr [rbx+1C1h]                                       ; +0x5f7, 0x1005e4537\nmov     rax, [rdi]                                                     ; +0x5fe, 0x1005e453e\ncall    qword ptr [rax+148h]                                           ; +0x601, 0x1005e4541\nmov     rdi, [rbx+1B0h]                                                ; +0x607, 0x1005e4547\ntest    rdi, rdi                                                       ; +0x60e, 0x1005e454e\njnz     loc_1005E4152                                                  ; +0x611, 0x1005e4551\njmp     loc_1005E41A3                                                  ; +0x617, 0x1005e4557", "xrefs": ["CustomSFXWidget::init @ 0x1005e386b", "CustomSFXWidget::updateSFXObject @ 0x1005e3f23", "CustomSFXWidget::deleteSFX @ 0x1005e46bc", "CustomSFXWidget::updateDownloadProgress @ 0x1005e49f9", "CustomSFXWidget::downloadFailed @ 0x1005e4b11", "CustomSFXWidget::songStateChanged @ 0x1005e4b25", "sub_1005E4B30 @ 0x1005e4b3c", "CustomSFXWidget::updateLengthMod @ 0x1005e4b5d"], "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"}