{"type": "func", "start": 4302918896, "end": 4302919155, "name": "GJMoreGamesLayer::customSetup", "pseudocode": "// \n// GJMoreGamesLayer::customSetup from 0x1007954f0 to 0x1007955f3 (259 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10098cbd0\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 GJMoreGamesLayer::customSetup(GJMoreGamesLayer *a1)\n{\n  cocos2d::CCArray *MoreGamesList; // rax\n  CustomListView *v2; // rax\n  cocos2d::CCLabelBMFont *v3; // r14\n  float v4; // [rsp+0h] [rbp-20h] BYREF\n  float v5[6]; // [rsp+8h] [rbp-18h] BYREF\n\n  MoreGamesList = GJMoreGamesLayer::getMoreGamesList(a1);\n  a1->m_moreGamesList = MoreGamesList;\n  cocos2d::CCObject::retain(MoreGamesList);\n  v2 = CustomListView::create(a1->m_moreGamesList, nullptr, 220.0, 356.0, 0, List|0x1, 0.0);\n  ((void (__fastcall *)(GJListLayer *, CustomListView *, __int64))a1->m_listLayer->addChild_0)(a1->m_listLayer, v2, 6);\n  if ( !(unsigned int)sub_100720070((__int64)a1->m_moreGamesList) )\n  {\n    cocos2d::CCDirector::sharedDirector();\n    cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v5);\n    v3 = cocos2d::CCLabelBMFont::create_3(\"Nothing here yet... sorry :(\", \"bigFont.fnt\");\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v3->setScale)(v3, 0.60000002);\n    ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *, __int64))a1->m_mainLayer->addChild_0)(\n      a1->m_mainLayer,\n      v3,\n      10);\n    sub_10028CBE0(&v4, v5[0] * 0.5, 0.5 * v5[1]);\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float *))v3->setPosition)(v3, &v4);\n  }\n}", "assembly": "; \n; GJMoreGamesLayer::customSetup from 0x1007954f0 to 0x1007955f3 (259 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10098cbd0\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, 0x1007954f0\nmov     rbp, rsp                                                       ; +0x1, 0x1007954f1\npush    r14                                                            ; +0x4, 0x1007954f4\npush    rbx                                                            ; +0x6, 0x1007954f6\nsub     rsp, 10h                                                       ; +0x7, 0x1007954f7\nmov     rbx, rdi                                                       ; +0xb, 0x1007954fb\ncall    GJMoreGamesLayer__getMoreGamesList                             ; +0xe, 0x1007954fe\nmov     [rbx+260h], rax                                                ; +0x13, 0x100795503\nmov     rdi, rax                                                       ; +0x1a, 0x10079550a\ncall    cocos2d__CCObject__retain                                      ; +0x1d, 0x10079550d\nmov     rdi, [rbx+260h]                                                ; +0x22, 0x100795512\nmovss   xmm0, cs:dword_100815BB0                                       ; +0x29, 0x100795519\nmovss   xmm1, cs:dword_100815BB4                                       ; +0x31, 0x100795521\nxorps   xmm2, xmm2                                                     ; +0x39, 0x100795529\nxor     esi, esi                                                       ; +0x3c, 0x10079552c\nxor     edx, edx                                                       ; +0x3e, 0x10079552e\nmov     ecx, 0Bh                                                       ; +0x40, 0x100795530\ncall    CustomListView__create                                         ; +0x45, 0x100795535\nmov     rdi, [rbx+238h]                                                ; +0x4a, 0x10079553a\nmov     rcx, [rdi]                                                     ; +0x51, 0x100795541\nmov     rsi, rax                                                       ; +0x54, 0x100795544\nmov     edx, 6                                                         ; +0x57, 0x100795547\ncall    qword ptr [rcx+1C0h]                                           ; +0x5c, 0x10079554c\nmov     rdi, [rbx+260h]                                                ; +0x62, 0x100795552\ncall    sub_100720070                                                  ; +0x69, 0x100795559\ntest    eax, eax                                                       ; +0x6e, 0x10079555e\njnz     loc_1007955EA                                                  ; +0x70, 0x100795560\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x76, 0x100795566\nlea     rdi, [rbp+var_18]                                              ; +0x7b, 0x10079556b\nmov     rsi, rax                                                       ; +0x7f, 0x10079556f\ncall    cocos2d__CCDirector__getWinSize                                ; +0x82, 0x100795572\nlea     rdi, aNothingHereYet; \"Nothing here yet... sorry :(\"           ; +0x87, 0x100795577\nlea     rsi, aBigfontFnt; \"bigFont.fnt\"                                ; +0x8e, 0x10079557e\ncall    cocos2d__CCLabelBMFont__create_3                               ; +0x95, 0x100795585\nmov     r14, rax                                                       ; +0x9a, 0x10079558a\nmov     rax, [rax]                                                     ; +0x9d, 0x10079558d\nmovss   xmm0, cs:dword_100814FB0                                       ; +0xa0, 0x100795590\nmov     rdi, r14                                                       ; +0xa8, 0x100795598\ncall    qword ptr [rax+0A0h]                                           ; +0xab, 0x10079559b\nmov     rdi, [rbx+240h]                                                ; +0xb1, 0x1007955a1\nmov     rax, [rdi]                                                     ; +0xb8, 0x1007955a8\nmov     rsi, r14                                                       ; +0xbb, 0x1007955ab\nmov     edx, 0Ah                                                       ; +0xbe, 0x1007955ae\ncall    qword ptr [rax+1C0h]                                           ; +0xc3, 0x1007955b3\nmovss   xmm1, cs:dword_100814FA8                                       ; +0xc9, 0x1007955b9\nmovss   xmm0, [rbp+var_18]                                             ; +0xd1, 0x1007955c1\nmulss   xmm0, xmm1                                                     ; +0xd6, 0x1007955c6\nmulss   xmm1, [rbp+var_14]                                             ; +0xda, 0x1007955ca\nlea     rbx, [rbp+var_20]                                              ; +0xdf, 0x1007955cf\nmov     rdi, rbx                                                       ; +0xe3, 0x1007955d3\ncall    sub_10028CBE0                                                  ; +0xe6, 0x1007955d6\nmov     rax, [r14]                                                     ; +0xeb, 0x1007955db\nmov     rdi, r14                                                       ; +0xee, 0x1007955de\nmov     rsi, rbx                                                       ; +0xf1, 0x1007955e1\ncall    qword ptr [rax+0B8h]                                           ; +0xf4, 0x1007955e4\nadd     rsp, 10h                                                       ; +0xfa, 0x1007955ea\npop     rbx                                                            ; +0xfe, 0x1007955ee\npop     r14                                                            ; +0xff, 0x1007955ef\npop     rbp                                                            ; +0x101, 0x1007955f1\nretn                                                                   ; +0x102, 0x1007955f2", "xrefs": ["<???> @ 0x10098cbd0"], "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"}