{"type": "func", "start": 4297689248, "end": 4297689332, "name": "CreatorLayer::onAdventureMap", "pseudocode": "// \n// CreatorLayer::onAdventureMap from 0x1002988a0 to 0x1002988f4 (84 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::init @ 0x1002978f8\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 __fastcall CreatorLayer::onAdventureMap(CreatorLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v2; // rbx\n  char v3; // [rsp+0h] [rbp-20h] BYREF\n  void *v4[3]; // [rsp+1h] [rbp-1Fh] BYREF\n\n  v3 = 24;\n  strcpy((char *)v4, \"mapPromo.png\");\n  v2 = GJPromoPopup::create(&v3, a2);\n  if ( (v3 & 1) != 0 )\n    operator delete(*(void **)((char *)&v4[1] + 7));\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);\n}", "assembly": "; \n; CreatorLayer::onAdventureMap from 0x1002988a0 to 0x1002988f4 (84 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::init @ 0x1002978f8\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    rbp                                                            ; +0x0, 0x1002988a0\nmov     rbp, rsp                                                       ; +0x1, 0x1002988a1\npush    rbx                                                            ; +0x4, 0x1002988a4\nsub     rsp, 18h                                                       ; +0x5, 0x1002988a5\nmov     [rbp+var_20], 18h                                              ; +0x9, 0x1002988a9\nmov     rax, 6F6D6F725070616Dh                                         ; +0xd, 0x1002988ad\nmov     [rbp+var_1F], rax                                              ; +0x17, 0x1002988b7\nmov     dword ptr [rbp-17h], 676E702Eh                                 ; +0x1b, 0x1002988bb\nmov     byte ptr [rbp-13h], 0                                          ; +0x22, 0x1002988c2\nlea     rdi, [rbp+var_20]                                              ; +0x26, 0x1002988c6\ncall    GJPromoPopup__create                                           ; +0x2a, 0x1002988ca\nmov     rbx, rax                                                       ; +0x2f, 0x1002988cf\ntest    [rbp+var_20], 1                                                ; +0x32, 0x1002988d2\njz      short loc_1002988E1                                            ; +0x36, 0x1002988d6\nmov     rdi, [rbp+__p]; __p                                            ; +0x38, 0x1002988d8\ncall    __ZdlPv; operator delete(void *)                               ; +0x3c, 0x1002988dc\nmov     rax, [rbx]                                                     ; +0x41, 0x1002988e1\nmov     rdi, rbx                                                       ; +0x44, 0x1002988e4\ncall    qword ptr [rax+508h]                                           ; +0x47, 0x1002988e7\nadd     rsp, 18h                                                       ; +0x4d, 0x1002988ed\npop     rbx                                                            ; +0x51, 0x1002988f1\npop     rbp                                                            ; +0x52, 0x1002988f2\nretn                                                                   ; +0x53, 0x1002988f3", "xrefs": ["CreatorLayer::init @ 0x1002978f8"], "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"}