{"type": "func", "start": 12846548, "end": 12846640, "name": "AccountReviewPopup::threadDeleteAnswered", "pseudocode": "// \n// AccountReviewPopup::threadDeleteAnswered from 0xc405d4 to 0xc40630 (92 bytes)\n// \n// 3 xrefs:\n// > AccountReviewPopup::threadUpdateFinished @ 0xc4063c\n// > AccountReviewPopup::threadUpdateFailed @ 0xc4066c\n// > <???> @ 0xc5398\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:04:57 +0000\n// \n\n__int64 __fastcall AccountReviewPopup::threadDeleteAnswered(__int64 this)\n{\n  int v1; // w1\n  __int64 v2; // x19\n\n  v1 = *(_DWORD *)(this + 1260);\n  if ( v1 > 0 )\n    *(_DWORD *)(this + 1260) = --v1;\n  if ( !v1 )\n  {\n    v2 = this;\n    this = *(_QWORD *)(GameLevelManager::sharedState((GameLevelManager *)this) + 1264);\n    if ( this == v2 + 832 )\n    {\n      this = GameLevelManager::sharedState((GameLevelManager *)this);\n      *(_QWORD *)(this + 1264) = 0;\n    }\n  }\n  return this;\n}", "assembly": "; \n; AccountReviewPopup::threadDeleteAnswered from 0xc405d4 to 0xc40630 (92 bytes)\n; \n; 3 xrefs:\n; > AccountReviewPopup::threadUpdateFinished @ 0xc4063c\n; > AccountReviewPopup::threadUpdateFailed @ 0xc4066c\n; > <???> @ 0xc5398\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:04:57 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xc405d4\nMOV             X29, SP                                                ; +0x4, 0xc405d8\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xc405dc\nLDR             W1, [X0,#0x4EC]                                        ; +0xc, 0xc405e0\nCMP             W1, WZR                                                ; +0x10, 0xc405e4\nB.LE            loc_C405F4                                             ; +0x14, 0xc405e8\nSUB             W1, W1, #1                                             ; +0x18, 0xc405ec\nSTR             W1, [X0,#0x4EC]                                        ; +0x1c, 0xc405f0\nCBZ             W1, loc_C40604                                         ; +0x20, 0xc405f4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x24, 0xc405f8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x28, 0xc405fc\nRET                                                                    ; +0x2c, 0xc40600\nMOV             X19, X0                                                ; +0x30, 0xc40604\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x34, 0xc40608\nLDR             X0, [X0,#0x4F0]; this                                  ; +0x38, 0xc4060c\nADD             X19, X19, #0x340                                       ; +0x3c, 0xc40610\nCMP             X0, X19                                                ; +0x40, 0xc40614\nB.NE            loc_C405F8                                             ; +0x44, 0xc40618\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x48, 0xc4061c\nSTR             XZR, [X0,#0x4F0]                                       ; +0x4c, 0xc40620\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x50, 0xc40624\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x54, 0xc40628\nRET                                                                    ; +0x58, 0xc4062c", "xrefs": ["AccountReviewPopup::threadUpdateFinished @ 0xc4063c", "AccountReviewPopup::threadUpdateFailed @ 0xc4066c", "<???> @ 0xc5398"], "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"}