{"type": "func", "start": 3890676, "end": 3890788, "name": "EditLevelLayer::confirmClone", "pseudocode": "// \n// EditLevelLayer::confirmClone from 0x3b5df4 to 0x3b5e64 (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::confirmClone(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, \"Create a <cl>copy</c> of this <cg>level</c>?\");\n  v3 = FLAlertLayer::create((int)&a1->FLAlertLayerProtocol, (int)\"Clone Level\", (int)v4, (int)\"NO\", (int)\"YES\", 300.0);\n  sub_774008(v4);\n  v3->setTag(v3, 7);\n  v3->show(v3);\n}", "assembly": "; \n; EditLevelLayer::confirmClone from 0x3b5df4 to 0x3b5e64 (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, 0x3b5df4\nSUB             SP, SP, #0x18                                          ; +0x2, 0x3b5df6\nLDR             R6, =(__stack_chk_guard_ptr - 0x3B5E04)                ; +0x4, 0x3b5df8\nADD             R4, SP, #0x18+var_8                                    ; +0x6, 0x3b5dfa\nLDR             R1, =(aCreateAClCopyC_0 - 0x3B5E0A); \"Create a <cl>copy</c> of this <cg>level\"... ; +0x8, 0x3b5dfc\nMOV             R5, R0                                                 ; +0xa, 0x3b5dfe\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xc, 0x3b5e00\nLDR             R6, [R6]; __stack_chk_guard                            ; +0xe, 0x3b5e02\nADD             R2, SP, #0x18+var_C                                    ; +0x10, 0x3b5e04\nADD             R1, PC; \"Create a <cl>copy</c> of this <cg>level\"...   ; +0x12, 0x3b5e06\nMOV             R0, R4; int                                            ; +0x14, 0x3b5e08\nLDR             R3, [R6]                                               ; +0x16, 0x3b5e0a\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x3b5e0c\nBL              sub_776584                                             ; +0x1a, 0x3b5e0e\nLDR             R3, =(aYes_0 - 0x3B5E20); \"YES\"                        ; +0x1e, 0x3b5e12\nADD.W           R0, R5, #0x140; int                                    ; +0x20, 0x3b5e14\nLDR             R1, =(aCloneLevel - 0x3B5E26); \"Clone Level\"           ; +0x24, 0x3b5e18\nMOV             R2, R4; int                                            ; +0x26, 0x3b5e1a\nADD             R3, PC; \"YES\"                                          ; +0x28, 0x3b5e1c\nSTR             R3, [SP,#0x18+var_18]; int                             ; +0x2a, 0x3b5e1e\nLDR             R3, flt_3B5E64                                         ; +0x2c, 0x3b5e20\nADD             R1, PC; \"Clone Level\"                                  ; +0x2e, 0x3b5e22\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x30, 0x3b5e24\nLDR             R3, =(aNo_0 - 0x3B5E2C); \"NO\"                          ; +0x32, 0x3b5e26\nADD             R3, PC; \"NO\"                                           ; +0x34, 0x3b5e28\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x36, 0x3b5e2a\nMOV             R5, R0                                                 ; +0x3a, 0x3b5e2e\nMOV             R0, R4                                                 ; +0x3c, 0x3b5e30\nBL              sub_774008                                             ; +0x3e, 0x3b5e32\nLDR             R3, [R5]                                               ; +0x42, 0x3b5e36\nMOV             R0, R5                                                 ; +0x44, 0x3b5e38\nMOVS            R1, #7                                                 ; +0x46, 0x3b5e3a\nLDR             R3, [R3,#0x24]                                         ; +0x48, 0x3b5e3c\nBLX             R3                                                     ; +0x4a, 0x3b5e3e\nLDR             R3, [R5]                                               ; +0x4c, 0x3b5e40\nMOV             R0, R5                                                 ; +0x4e, 0x3b5e42\nLDR.W           R3, [R3,#0x284]                                        ; +0x50, 0x3b5e44\nBLX             R3                                                     ; +0x54, 0x3b5e48\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x56, 0x3b5e4a\nLDR             R3, [R6]                                               ; +0x58, 0x3b5e4c\nCMP             R2, R3                                                 ; +0x5a, 0x3b5e4e\nBEQ             loc_3B5E60                                             ; +0x5c, 0x3b5e50\nBLX             __stack_chk_fail                                       ; +0x5e, 0x3b5e52\nMOV             R0, R4                                                 ; +0x62, 0x3b5e56\nBL              sub_774008                                             ; +0x64, 0x3b5e58\nBL              __cxa_end_cleanup                                      ; +0x68, 0x3b5e5c\nADD             SP, SP, #0x18                                          ; +0x6c, 0x3b5e60\nPOP             {R4-R6,PC}                                             ; +0x6e, 0x3b5e62", "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"}