{"type": "func", "start": 4357784, "end": 4357914, "name": "CommentCell::onConfirmDelete", "pseudocode": "// \n// CommentCell::onConfirmDelete from 0x427e98 to 0x427f1a (130 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:48:05 +0000\n// \n\nint __fastcall CommentCell::onConfirmDelete(int this, cocos2d::CCObject *a2)\n{\n  int v2; // r5\n  int *v3; // r5\n  int v4[3]; // [sp+8h] [bp-10h] BYREF\n\n  v2 = this;\n  if ( *(_DWORD *)(this + 436) )\n  {\n    memset(v4, 0, sizeof(v4));\n    std::string::__init(v4, \"Are you sure you want to <cr>delete</c> this comment?\", 0x35u);\n    v3 = FLAlertLayer::create(\n           v2 + 424,\n           (cocos2d::CCLabelBMFont *)\"Delete Comment\",\n           (int)v4,\n           (ButtonSprite *)\"NO\",\n           (ButtonSprite *)\"YES\",\n           300.0);\n    std::string::~string((int)v4);\n    (*(void (__fastcall **)(int *, _DWORD))(*v3 + 36))(v3, 0);\n    return (*(int (__fastcall **)(int *))(*v3 + 656))(v3);\n  }\n  return this;\n}", "assembly": "; \n; CommentCell::onConfirmDelete from 0x427e98 to 0x427f1a (130 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:48:05 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x427EA0)                ; +0x0, 0x427e98\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x427e9a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x427e9c\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x427e9e\nSUB             SP, SP, #0x18                                          ; +0x8, 0x427ea0\nMOV             R5, R0                                                 ; +0xa, 0x427ea2\nLDR             R2, [R3]                                               ; +0xc, 0x427ea4\nMOV             R6, R3                                                 ; +0xe, 0x427ea6\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x10, 0x427ea8\nLDR.W           R2, [R0,#0x1B4]                                        ; +0x12, 0x427eaa\nCBZ             R2, loc_427F0A                                         ; +0x16, 0x427eae\nADD             R4, SP, #0x18+var_10                                   ; +0x18, 0x427eb0\nLDR             R1, =(aAreYouSureYouW_0 - 0x427EBE); \"Are you sure you want to <cr>delete</c>\"... ; +0x1a, 0x427eb2\nMOVS            R2, #0x35 ; '5'                                        ; +0x1c, 0x427eb4\nMOVS            R3, #0                                                 ; +0x1e, 0x427eb6\nMOV             R0, R4                                                 ; +0x20, 0x427eb8\nADD             R1, PC; \"Are you sure you want to <cr>delete</c>\"...   ; +0x22, 0x427eba\nSTR             R3, [SP,#0x18+var_10]                                  ; +0x24, 0x427ebc\nSTR             R3, [SP,#0x18+var_C]                                   ; +0x26, 0x427ebe\nSTR             R3, [SP,#0x18+var_8]                                   ; +0x28, 0x427ec0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x2a, 0x427ec2\nLDR             R3, =(aYes_0 - 0x427ED4); \"YES\"                        ; +0x2e, 0x427ec6\nADD.W           R0, R5, #0x1A8; int                                    ; +0x30, 0x427ec8\nLDR             R1, =(aDeleteComment - 0x427EDA); \"Delete Comment\"     ; +0x34, 0x427ecc\nMOV             R2, R4; int                                            ; +0x36, 0x427ece\nADD             R3, PC; \"YES\"                                          ; +0x38, 0x427ed0\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x3a, 0x427ed2\nLDR             R3, flt_427F1C                                         ; +0x3c, 0x427ed4\nADD             R1, PC; \"Delete Comment\"                               ; +0x3e, 0x427ed6\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x40, 0x427ed8\nLDR             R3, =(aNo_0 - 0x427EE0); \"NO\"                          ; +0x42, 0x427eda\nADD             R3, PC; \"NO\"                                           ; +0x44, 0x427edc\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x46, 0x427ede\nMOV             R5, R0                                                 ; +0x4a, 0x427ee2\nMOV             R0, R4                                                 ; +0x4c, 0x427ee4\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4e, 0x427ee6\nLDR             R3, [R5]                                               ; +0x52, 0x427eea\nMOV             R0, R5                                                 ; +0x54, 0x427eec\nMOVS            R1, #0                                                 ; +0x56, 0x427eee\nLDR             R3, [R3,#0x24]                                         ; +0x58, 0x427ef0\nBLX             R3                                                     ; +0x5a, 0x427ef2\nLDR             R3, [R5]                                               ; +0x5c, 0x427ef4\nMOV             R0, R5                                                 ; +0x5e, 0x427ef6\nLDR.W           R3, [R3,#0x290]                                        ; +0x60, 0x427ef8\nBLX             R3                                                     ; +0x64, 0x427efc\nB               loc_427F0A                                             ; +0x66, 0x427efe\nMOV             R0, R4                                                 ; +0x68, 0x427f00\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x6a, 0x427f02\nBL              __cxa_end_cleanup                                      ; +0x6e, 0x427f06\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x72, 0x427f0a\nLDR             R3, [R6]                                               ; +0x74, 0x427f0c\nCMP             R2, R3                                                 ; +0x76, 0x427f0e\nBEQ             loc_427F16                                             ; +0x78, 0x427f10\nBLX             __stack_chk_fail                                       ; +0x7a, 0x427f12\nADD             SP, SP, #0x18                                          ; +0x7e, 0x427f16\nPOP             {R4-R6,PC}                                             ; +0x80, 0x427f18", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}