{"type": "func", "start": 3341212, "end": 3341366, "name": "GJMessageCell::onDeleteMessage", "pseudocode": "// \n// GJMessageCell::onDeleteMessage from 0x32fb9c to 0x32fc36 (154 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 GJMessageCell::onDeleteMessage(GJMessageCell *a1, cocos2d::CCObject *a2)\n{\n  GJUserMessage *m_message; // r2\n  FLAlertLayer *v4; // r4\n  _BYTE v5[4]; // [sp+20h] [bp-8h] BYREF\n\n  m_message = a1->m_message;\n  if ( m_message )\n  {\n    if ( m_message->m_accountID > 0 )\n    {\n      sub_776584((int)v5, \"Are you sure you want to <cr>delete</c> this message?\");\n      v4 = FLAlertLayer::create(\n             (int)&a1->FLAlertLayerProtocol,\n             (int)\"Delete\",\n             (int)v5,\n             (int)\"Back\",\n             (int)\"Delete\",\n             380.0,\n             0,\n             0,\n             1.0);\n      sub_774008(v5);\n      ButtonSprite::updateBGImage(v4->m_button2, \"GJ_button_06.png\");\n      v4->setTag(v4, 1);\n      v4->show(v4);\n    }\n  }\n}", "assembly": "; \n; GJMessageCell::onDeleteMessage from 0x32fb9c to 0x32fc36 (154 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 - 0x32FBA4)                ; +0x0, 0x32fb9c\nPUSH            {R4-R6,LR}                                             ; +0x2, 0x32fb9e\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x32fba0\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x32fba2\nSUB             SP, SP, #0x28                                          ; +0x8, 0x32fba4\nMOV             R4, R0                                                 ; +0xa, 0x32fba6\nLDR             R2, [R3]                                               ; +0xc, 0x32fba8\nMOV             R6, R3                                                 ; +0xe, 0x32fbaa\nSTR             R2, [SP,#0x28+var_4]                                   ; +0x10, 0x32fbac\nLDR.W           R2, [R0,#0x1A8]                                        ; +0x12, 0x32fbae\nCMP             R2, #0                                                 ; +0x16, 0x32fbb2\nBEQ             loc_32FC26                                             ; +0x18, 0x32fbb4\nLDR.W           R3, [R2,#0x10C]                                        ; +0x1a, 0x32fbb6\nCMP             R3, #0                                                 ; +0x1e, 0x32fbba\nBLE             loc_32FC26                                             ; +0x20, 0x32fbbc\nADD             R5, SP, #0x28+var_8                                    ; +0x22, 0x32fbbe\nLDR             R1, =(aAreYouSureYouW_5 - 0x32FBC8); \"Are you sure you want to <cr>delete</c>\"... ; +0x24, 0x32fbc0\nADD             R2, SP, #0x28+var_C                                    ; +0x26, 0x32fbc2\nADD             R1, PC; \"Are you sure you want to <cr>delete</c>\"...   ; +0x28, 0x32fbc4\nMOV             R0, R5; int                                            ; +0x2a, 0x32fbc6\nBL              sub_776584                                             ; +0x2c, 0x32fbc8\nLDR             R3, flt_32FC38                                         ; +0x30, 0x32fbcc\nLDR             R1, =(aDelete - 0x32FBEA); \"Delete\"                    ; +0x32, 0x32fbce\nADD.W           R0, R4, #0x19C; int                                    ; +0x34, 0x32fbd0\nMOV             R2, R5; int                                            ; +0x38, 0x32fbd4\nSTR             R3, [SP,#0x28+var_24]; float                           ; +0x3a, 0x32fbd6\nMOVS            R3, #0                                                 ; +0x3c, 0x32fbd8\nSTR             R3, [SP,#0x28+var_20]; char                            ; +0x3e, 0x32fbda\nMOVS            R3, #0                                                 ; +0x40, 0x32fbdc\nSTR             R3, [SP,#0x28+var_1C]; int                             ; +0x42, 0x32fbde\nMOV.W           R3, #0x3F800000                                        ; +0x44, 0x32fbe0\nSTR             R3, [SP,#0x28+var_18]; float                           ; +0x48, 0x32fbe4\nADD             R1, PC; \"Delete\"                                       ; +0x4a, 0x32fbe6\nLDR             R3, =(aBack - 0x32FBF0); \"Back\"                        ; +0x4c, 0x32fbe8\nSTR             R1, [SP,#0x28+var_28]; int                             ; +0x4e, 0x32fbea\nADD             R3, PC; \"Back\"                                         ; +0x50, 0x32fbec\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_fbff; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float,bool,float,float) ; +0x52, 0x32fbee\nMOV             R4, R0                                                 ; +0x56, 0x32fbf2\nMOV             R0, R5                                                 ; +0x58, 0x32fbf4\nBL              sub_774008                                             ; +0x5a, 0x32fbf6\nLDR             R1, =(aGjButton06Png - 0x32FC04); \"GJ_button_06.png\"   ; +0x5e, 0x32fbfa\nLDR.W           R0, [R4,#0x1D8]; this                                  ; +0x60, 0x32fbfc\nADD             R1, PC; \"GJ_button_06.png\"                             ; +0x64, 0x32fc00\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x66, 0x32fc02\nLDR             R3, [R4]                                               ; +0x6a, 0x32fc06\nMOV             R0, R4                                                 ; +0x6c, 0x32fc08\nMOVS            R1, #1                                                 ; +0x6e, 0x32fc0a\nLDR             R3, [R3,#0x24]                                         ; +0x70, 0x32fc0c\nBLX             R3                                                     ; +0x72, 0x32fc0e\nLDR             R3, [R4]                                               ; +0x74, 0x32fc10\nMOV             R0, R4                                                 ; +0x76, 0x32fc12\nLDR.W           R3, [R3,#0x284]                                        ; +0x78, 0x32fc14\nBLX             R3                                                     ; +0x7c, 0x32fc18\nB               loc_32FC26                                             ; +0x7e, 0x32fc1a\nMOV             R0, R5                                                 ; +0x80, 0x32fc1c\nBL              sub_774008                                             ; +0x82, 0x32fc1e\nBL              __cxa_end_cleanup                                      ; +0x86, 0x32fc22\nLDR             R2, [SP,#0x28+var_4]                                   ; +0x8a, 0x32fc26\nLDR             R3, [R6]                                               ; +0x8c, 0x32fc28\nCMP             R2, R3                                                 ; +0x8e, 0x32fc2a\nBEQ             loc_32FC32                                             ; +0x90, 0x32fc2c\nBLX             __stack_chk_fail                                       ; +0x92, 0x32fc2e\nADD             SP, SP, #0x28 ; '('                                    ; +0x96, 0x32fc32\nPOP             {R4-R6,PC}                                             ; +0x98, 0x32fc34", "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"}