{"type": "func", "start": 5371330368, "end": 5371330587, "name": "GJMoreGamesLayer::create", "pseudocode": "// \n// GJMoreGamesLayer::create from 0x14027ff40 to 0x14028001b (219 bytes)\n// \n// 2 xrefs:\n// > MenuLayer::onMoreGames @ 0x1403357e4\n// > <???> @ 0x1406d13b8\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\n// Hidden C++ exception states: #wind=1\nGJMoreGamesLayer *GJMoreGamesLayer::create()\n{\n  GJMoreGamesLayer *v0; // rbx\n\n  v0 = (GJMoreGamesLayer *)operator new(0x268u);\n  GJDropDownLayer::GJDropDownLayer(v0);\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJMoreGamesLayer_vtbl *)&GJMoreGamesLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&GJMoreGamesLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&GJMoreGamesLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&GJMoreGamesLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&GJMoreGamesLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&GJMoreGamesLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&GJMoreGamesLayer::`vftable';\n  v0->GJDropDownLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&GJMoreGamesLayer::`vftable';\n  v0->m_moreGamesList = nullptr;\n  if ( GJDropDownLayer::init(v0, \"RobTop Games\", 220.0, 0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n    return v0;\n  }\n  else\n  {\n    ((void (__fastcall *)(GJMoreGamesLayer *, __int64))v0->~GJMoreGamesLayer)(v0, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJMoreGamesLayer::create from 0x14027ff40 to 0x14028001b (219 bytes)\n; \n; 2 xrefs:\n; > MenuLayer::onMoreGames @ 0x1403357e4\n; > <???> @ 0x1406d13b8\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    rbx                                                            ; +0x0, 0x14027ff40\nsub     rsp, 20h                                                       ; +0x2, 0x14027ff42\nmov     ecx, 268h; Size                                                ; +0x6, 0x14027ff46\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x14027ff4b\nmov     rbx, rax                                                       ; +0x10, 0x14027ff50\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x14027ff53\nmov     rcx, rax                                                       ; +0x18, 0x14027ff58\ncall    GJDropDownLayer__GJDropDownLayer                               ; +0x1b, 0x14027ff5b\nlea     rax, ??_7GJMoreGamesLayer@@6B@; const GJMoreGamesLayer::`vftable' ; +0x20, 0x14027ff60\nmov     [rbx], rax                                                     ; +0x27, 0x14027ff67\nlea     rax, ??_7GJMoreGamesLayer@@6B@_0; const GJMoreGamesLayer::`vftable' ; +0x2a, 0x14027ff6a\nmov     [rbx+140h], rax                                                ; +0x31, 0x14027ff71\nlea     rax, ??_7GJMoreGamesLayer@@6B@_1; const GJMoreGamesLayer::`vftable' ; +0x38, 0x14027ff78\nmov     [rbx+148h], rax                                                ; +0x3f, 0x14027ff7f\nlea     rax, ??_7GJMoreGamesLayer@@6B@_2; const GJMoreGamesLayer::`vftable' ; +0x46, 0x14027ff86\nmov     [rbx+150h], rax                                                ; +0x4d, 0x14027ff8d\nlea     rax, ??_7GJMoreGamesLayer@@6B@_3; const GJMoreGamesLayer::`vftable' ; +0x54, 0x14027ff94\nmov     [rbx+158h], rax                                                ; +0x5b, 0x14027ff9b\nlea     rax, ??_7GJMoreGamesLayer@@6B@_4; const GJMoreGamesLayer::`vftable' ; +0x62, 0x14027ffa2\nmov     [rbx+160h], rax                                                ; +0x69, 0x14027ffa9\nlea     rax, ??_7GJMoreGamesLayer@@6B@_5; const GJMoreGamesLayer::`vftable' ; +0x70, 0x14027ffb0\nmov     [rbx+198h], rax                                                ; +0x77, 0x14027ffb7\nlea     rax, ??_7GJMoreGamesLayer@@6B@_6; const GJMoreGamesLayer::`vftable' ; +0x7e, 0x14027ffbe\nmov     [rbx+1B0h], rax                                                ; +0x85, 0x14027ffc5\nmov     qword ptr [rbx+260h], 0                                        ; +0x8c, 0x14027ffcc\nxor     r9d, r9d                                                       ; +0x97, 0x14027ffd7\nmovss   xmm2, cs:dword_1406233F4                                       ; +0x9a, 0x14027ffda\nlea     rdx, aRobtopGames; \"RobTop Games\"                              ; +0xa2, 0x14027ffe2\nmov     rcx, rbx                                                       ; +0xa9, 0x14027ffe9\ncall    GJDropDownLayer__init                                          ; +0xac, 0x14027ffec\nmov     rcx, rbx                                                       ; +0xb1, 0x14027fff1\ntest    al, al                                                         ; +0xb4, 0x14027fff4\njz      short loc_140280007                                            ; +0xb6, 0x14027fff6\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xb8, 0x14027fff8\nmov     rax, rbx                                                       ; +0xbe, 0x14027fffe\nadd     rsp, 20h                                                       ; +0xc1, 0x140280001\npop     rbx                                                            ; +0xc5, 0x140280005\nretn                                                                   ; +0xc6, 0x140280006\nmov     r8, [rbx]                                                      ; +0xc7, 0x140280007\nmov     edx, 1                                                         ; +0xca, 0x14028000a\ncall    qword ptr [r8+8]                                               ; +0xcf, 0x14028000f\nxor     eax, eax                                                       ; +0xd3, 0x140280013\nadd     rsp, 20h                                                       ; +0xd5, 0x140280015\npop     rbx                                                            ; +0xd9, 0x140280019\nretn                                                                   ; +0xda, 0x14028001a", "xrefs": ["MenuLayer::onMoreGames @ 0x1403357e4", "<???> @ 0x1406d13b8"], "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"}