{"type": "func", "start": 3844496, "end": 3844572, "name": "CreatorLayer::onAdventureMap", "pseudocode": "// \n// CreatorLayer::onAdventureMap from 0x3aa990 to 0x3aa9dc (76 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::dialogClosed @ 0x3aaf3c\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 CreatorLayer::onAdventureMap(CreatorLayer *a1, cocos2d::CCObject *a2)\n{\n  std::string v2; // r1\n  int v3; // r6\n  char v4; // [sp+8h] [bp-8h] BYREF\n\n  sub_776584((int)&v4, \"mapPromo.png\");\n  v3 = GJPromoPopup::create((GJPromoPopup *)&v4, v2);\n  sub_774008(&v4);\n  (*(void (__fastcall **)(int))(*(_DWORD *)v3 + 644))(v3);\n}", "assembly": "; \n; CreatorLayer::onAdventureMap from 0x3aa990 to 0x3aa9dc (76 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::dialogClosed @ 0x3aaf3c\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            {R0-R6,LR}                                             ; +0x0, 0x3aa990\nADD             R5, SP, #0x10+var_8                                    ; +0x2, 0x3aa992\nLDR             R4, =(__stack_chk_guard_ptr - 0x3AA9A0)                ; +0x4, 0x3aa994\nADD             R2, SP, #0x10+var_C                                    ; +0x6, 0x3aa996\nLDR             R1, =(aMappromoPng - 0x3AA9A4); \"mapPromo.png\"         ; +0x8, 0x3aa998\nMOV             R0, R5; int                                            ; +0xa, 0x3aa99a\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x3aa99c\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x3aa99e\nADD             R1, PC; \"mapPromo.png\"                                 ; +0x10, 0x3aa9a0\nLDR             R3, [R4]                                               ; +0x12, 0x3aa9a2\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x14, 0x3aa9a4\nBL              sub_776584                                             ; +0x16, 0x3aa9a6\nMOV             R0, R5                                                 ; +0x1a, 0x3aa9aa\nBL              _ZN12GJPromoPopup6createESs; GJPromoPopup::create(std::string) ; +0x1c, 0x3aa9ac\nMOV             R6, R0                                                 ; +0x20, 0x3aa9b0\nMOV             R0, R5                                                 ; +0x22, 0x3aa9b2\nBL              sub_774008                                             ; +0x24, 0x3aa9b4\nLDR             R3, [R6]                                               ; +0x28, 0x3aa9b8\nMOV             R0, R6                                                 ; +0x2a, 0x3aa9ba\nLDR.W           R3, [R3,#0x284]                                        ; +0x2c, 0x3aa9bc\nBLX             R3                                                     ; +0x30, 0x3aa9c0\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x32, 0x3aa9c2\nLDR             R3, [R4]                                               ; +0x34, 0x3aa9c4\nCMP             R2, R3                                                 ; +0x36, 0x3aa9c6\nBEQ             loc_3AA9D8                                             ; +0x38, 0x3aa9c8\nBLX             __stack_chk_fail                                       ; +0x3a, 0x3aa9ca\nMOV             R0, R5                                                 ; +0x3e, 0x3aa9ce\nBL              sub_774008                                             ; +0x40, 0x3aa9d0\nBL              __cxa_end_cleanup                                      ; +0x44, 0x3aa9d4\nADD             SP, SP, #0x10                                          ; +0x48, 0x3aa9d8\nPOP             {R4-R6,PC}                                             ; +0x4a, 0x3aa9da", "xrefs": ["CreatorLayer::dialogClosed @ 0x3aaf3c"], "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"}