{"type": "func", "start": 3890268, "end": 3890380, "name": "EditLevelLayer::onUpdateDescription", "pseudocode": "// \n// EditLevelLayer::onUpdateDescription from 0x3b5c5c to 0x3b5ccc (112 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 EditLevelLayer::onUpdateDescription(EditLevelLayer *a1, cocos2d::CCObject *a2)\n{\n  FLAlertLayer *v3; // r5\n  _BYTE v4[4]; // [sp+10h] [bp-8h] BYREF\n\n  sub_776584((int)v4, \"Do you want to <cg>update</c> the level <cl>description</c>?\");\n  v3 = FLAlertLayer::create(\n         (int)&a1->FLAlertLayerProtocol,\n         (int)\"Update Level Desc\",\n         (int)v4,\n         (int)\"Cancel\",\n         (int)\"Update\",\n         380.0);\n  sub_774008(v4);\n  v3->setTag(v3, 9);\n  v3->show(v3);\n}", "assembly": "; \n; EditLevelLayer::onUpdateDescription from 0x3b5c5c to 0x3b5ccc (112 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, 0x3b5c5c\nSUB             SP, SP, #0x18                                          ; +0x2, 0x3b5c5e\nLDR             R6, =(__stack_chk_guard_ptr - 0x3B5C6C)                ; +0x4, 0x3b5c60\nADD             R4, SP, #0x18+var_8                                    ; +0x6, 0x3b5c62\nLDR             R1, =(aDoYouWantToCgU - 0x3B5C72); \"Do you want to <cg>update</c> the level\"... ; +0x8, 0x3b5c64\nMOV             R5, R0                                                 ; +0xa, 0x3b5c66\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xc, 0x3b5c68\nLDR             R6, [R6]; __stack_chk_guard                            ; +0xe, 0x3b5c6a\nADD             R2, SP, #0x18+var_C                                    ; +0x10, 0x3b5c6c\nADD             R1, PC; \"Do you want to <cg>update</c> the level\"...   ; +0x12, 0x3b5c6e\nMOV             R0, R4; int                                            ; +0x14, 0x3b5c70\nLDR             R3, [R6]                                               ; +0x16, 0x3b5c72\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x3b5c74\nBL              sub_776584                                             ; +0x1a, 0x3b5c76\nLDR             R3, =(aUpdate - 0x3B5C88); \"Update\"                    ; +0x1e, 0x3b5c7a\nADD.W           R0, R5, #0x140; int                                    ; +0x20, 0x3b5c7c\nLDR             R1, =(aUpdateLevelDes - 0x3B5C8E); \"Update Level Desc\" ; +0x24, 0x3b5c80\nMOV             R2, R4; int                                            ; +0x26, 0x3b5c82\nADD             R3, PC; \"Update\"                                       ; +0x28, 0x3b5c84\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x2a, 0x3b5c86\nLDR             R3, flt_3B5CCC                                         ; +0x2c, 0x3b5c88\nADD             R1, PC; \"Update Level Desc\"                            ; +0x2e, 0x3b5c8a\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x30, 0x3b5c8c\nLDR             R3, =(aCancel - 0x3B5C94); \"Cancel\"                    ; +0x32, 0x3b5c8e\nADD             R3, PC; \"Cancel\"                                       ; +0x34, 0x3b5c90\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x36, 0x3b5c92\nMOV             R5, R0                                                 ; +0x3a, 0x3b5c96\nMOV             R0, R4                                                 ; +0x3c, 0x3b5c98\nBL              sub_774008                                             ; +0x3e, 0x3b5c9a\nLDR             R3, [R5]                                               ; +0x42, 0x3b5c9e\nMOV             R0, R5                                                 ; +0x44, 0x3b5ca0\nMOVS            R1, #9                                                 ; +0x46, 0x3b5ca2\nLDR             R3, [R3,#0x24]                                         ; +0x48, 0x3b5ca4\nBLX             R3                                                     ; +0x4a, 0x3b5ca6\nLDR             R3, [R5]                                               ; +0x4c, 0x3b5ca8\nMOV             R0, R5                                                 ; +0x4e, 0x3b5caa\nLDR.W           R3, [R3,#0x284]                                        ; +0x50, 0x3b5cac\nBLX             R3                                                     ; +0x54, 0x3b5cb0\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x56, 0x3b5cb2\nLDR             R3, [R6]                                               ; +0x58, 0x3b5cb4\nCMP             R2, R3                                                 ; +0x5a, 0x3b5cb6\nBEQ             loc_3B5CC8                                             ; +0x5c, 0x3b5cb8\nBLX             __stack_chk_fail                                       ; +0x5e, 0x3b5cba\nMOV             R0, R4                                                 ; +0x62, 0x3b5cbe\nBL              sub_774008                                             ; +0x64, 0x3b5cc0\nBL              __cxa_end_cleanup                                      ; +0x68, 0x3b5cc4\nADD             SP, SP, #0x18                                          ; +0x6c, 0x3b5cc8\nPOP             {R4-R6,PC}                                             ; +0x6e, 0x3b5cca", "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"}