{"type": "func", "start": 4296085264, "end": 4296085360, "name": "CommentCell::onDelete", "pseudocode": "// \n// CommentCell::onDelete from 0x100110f10 to 0x100110f70 (96 bytes)\n// \n// 2 xrefs:\n// > CommentCell::FLAlert_Clicked @ 0x100110fd4\n// > sub_100110FD8 @ 0x10011103c\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 CommentCell::onDelete(CommentCell *a1)\n{\n  bool m_accountComment; // w20\n  GameLevelManager *v3; // x0\n  GJComment *m_comment; // x8\n  int m_commentID; // w2\n  GJComment *v6; // x1\n\n  if ( a1->m_comment )\n  {\n    m_accountComment = a1->m_accountComment;\n    v3 = GameLevelManager::sharedState();\n    m_comment = a1->m_comment;\n    m_commentID = m_comment->m_commentID;\n    if ( m_accountComment )\n      GameLevelManager::deleteAccountComment(v3, m_comment->m_accountID, m_commentID);\n    else\n      GameLevelManager::deleteLevelComment(v3, m_comment->m_levelID, m_commentID);\n    v6 = a1->m_comment;\n    v6->m_commentDeleted = 1;\n    CommentCell::loadFromComment(a1, v6);\n  }\n}", "assembly": "; \n; CommentCell::onDelete from 0x100110f10 to 0x100110f70 (96 bytes)\n; \n; 2 xrefs:\n; > CommentCell::FLAlert_Clicked @ 0x100110fd4\n; > sub_100110FD8 @ 0x10011103c\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\nLDR             X8, [X0,#0x248]                                        ; +0x0, 0x100110f10\nCBZ             X8, locret_100110F48                                   ; +0x4, 0x100110f14\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x8, 0x100110f18\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0x100110f1c\nADD             X29, SP, #0x10                                         ; +0x10, 0x100110f20\nMOV             X19, X0                                                ; +0x14, 0x100110f24\nLDRB            W20, [X0,#0x250]                                       ; +0x18, 0x100110f28\nBL              GameLevelManager__sharedState                          ; +0x1c, 0x100110f2c\nLDR             X8, [X19,#0x248]                                       ; +0x20, 0x100110f30\nLDR             W2, [X8,#0x170]                                        ; +0x24, 0x100110f34\nTBZ             W20, #0, loc_100110F4C                                 ; +0x28, 0x100110f38\nLDR             W1, [X8,#0x184]                                        ; +0x2c, 0x100110f3c\nBL              GameLevelManager__deleteAccountComment                 ; +0x30, 0x100110f40\nB               loc_100110F54                                          ; +0x34, 0x100110f44\nRET                                                                    ; +0x38, 0x100110f48\nLDR             W1, [X8,#0x17C]                                        ; +0x3c, 0x100110f4c\nBL              GameLevelManager__deleteLevelComment                   ; +0x40, 0x100110f50\nLDR             X1, [X19,#0x248]                                       ; +0x44, 0x100110f54\nMOV             W8, #1                                                 ; +0x48, 0x100110f58\nSTRB            W8, [X1,#0x1A0]                                        ; +0x4c, 0x100110f5c\nMOV             X0, X19                                                ; +0x50, 0x100110f60\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x100110f64\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x100110f68\nB               CommentCell__loadFromComment                           ; +0x5c, 0x100110f6c", "xrefs": ["CommentCell::FLAlert_Clicked @ 0x100110fd4", "sub_100110FD8 @ 0x10011103c"], "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"}