{"type": "func", "start": 4298692952, "end": 4298693032, "name": "CustomSFXWidget::downloadSFXFinished", "pseudocode": "// \n// CustomSFXWidget::downloadSFXFinished from 0x10038d958 to 0x10038d9a8 (80 bytes)\n// \n// 2 xrefs:\n// > sub_10038D9A8 @ 0x10038d9ac\n// > <???> @ 0x10093f3a0\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 11:03:36 +0000\n// \n\nvoid __fastcall CustomSFXWidget::downloadSFXFinished(__int64 a1, int a2)\n{\n  int v2; // w8\n  __int64 v5; // x0\n  char v6; // w0\n\n  v2 = *(_DWORD *)(a1 + 496);\n  if ( v2 == a2 && v2 != 0 )\n  {\n    v5 = GameManager::sharedState(a1);\n    GameManager::getGameVariable(v5, \"0143\");\n    if ( (v6 & 1) == 0 )\n      CustomSFXWidget::onPlayback(a1);\n  }\n}", "assembly": "; \n; CustomSFXWidget::downloadSFXFinished from 0x10038d958 to 0x10038d9a8 (80 bytes)\n; \n; 2 xrefs:\n; > sub_10038D9A8 @ 0x10038d9ac\n; > <???> @ 0x10093f3a0\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 11:03:36 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10038d958\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10038d95c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10038d960\nLDR             W8, [X0,#0x1F0]                                        ; +0xc, 0x10038d964\nCMP             W8, W1                                                 ; +0x10, 0x10038d968\nCCMP            W8, #0, #4, EQ                                         ; +0x14, 0x10038d96c\nB.EQ            loc_10038D98C                                          ; +0x18, 0x10038d970\nMOV             X19, X0                                                ; +0x1c, 0x10038d974\nBL              GameManager__sharedState                               ; +0x20, 0x10038d978\nADRL            X1, a0143; \"0143\"                                      ; +0x24, 0x10038d97c\nBL              GameManager__getGameVariable                           ; +0x2c, 0x10038d984\nTBZ             W0, #0, loc_10038D998                                  ; +0x30, 0x10038d988\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x10038d98c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x38, 0x10038d990\nRET                                                                    ; +0x3c, 0x10038d994\nMOV             X0, X19                                                ; +0x40, 0x10038d998\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x10038d99c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x10038d9a0\nB               CustomSFXWidget__onPlayback                            ; +0x4c, 0x10038d9a4", "xrefs": ["sub_10038D9A8 @ 0x10038d9ac", "<???> @ 0x10093f3a0"], "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"}