{"type": "func", "start": 4883972, "end": 4884106, "name": "GJMessagePopup::onRemove", "pseudocode": "// \n// GJMessagePopup::onRemove from 0x4a8604 to 0x4a868a (134 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 GJMessagePopup::onRemove(GJMessagePopup *a1, cocos2d::CCObject *a2)\n{\n  FLAlertLayer *v3; // r4\n  _BYTE v4[4]; // [sp+20h] [bp-8h] BYREF\n\n  sub_776584((int)v4, \"Are you sure you want to <cr>delete</c> this message?\");\n  v3 = FLAlertLayer::create(\n         (int)&a1->FLAlertLayerProtocol,\n         (int)\"Delete\",\n         (int)v4,\n         (int)\"Back\",\n         (int)\"Delete\",\n         380.0,\n         0,\n         0,\n         1.0);\n  sub_774008(v4);\n  ButtonSprite::updateBGImage(v3->m_button2, \"GJ_button_06.png\");\n  v3->setTag(v3, 2);\n  v3->show(v3);\n}", "assembly": "; \n; GJMessagePopup::onRemove from 0x4a8604 to 0x4a868a (134 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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x4a8604\nSUB             SP, SP, #0x28                                          ; +0x2, 0x4a8606\nLDR             R6, =(__stack_chk_guard_ptr - 0x4A8614)                ; +0x4, 0x4a8608\nADD             R5, SP, #0x28+var_8                                    ; +0x6, 0x4a860a\nLDR             R1, =(aAreYouSureYouW_5 - 0x4A861A); \"Are you sure you want to <cr>delete</c>\"... ; +0x8, 0x4a860c\nMOV             R4, R0                                                 ; +0xa, 0x4a860e\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xc, 0x4a8610\nLDR             R6, [R6]; __stack_chk_guard                            ; +0xe, 0x4a8612\nADD             R2, SP, #0x28+var_C                                    ; +0x10, 0x4a8614\nADD             R1, PC; \"Are you sure you want to <cr>delete</c>\"...   ; +0x12, 0x4a8616\nMOV             R0, R5; int                                            ; +0x14, 0x4a8618\nLDR             R3, [R6]                                               ; +0x16, 0x4a861a\nSTR             R3, [SP,#0x28+var_4]                                   ; +0x18, 0x4a861c\nBL              sub_776584                                             ; +0x1a, 0x4a861e\nLDR             R3, flt_4A868C                                         ; +0x1e, 0x4a8622\nADD.W           R0, R4, #0x1F8; int                                    ; +0x20, 0x4a8624\nLDR             R1, =(aDelete - 0x4A8640); \"Delete\"                    ; +0x24, 0x4a8628\nMOV             R2, R5; int                                            ; +0x26, 0x4a862a\nSTR             R3, [SP,#0x28+var_24]; float                           ; +0x28, 0x4a862c\nMOVS            R3, #0                                                 ; +0x2a, 0x4a862e\nSTR             R3, [SP,#0x28+var_20]; char                            ; +0x2c, 0x4a8630\nMOVS            R3, #0                                                 ; +0x2e, 0x4a8632\nSTR             R3, [SP,#0x28+var_1C]; int                             ; +0x30, 0x4a8634\nMOV.W           R3, #0x3F800000                                        ; +0x32, 0x4a8636\nSTR             R3, [SP,#0x28+var_18]; float                           ; +0x36, 0x4a863a\nADD             R1, PC; \"Delete\"                                       ; +0x38, 0x4a863c\nLDR             R3, =(aBack - 0x4A8646); \"Back\"                        ; +0x3a, 0x4a863e\nSTR             R1, [SP,#0x28+var_28]; int                             ; +0x3c, 0x4a8640\nADD             R3, PC; \"Back\"                                         ; +0x3e, 0x4a8642\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_fbff; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float,bool,float,float) ; +0x40, 0x4a8644\nMOV             R4, R0                                                 ; +0x44, 0x4a8648\nMOV             R0, R5                                                 ; +0x46, 0x4a864a\nBL              sub_774008                                             ; +0x48, 0x4a864c\nLDR             R1, =(aGjButton06Png - 0x4A865A); \"GJ_button_06.png\"   ; +0x4c, 0x4a8650\nLDR.W           R0, [R4,#0x1D8]; this                                  ; +0x4e, 0x4a8652\nADD             R1, PC; \"GJ_button_06.png\"                             ; +0x52, 0x4a8656\nBL              _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x54, 0x4a8658\nLDR             R3, [R4]                                               ; +0x58, 0x4a865c\nMOV             R0, R4                                                 ; +0x5a, 0x4a865e\nMOVS            R1, #2                                                 ; +0x5c, 0x4a8660\nLDR             R3, [R3,#0x24]                                         ; +0x5e, 0x4a8662\nBLX             R3                                                     ; +0x60, 0x4a8664\nLDR             R3, [R4]                                               ; +0x62, 0x4a8666\nMOV             R0, R4                                                 ; +0x64, 0x4a8668\nLDR.W           R3, [R3,#0x284]                                        ; +0x66, 0x4a866a\nBLX             R3                                                     ; +0x6a, 0x4a866e\nLDR             R2, [SP,#0x28+var_4]                                   ; +0x6c, 0x4a8670\nLDR             R3, [R6]                                               ; +0x6e, 0x4a8672\nCMP             R2, R3                                                 ; +0x70, 0x4a8674\nBEQ             loc_4A8686                                             ; +0x72, 0x4a8676\nBLX             __stack_chk_fail                                       ; +0x74, 0x4a8678\nMOV             R0, R5                                                 ; +0x78, 0x4a867c\nBL              sub_774008                                             ; +0x7a, 0x4a867e\nBL              __cxa_end_cleanup                                      ; +0x7e, 0x4a8682\nADD             SP, SP, #0x28 ; '('                                    ; +0x82, 0x4a8686\nPOP             {R4-R6,PC}                                             ; +0x84, 0x4a8688", "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"}