{"type": "func", "start": 11920184, "end": 11920268, "name": "CustomSFXWidget::downloadSFXFinished", "pseudocode": "// \n// CustomSFXWidget::downloadSFXFinished from 0xb5e338 to 0xb5e38c (84 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CustomSFXWidget::downloadSFXFinished @ 0xb5e390\n// > <???> @ 0xf9c70\n// > <???> @ 0x14c3050\n// \n// This function is hookable on this platform (idp: arm, 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 13:02:10 +0000\n// \n\n__int64 __fastcall CustomSFXWidget::downloadSFXFinished(CustomSFXWidget *this, int a2)\n{\n  __int64 result; // x0\n  GameManager *v4; // x0\n\n  result = (unsigned __int8)CustomSFXWidget::verifySFXID(this, a2);\n  if ( (_BYTE)result )\n  {\n    v4 = (GameManager *)GameManager::sharedState((GameManager *)result);\n    result = (unsigned __int8)GameManager::getGameVariable(v4, \"0143\");\n    if ( !(_BYTE)result )\n      return CustomSFXWidget::onPlayback(this, nullptr);\n  }\n  return result;\n}", "assembly": "; \n; CustomSFXWidget::downloadSFXFinished from 0xb5e338 to 0xb5e38c (84 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CustomSFXWidget::downloadSFXFinished @ 0xb5e390\n; > <???> @ 0xf9c70\n; > <???> @ 0x14c3050\n; \n; This function is hookable on this platform (idp: arm, 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 13:02:10 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xb5e338\nMOV             X29, SP                                                ; +0x4, 0xb5e33c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xb5e340\nMOV             X19, X0                                                ; +0xc, 0xb5e344\nBL              _ZN15CustomSFXWidget11verifySFXIDEi; CustomSFXWidget::verifySFXID(int) ; +0x10, 0xb5e348\nUXTB            W0, W0; this                                           ; +0x14, 0xb5e34c\nCBNZ            W0, loc_B5E360                                         ; +0x18, 0xb5e350\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0xb5e354\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0xb5e358\nRET                                                                    ; +0x24, 0xb5e35c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x28, 0xb5e360\nADRL            X1, a0143; \"0143\"                                      ; +0x2c, 0xb5e364\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x34, 0xb5e36c\nUXTB            W0, W0                                                 ; +0x38, 0xb5e370\nCBNZ            W0, loc_B5E354                                         ; +0x3c, 0xb5e374\nMOV             X0, X19; this                                          ; +0x40, 0xb5e378\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x44, 0xb5e37c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x48, 0xb5e380\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x4c, 0xb5e384\nB               _ZN15CustomSFXWidget10onPlaybackEPN7cocos2d8CCObjectE; CustomSFXWidget::onPlayback(cocos2d::CCObject *) ; +0x50, 0xb5e388", "xrefs": ["`non-virtual thunk to'CustomSFXWidget::downloadSFXFinished @ 0xb5e390", "<???> @ 0xf9c70", "<???> @ 0x14c3050"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}