{"type": "func", "start": 4298491264, "end": 4298491340, "name": "AchievementsLayer::create", "pseudocode": "// \n// AchievementsLayer::create from 0x10035c580 to 0x10035c5cc (76 bytes)\n// \n// 1 xrefs:\n// > MenuLayer::onAchievements @ 0x10037c3aa\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:28:54 +0000\n// \n\nvoid *AchievementsLayer::create()\n{\n  void *v0; // rbx\n\n  v0 = operator new(0x280u);\n  AchievementsLayer::AchievementsLayer(v0);\n  if ( (unsigned __int8)GJDropDownLayer::init_1(v0, \"Achievements\") )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; AchievementsLayer::create from 0x10035c580 to 0x10035c5cc (76 bytes)\n; \n; 1 xrefs:\n; > MenuLayer::onAchievements @ 0x10037c3aa\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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 12:28:54 +0000\n; \npush    rbp                                                            ; +0x0, 0x10035c580\nmov     rbp, rsp                                                       ; +0x1, 0x10035c581\npush    r14                                                            ; +0x4, 0x10035c584\npush    rbx                                                            ; +0x6, 0x10035c586\nmov     edi, 280h; __sz                                                ; +0x7, 0x10035c587\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10035c58c\nmov     rbx, rax                                                       ; +0x11, 0x10035c591\nmov     rdi, rax                                                       ; +0x14, 0x10035c594\ncall    AchievementsLayer__AchievementsLayer                           ; +0x17, 0x10035c597\nlea     rsi, aAchievements; \"Achievements\"                             ; +0x1c, 0x10035c59c\nmov     rdi, rbx                                                       ; +0x23, 0x10035c5a3\ncall    GJDropDownLayer__init_1                                        ; +0x26, 0x10035c5a6\ntest    al, al                                                         ; +0x2b, 0x10035c5ab\njz      short loc_10035C5B9                                            ; +0x2d, 0x10035c5ad\nmov     rdi, rbx                                                       ; +0x2f, 0x10035c5af\ncall    cocos2d__CCObject__autorelease                                 ; +0x32, 0x10035c5b2\njmp     short loc_10035C5C4                                            ; +0x37, 0x10035c5b7\nmov     rax, [rbx]                                                     ; +0x39, 0x10035c5b9\nmov     rdi, rbx                                                       ; +0x3c, 0x10035c5bc\ncall    qword ptr [rax+10h]                                            ; +0x3f, 0x10035c5bf\nxor     ebx, ebx                                                       ; +0x42, 0x10035c5c2\nmov     rax, rbx                                                       ; +0x44, 0x10035c5c4\npop     rbx                                                            ; +0x47, 0x10035c5c7\npop     r14                                                            ; +0x48, 0x10035c5c8\npop     rbp                                                            ; +0x4a, 0x10035c5ca\nretn                                                                   ; +0x4b, 0x10035c5cb", "xrefs": ["MenuLayer::onAchievements @ 0x10037c3aa"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}