{"type": "func", "start": 4798884, "end": 4798968, "name": "CreatorLayer::onAdventureMap", "pseudocode": "// \n// CreatorLayer::onAdventureMap from 0x4939a4 to 0x4939f8 (84 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::dialogClosed @ 0x493a4c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:49:39 +0000\n// \n\nint __fastcall CreatorLayer::onAdventureMap(CreatorLayer *this, cocos2d::CCObject *a2, int a3, int a4)\n{\n  int v4; // r6\n  int v6[4]; // [sp+0h] [bp-10h] BYREF\n\n  v6[3] = a4;\n  memset(v6, 0, 12);\n  std::string::__init(v6, \"mapPromo.png\", 0xCu);\n  v4 = GJPromoPopup::create(v6);\n  std::string::~string((int)v6);\n  return (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 656))(v4);\n}", "assembly": "; \n; CreatorLayer::onAdventureMap from 0x4939a4 to 0x4939f8 (84 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::dialogClosed @ 0x493a4c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:49:39 +0000\n; \nPUSH            {R0-R6,LR}                                             ; +0x0, 0x4939a4\nMOVS            R2, #0xC                                               ; +0x2, 0x4939a6\nLDR             R4, =(__stack_chk_guard_ptr - 0x4939B4)                ; +0x4, 0x4939a8\nMOV             R0, SP                                                 ; +0x6, 0x4939aa\nLDR             R1, =(aMappromoPng - 0x4939B8); \"mapPromo.png\"         ; +0x8, 0x4939ac\nMOV             R5, SP                                                 ; +0xa, 0x4939ae\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x4939b0\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x4939b2\nADD             R1, PC; \"mapPromo.png\"                                 ; +0x10, 0x4939b4\nLDR             R3, [R4]                                               ; +0x12, 0x4939b6\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x14, 0x4939b8\nMOVS            R3, #0                                                 ; +0x16, 0x4939ba\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x18, 0x4939bc\nSTR             R3, [SP,#0x10+var_C]                                   ; +0x1a, 0x4939be\nSTR             R3, [SP,#0x10+var_8]                                   ; +0x1c, 0x4939c0\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x1e, 0x4939c2\nMOV             R0, SP                                                 ; +0x22, 0x4939c6\nBL              _ZN12GJPromoPopup6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; GJPromoPopup::create(std::string) ; +0x24, 0x4939c8\nMOV             R6, R0                                                 ; +0x28, 0x4939cc\nMOV             R0, SP                                                 ; +0x2a, 0x4939ce\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x2c, 0x4939d0\nLDR             R3, [R6]                                               ; +0x30, 0x4939d4\nMOV             R0, R6                                                 ; +0x32, 0x4939d6\nLDR.W           R3, [R3,#0x290]                                        ; +0x34, 0x4939d8\nBLX             R3                                                     ; +0x38, 0x4939dc\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x3a, 0x4939de\nLDR             R3, [R4]                                               ; +0x3c, 0x4939e0\nCMP             R2, R3                                                 ; +0x3e, 0x4939e2\nBEQ             loc_4939F4                                             ; +0x40, 0x4939e4\nBLX             __stack_chk_fail                                       ; +0x42, 0x4939e6\nMOV             R0, R5                                                 ; +0x46, 0x4939ea\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x48, 0x4939ec\nBL              __cxa_end_cleanup                                      ; +0x4c, 0x4939f0\nADD             SP, SP, #0x10                                          ; +0x50, 0x4939f4\nPOP             {R4-R6,PC}                                             ; +0x52, 0x4939f6", "xrefs": ["CreatorLayer::dialogClosed @ 0x493a4c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}