{"type": "func", "start": 3339968, "end": 3340090, "name": "CommentCell::onConfirmDelete", "pseudocode": "// \n// CommentCell::onConfirmDelete from 0x32f6c0 to 0x32f73a (122 bytes)\n// \n// 0 xrefs:\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 CommentCell::onConfirmDelete(CommentCell *a1, cocos2d::CCObject *a2)\n{\n  FLAlertLayer *v3; // r5\n  _BYTE v4[4]; // [sp+10h] [bp-8h] BYREF\n\n  if ( a1->m_comment )\n  {\n    sub_776584((int)v4, \"Are you sure you want to <cr>delete</c> this comment?\");\n    v3 = FLAlertLayer::create(\n           (int)&a1->FLAlertLayerProtocol,\n           (int)\"Delete Comment\",\n           (int)v4,\n           (int)\"NO\",\n           (int)\"YES\",\n           300.0);\n    sub_774008(v4);\n    v3->setTag(v3, 0);\n    v3->show(v3);\n  }\n}", "assembly": "; \n; CommentCell::onConfirmDelete from 0x32f6c0 to 0x32f73a (122 bytes)\n; \n; 0 xrefs:\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             R3, =(__stack_chk_guard_ptr - 0x32F6C8)                ; +0x0, 0x32f6c0\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x32f6c2\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x32f6c4\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x32f6c6\nSUB             SP, SP, #0x18                                          ; +0x8, 0x32f6c8\nMOV             R5, R0                                                 ; +0xa, 0x32f6ca\nLDR             R2, [R3]                                               ; +0xc, 0x32f6cc\nMOV             R6, R3                                                 ; +0xe, 0x32f6ce\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x10, 0x32f6d0\nLDR.W           R2, [R0,#0x1AC]                                        ; +0x12, 0x32f6d2\nCBZ             R2, loc_32F72A                                         ; +0x16, 0x32f6d6\nADD             R4, SP, #0x18+var_8                                    ; +0x18, 0x32f6d8\nLDR             R1, =(aAreYouSureYouW_0 - 0x32F6E2); \"Are you sure you want to <cr>delete</c>\"... ; +0x1a, 0x32f6da\nADD             R2, SP, #0x18+var_C                                    ; +0x1c, 0x32f6dc\nADD             R1, PC; \"Are you sure you want to <cr>delete</c>\"...   ; +0x1e, 0x32f6de\nMOV             R0, R4; int                                            ; +0x20, 0x32f6e0\nBL              sub_776584                                             ; +0x22, 0x32f6e2\nLDR             R3, =(aYes_0 - 0x32F6F2); \"YES\"                        ; +0x26, 0x32f6e6\nLDR             R1, =(aDeleteComment - 0x32F6F8); \"Delete Comment\"     ; +0x28, 0x32f6e8\nADD.W           R0, R5, #0x1A0; int                                    ; +0x2a, 0x32f6ea\nADD             R3, PC; \"YES\"                                          ; +0x2e, 0x32f6ee\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x30, 0x32f6f0\nLDR             R3, flt_32F73C                                         ; +0x32, 0x32f6f2\nADD             R1, PC; \"Delete Comment\"                               ; +0x34, 0x32f6f4\nMOV             R2, R4; int                                            ; +0x36, 0x32f6f6\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x38, 0x32f6f8\nLDR             R3, =(aNo_0 - 0x32F700); \"NO\"                          ; +0x3a, 0x32f6fa\nADD             R3, PC; \"NO\"                                           ; +0x3c, 0x32f6fc\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x3e, 0x32f6fe\nMOV             R5, R0                                                 ; +0x42, 0x32f702\nMOV             R0, R4                                                 ; +0x44, 0x32f704\nBL              sub_774008                                             ; +0x46, 0x32f706\nLDR             R3, [R5]                                               ; +0x4a, 0x32f70a\nMOV             R0, R5                                                 ; +0x4c, 0x32f70c\nMOVS            R1, #0                                                 ; +0x4e, 0x32f70e\nLDR             R3, [R3,#0x24]                                         ; +0x50, 0x32f710\nBLX             R3                                                     ; +0x52, 0x32f712\nLDR             R3, [R5]                                               ; +0x54, 0x32f714\nMOV             R0, R5                                                 ; +0x56, 0x32f716\nLDR.W           R3, [R3,#0x284]                                        ; +0x58, 0x32f718\nBLX             R3                                                     ; +0x5c, 0x32f71c\nB               loc_32F72A                                             ; +0x5e, 0x32f71e\nMOV             R0, R4                                                 ; +0x60, 0x32f720\nBL              sub_774008                                             ; +0x62, 0x32f722\nBL              __cxa_end_cleanup                                      ; +0x66, 0x32f726\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x6a, 0x32f72a\nLDR             R3, [R6]                                               ; +0x6c, 0x32f72c\nCMP             R2, R3                                                 ; +0x6e, 0x32f72e\nBEQ             loc_32F736                                             ; +0x70, 0x32f730\nBLX             __stack_chk_fail                                       ; +0x72, 0x32f732\nADD             SP, SP, #0x18                                          ; +0x76, 0x32f736\nPOP             {R4-R6,PC}                                             ; +0x78, 0x32f738", "xrefs": [], "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"}