{"type": "func", "start": 4302916880, "end": 4302917248, "name": "GJMoreGamesLayer::create", "pseudocode": "// \n// GJMoreGamesLayer::create from 0x100794d10 to 0x100794e80 (368 bytes)\n// \n// 3 xrefs:\n// > MenuLayer::onMoreGames @ 0x1003918ea\n// > WorldSelectLayer::onFreeLevels @ 0x1003c3781\n// > LevelPage::onMoreGames @ 0x100436701\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\nGJMoreGamesLayer *__fastcall GJMoreGamesLayer::create()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0x268u);\n  cocos2d::CCLayerColor::CCLayerColor((__int64)v0);\n  *(_QWORD *)v0 = off_100978158;\n  *((_QWORD *)v0 + 40) = off_1009786C0;\n  *((_QWORD *)v0 + 41) = &off_100978730;\n  *((_QWORD *)v0 + 42) = off_100978748;\n  *((_QWORD *)v0 + 43) = off_100978768;\n  *((_QWORD *)v0 + 44) = off_100978788;\n  *((_QWORD *)v0 + 51) = off_1009787B0;\n  *((_QWORD *)v0 + 54) = off_100978830;\n  sub_10028CC30((_QWORD *)v0 + 68);\n  sub_10028CC30((_QWORD *)v0 + 69);\n  *((_QWORD *)v0 + 74) = 0;\n  v0[600] = 0;\n  *((_OWORD *)v0 + 35) = 0;\n  *(_OWORD *)(v0 + 569) = 0;\n  *(_QWORD *)v0 = off_10098C6C8;\n  *((_QWORD *)v0 + 40) = off_10098CC30;\n  *((_QWORD *)v0 + 41) = &off_10098CCA0;\n  *((_QWORD *)v0 + 42) = off_10098CCB8;\n  *((_QWORD *)v0 + 43) = off_10098CCD8;\n  *((_QWORD *)v0 + 44) = off_10098CCF8;\n  *((_QWORD *)v0 + 51) = off_10098CD20;\n  *((_QWORD *)v0 + 54) = off_10098CDA0;\n  *((_QWORD *)v0 + 76) = 0;\n  if ( GJDropDownLayer::init_1((GJDropDownLayer *)v0, \"RobTop Games\") )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return (GJMoreGamesLayer *)v0;\n}", "assembly": "; \n; GJMoreGamesLayer::create from 0x100794d10 to 0x100794e80 (368 bytes)\n; \n; 3 xrefs:\n; > MenuLayer::onMoreGames @ 0x1003918ea\n; > WorldSelectLayer::onFreeLevels @ 0x1003c3781\n; > LevelPage::onMoreGames @ 0x100436701\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, 0x100794d10\nmov     rbp, rsp                                                       ; +0x1, 0x100794d11\npush    r14                                                            ; +0x4, 0x100794d14\npush    rbx                                                            ; +0x6, 0x100794d16\nmov     edi, 268h; __sz                                                ; +0x7, 0x100794d17\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x100794d1c\nmov     rbx, rax                                                       ; +0x11, 0x100794d21\nmov     rdi, rax                                                       ; +0x14, 0x100794d24\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x17, 0x100794d27\nlea     rax, _ZTV15GJDropDownLayer; `vtable for'GJDropDownLayer        ; +0x1c, 0x100794d2c\nlea     rcx, [rax+10h]                                                 ; +0x23, 0x100794d33\nmov     [rbx], rcx                                                     ; +0x27, 0x100794d37\nlea     rcx, [rax+578h]                                                ; +0x2a, 0x100794d3a\nmov     [rbx+140h], rcx                                                ; +0x31, 0x100794d41\nlea     rcx, [rax+5E8h]                                                ; +0x38, 0x100794d48\nmov     [rbx+148h], rcx                                                ; +0x3f, 0x100794d4f\nlea     rcx, [rax+600h]                                                ; +0x46, 0x100794d56\nmov     [rbx+150h], rcx                                                ; +0x4d, 0x100794d5d\nlea     rcx, [rax+620h]                                                ; +0x54, 0x100794d64\nmov     [rbx+158h], rcx                                                ; +0x5b, 0x100794d6b\nlea     rcx, [rax+640h]                                                ; +0x62, 0x100794d72\nmov     [rbx+160h], rcx                                                ; +0x69, 0x100794d79\nlea     rcx, [rax+668h]                                                ; +0x70, 0x100794d80\nmov     [rbx+198h], rcx                                                ; +0x77, 0x100794d87\nadd     rax, 6E8h                                                      ; +0x7e, 0x100794d8e\nmov     [rbx+1B0h], rax                                                ; +0x84, 0x100794d94\nlea     rdi, [rbx+220h]                                                ; +0x8b, 0x100794d9b\ncall    sub_10028CC30                                                  ; +0x92, 0x100794da2\nmov     rdi, rbx                                                       ; +0x97, 0x100794da7\nadd     rdi, 228h                                                      ; +0x9a, 0x100794daa\ncall    sub_10028CC30                                                  ; +0xa1, 0x100794db1\nmov     qword ptr [rbx+250h], 0                                        ; +0xa6, 0x100794db6\nmov     byte ptr [rbx+258h], 0                                         ; +0xb1, 0x100794dc1\nxorps   xmm0, xmm0                                                     ; +0xb8, 0x100794dc8\nmovups  xmmword ptr [rbx+230h], xmm0                                   ; +0xbb, 0x100794dcb\nmovups  xmmword ptr [rbx+239h], xmm0                                   ; +0xc2, 0x100794dd2\nlea     rax, off_10098C6C8                                             ; +0xc9, 0x100794dd9\nmov     [rbx], rax                                                     ; +0xd0, 0x100794de0\nlea     rax, off_10098CC30                                             ; +0xd3, 0x100794de3\nmov     [rbx+140h], rax                                                ; +0xda, 0x100794dea\nlea     rax, off_10098CCA0                                             ; +0xe1, 0x100794df1\nmov     [rbx+148h], rax                                                ; +0xe8, 0x100794df8\nlea     rax, off_10098CCB8                                             ; +0xef, 0x100794dff\nmov     [rbx+150h], rax                                                ; +0xf6, 0x100794e06\nlea     rax, off_10098CCD8                                             ; +0xfd, 0x100794e0d\nmov     [rbx+158h], rax                                                ; +0x104, 0x100794e14\nlea     rax, off_10098CCF8                                             ; +0x10b, 0x100794e1b\nmov     [rbx+160h], rax                                                ; +0x112, 0x100794e22\nlea     rax, off_10098CD20                                             ; +0x119, 0x100794e29\nmov     [rbx+198h], rax                                                ; +0x120, 0x100794e30\nlea     rax, off_10098CDA0                                             ; +0x127, 0x100794e37\nmov     [rbx+1B0h], rax                                                ; +0x12e, 0x100794e3e\nmov     qword ptr [rbx+260h], 0                                        ; +0x135, 0x100794e45\nlea     rsi, aRobtopGames; \"RobTop Games\"                              ; +0x140, 0x100794e50\nmov     rdi, rbx                                                       ; +0x147, 0x100794e57\ncall    GJDropDownLayer__init_1                                        ; +0x14a, 0x100794e5a\ntest    al, al                                                         ; +0x14f, 0x100794e5f\njz      short loc_100794E6D                                            ; +0x151, 0x100794e61\nmov     rdi, rbx                                                       ; +0x153, 0x100794e63\ncall    cocos2d__CCObject__autorelease                                 ; +0x156, 0x100794e66\njmp     short loc_100794E78                                            ; +0x15b, 0x100794e6b\nmov     rax, [rbx]                                                     ; +0x15d, 0x100794e6d\nmov     rdi, rbx                                                       ; +0x160, 0x100794e70\ncall    qword ptr [rax+10h]                                            ; +0x163, 0x100794e73\nxor     ebx, ebx                                                       ; +0x166, 0x100794e76\nmov     rax, rbx                                                       ; +0x168, 0x100794e78\npop     rbx                                                            ; +0x16b, 0x100794e7b\npop     r14                                                            ; +0x16c, 0x100794e7c\npop     rbp                                                            ; +0x16e, 0x100794e7e\nretn                                                                   ; +0x16f, 0x100794e7f", "xrefs": ["MenuLayer::onMoreGames @ 0x1003918ea", "WorldSelectLayer::onFreeLevels @ 0x1003c3781", "LevelPage::onMoreGames @ 0x100436701"], "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"}