{"type": "func", "start": 4295381676, "end": 4295381924, "name": "GJMoreGamesLayer::customSetup", "pseudocode": "// \n// GJMoreGamesLayer::customSetup from 0x1000652ac to 0x1000653a4 (248 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100777838\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; // x0\n  CustomListView *v3; // x0\n  cocos2d::CCDirector *v4; // x0\n  cocos2d::CCLabelBMFont *v5; // x20\n  __n128 v6; // q0\n  __n128 v7; // q1\n  _DWORD v8[4]; // [xsp+0h] [xbp-20h] BYREF\n\n  MoreGamesList = GJMoreGamesLayer::getMoreGamesList(a1);\n  a1->m_moreGamesList = MoreGamesList;\n  cocos2d::CCObject::retain(MoreGamesList);\n  v3 = 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, v3, 6);\n  if ( !(unsigned int)sub_10024A36C(a1->m_moreGamesList) )\n  {\n    v4 = cocos2d::CCDirector::sharedDirector();\n    cocos2d::CCDirector::getWinSize(v4);\n    v5 = cocos2d::CCLabelBMFont::create_1(\"Nothing here yet... sorry :(\", \"bigFont.fnt\");\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v5->setScale)(v5, 0.6);\n    v6 = ((__n128 (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *, __int64))a1->m_mainLayer->addChild_0)(\n           a1->m_mainLayer,\n           v5,\n           10);\n    v6.n128_f32[0] = *(float *)&v8[2] * 0.5;\n    v7.n128_f32[0] = *(float *)&v8[3] * 0.5;\n    sub_100022980(v6, v7, v8);\n    ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _DWORD *))v5->setPosition)(v5, v8);\n  }\n}", "assembly": "; \n; GJMoreGamesLayer::customSetup from 0x1000652ac to 0x1000653a4 (248 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100777838\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x1000652ac\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1000652b0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1000652b4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1000652b8\nMOV             X19, X0                                                ; +0x10, 0x1000652bc\nBL              GJMoreGamesLayer__getMoreGamesList                     ; +0x14, 0x1000652c0\nSTR             X0, [X19,#0x260]                                       ; +0x18, 0x1000652c4\nBL              cocos2d__CCObject__retain                              ; +0x1c, 0x1000652c8\nLDR             X0, [X19,#0x260]                                       ; +0x20, 0x1000652cc\nMOV             W8, #0x435C0000                                        ; +0x24, 0x1000652d0\nFMOV            S0, W8                                                 ; +0x28, 0x1000652d4\nMOV             W8, #0x43B20000                                        ; +0x2c, 0x1000652d8\nFMOV            S1, W8                                                 ; +0x30, 0x1000652dc\nFMOV            S2, WZR                                                ; +0x34, 0x1000652e0\nMOV             X1, #0                                                 ; +0x38, 0x1000652e4\nMOV             W2, #0                                                 ; +0x3c, 0x1000652e8\nMOV             W3, #0xB                                               ; +0x40, 0x1000652ec\nBL              CustomListView__create                                 ; +0x44, 0x1000652f0\nMOV             X1, X0                                                 ; +0x48, 0x1000652f4\nLDR             X0, [X19,#0x238]                                       ; +0x4c, 0x1000652f8\nLDR             X8, [X0]                                               ; +0x50, 0x1000652fc\nLDR             X8, [X8,#0x1C0]                                        ; +0x54, 0x100065300\nMOV             W2, #6                                                 ; +0x58, 0x100065304\nBLR             X8                                                     ; +0x5c, 0x100065308\nLDR             X0, [X19,#0x260]                                       ; +0x60, 0x10006530c\nBL              sub_10024A36C                                          ; +0x64, 0x100065310\nCBNZ            W0, loc_100065394                                      ; +0x68, 0x100065314\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x6c, 0x100065318\nADD             X8, SP, #0x20+var_18                                   ; +0x70, 0x10006531c\nBL              cocos2d__CCDirector__getWinSize                        ; +0x74, 0x100065320\nADRL            X0, aNothingHereYet; \"Nothing here yet... sorry :(\"    ; +0x78, 0x100065324\nADRL            X1, aBigfontFnt; \"bigFont.fnt\"                         ; +0x80, 0x10006532c\nBL              cocos2d__CCLabelBMFont__create_1                       ; +0x88, 0x100065334\nMOV             X20, X0                                                ; +0x8c, 0x100065338\nLDR             X8, [X0]                                               ; +0x90, 0x10006533c\nLDR             X8, [X8,#0xA0]                                         ; +0x94, 0x100065340\nADRP            X9, #dword_10063533C@PAGE                              ; +0x98, 0x100065344\nLDR             S0, [X9,#dword_10063533C@PAGEOFF]                      ; +0x9c, 0x100065348\nBLR             X8                                                     ; +0xa0, 0x10006534c\nLDR             X0, [X19,#0x240]                                       ; +0xa4, 0x100065350\nLDR             X8, [X0]                                               ; +0xa8, 0x100065354\nLDR             X8, [X8,#0x1C0]                                        ; +0xac, 0x100065358\nMOV             X1, X20                                                ; +0xb0, 0x10006535c\nMOV             W2, #0xA                                               ; +0xb4, 0x100065360\nBLR             X8                                                     ; +0xb8, 0x100065364\nFMOV            S1, #0.5                                               ; +0xbc, 0x100065368\nLDP             S0, S2, [SP,#0x20+var_18]                              ; +0xc0, 0x10006536c\nFMUL            S0, S0, S1                                             ; +0xc4, 0x100065370\nFMUL            S1, S2, S1                                             ; +0xc8, 0x100065374\nMOV             X0, SP                                                 ; +0xcc, 0x100065378\nBL              sub_100022980                                          ; +0xd0, 0x10006537c\nLDR             X8, [X20]                                              ; +0xd4, 0x100065380\nLDR             X8, [X8,#0xB8]                                         ; +0xd8, 0x100065384\nMOV             X1, SP                                                 ; +0xdc, 0x100065388\nMOV             X0, X20                                                ; +0xe0, 0x10006538c\nBLR             X8                                                     ; +0xe4, 0x100065390\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xe8, 0x100065394\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xec, 0x100065398\nADD             SP, SP, #0x30 ; '0'                                    ; +0xf0, 0x10006539c\nRET                                                                    ; +0xf4, 0x1000653a0", "xrefs": ["<???> @ 0x100777838"], "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"}