{"type": "func", "start": 8232424, "end": 8232720, "name": "GJMoreGamesLayer::customSetup", "pseudocode": "// \n// GJMoreGamesLayer::customSetup from 0x7d9de8 to 0x7d9f10 (296 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0xbf070\n// > <???> @ 0x1180308\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 GJMoreGamesLayer::customSetup(GJMoreGamesLayer *a1)\n{\n  cocos2d::CCArray *MoreGamesList; // x0\n  CustomListView *v3; // x0\n  cocos2d::CCDirector *v4; // x0\n  cocos2d::CCLabelBMFont *v5; // x22\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x19\n  float v7; // [xsp+48h] [xbp+48h]\n  float v8; // [xsp+4Ch] [xbp+4Ch]\n  cocos2d::CCPoint v9; // [xsp+50h] [xbp+50h] BYREF\n\n  MoreGamesList = GJMoreGamesLayer::getMoreGamesList(a1);\n  a1->m_moreGamesList = MoreGamesList;\n  cocos2d::CCObject::retain(MoreGamesList);\n  v3 = CustomListView::create(a1->m_moreGamesList, (BoomListType)0, 220.0, 356.0);\n  a1->m_listLayer->addChild_0(a1->m_listLayer, v3, 6);\n  if ( !(unsigned int)cocos2d::CCArray::count(a1->m_moreGamesList) )\n  {\n    v4 = cocos2d::CCDirector::sharedDirector();\n    cocos2d::CCDirector::getWinSize(v4);\n    v5 = cocos2d::CCLabelBMFont::create();\n    v5->setScale(v5, 0.6);\n    a1->m_mainLayer->addChild_0(a1->m_mainLayer, v5, 10);\n    setPosition = v5->setPosition;\n    cocos2d::CCPoint::CCPoint(&v9, v7 * 0.5, v8 * 0.5);\n    setPosition(v5, &v9);\n  }\n}", "assembly": "; \n; GJMoreGamesLayer::customSetup from 0x7d9de8 to 0x7d9f10 (296 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0xbf070\n; > <???> @ 0x1180308\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\nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0x7d9de8\nMOV             X29, SP                                                ; +0x4, 0x7d9dec\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0x7d9df0\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x7d9df4\nMOV             X19, X0                                                ; +0x10, 0x7d9df8\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x14, 0x7d9dfc\nLDR             X1, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x7d9e00\nLDR             X1, [X1]                                               ; +0x1c, 0x7d9e04\nSTR             X1, [X29,#0x60+var_8]                                  ; +0x20, 0x7d9e08\nBL              _ZN16GJMoreGamesLayer16getMoreGamesListEv; GJMoreGamesLayer::getMoreGamesList(void) ; +0x24, 0x7d9e0c\nSTR             X0, [X19,#0x260]                                       ; +0x28, 0x7d9e10\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x2c, 0x7d9e14\nLDR             S0, =0x435C0000                                        ; +0x30, 0x7d9e18\nLDR             X0, [X19,#0x260]                                       ; +0x34, 0x7d9e1c\nLDR             S1, =0x43B20000                                        ; +0x38, 0x7d9e20\nMOV             X1, #0                                                 ; +0x3c, 0x7d9e24\nFMOV            S2, WZR                                                ; +0x40, 0x7d9e28\nMOV             W2, #0                                                 ; +0x44, 0x7d9e2c\nMOV             W3, #0xB                                               ; +0x48, 0x7d9e30\nBL              _ZN14CustomListView6createEPN7cocos2d7CCArrayEP21TableViewCellDelegateffi12BoomListTypef; CustomListView::create(cocos2d::CCArray *,TableViewCellDelegate *,float,float,int,BoomListType,float) ; +0x4c, 0x7d9e34\nMOV             X1, X0                                                 ; +0x50, 0x7d9e38\nLDR             X3, [X19,#0x238]                                       ; +0x54, 0x7d9e3c\nMOV             W2, #6                                                 ; +0x58, 0x7d9e40\nMOV             X0, X3                                                 ; +0x5c, 0x7d9e44\nLDR             X3, [X3]                                               ; +0x60, 0x7d9e48\nLDR             X3, [X3,#0x1C0]                                        ; +0x64, 0x7d9e4c\nBLR             X3                                                     ; +0x68, 0x7d9e50\nLDR             X0, [X19,#0x260]; this                                 ; +0x6c, 0x7d9e54\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x70, 0x7d9e58\nCBNZ            W0, loc_7D9EE8                                         ; +0x74, 0x7d9e5c\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x78, 0x7d9e60\nADD             X21, X29, #0x60+var_10                                 ; +0x7c, 0x7d9e64\nADD             X8, X29, #0x60+var_18                                  ; +0x80, 0x7d9e68\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x84, 0x7d9e6c\nADRP            X0, #aNothingHereYet@PAGE; \"Nothing here yet... sorry :(\" ; +0x88, 0x7d9e70\nADRL            X1, aBigfontFnt; \"bigFont.fnt\"                         ; +0x8c, 0x7d9e74\nADD             X0, X0, #aNothingHereYet@PAGEOFF; \"Nothing here yet... sorry :(\" ; +0x94, 0x7d9e7c\nBL              _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x98, 0x7d9e80\nLDR             X1, [X0]                                               ; +0x9c, 0x7d9e84\nLDR             S0, =0x3F19999A                                        ; +0xa0, 0x7d9e88\nMOV             X22, X0                                                ; +0xa4, 0x7d9e8c\nLDR             X1, [X1,#0xA0]                                         ; +0xa8, 0x7d9e90\nBLR             X1                                                     ; +0xac, 0x7d9e94\nLDR             X3, [X19,#0x240]                                       ; +0xb0, 0x7d9e98\nMOV             X1, X22                                                ; +0xb4, 0x7d9e9c\nMOV             W2, #0xA                                               ; +0xb8, 0x7d9ea0\nMOV             X0, X3                                                 ; +0xbc, 0x7d9ea4\nLDR             X3, [X3]                                               ; +0xc0, 0x7d9ea8\nLDR             X3, [X3,#0x1C0]                                        ; +0xc4, 0x7d9eac\nBLR             X3                                                     ; +0xc8, 0x7d9eb0\nSTR             X21, [X29,#0x60+var_28]                                ; +0xcc, 0x7d9eb4\nFMOV            S1, #0.5                                               ; +0xd0, 0x7d9eb8\nLDR             X2, [X22]                                              ; +0xd4, 0x7d9ebc\nLDR             S0, [X29,#0x60+var_18]                                 ; +0xd8, 0x7d9ec0\nMOV             X0, X21; this                                          ; +0xdc, 0x7d9ec4\nLDR             S2, [X29,#0x60+var_14]                                 ; +0xe0, 0x7d9ec8\nFMUL            S0, S0, S1; float                                      ; +0xe4, 0x7d9ecc\nLDR             X19, [X2,#0xB8]                                        ; +0xe8, 0x7d9ed0\nFMUL            S1, S2, S1; float                                      ; +0xec, 0x7d9ed4\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xf0, 0x7d9ed8\nLDR             X1, [X29,#0x60+var_28]                                 ; +0xf4, 0x7d9edc\nMOV             X0, X22                                                ; +0xf8, 0x7d9ee0\nBLR             X19                                                    ; +0xfc, 0x7d9ee4\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x100, 0x7d9ee8\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x104, 0x7d9eec\nLDR             X0, [X20]                                              ; +0x108, 0x7d9ef0\nCMP             X1, X0                                                 ; +0x10c, 0x7d9ef4\nB.NE            loc_7D9F0C                                             ; +0x110, 0x7d9ef8\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x114, 0x7d9efc\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0x118, 0x7d9f00\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x11c, 0x7d9f04\nRET                                                                    ; +0x120, 0x7d9f08\nBL              .__stack_chk_fail                                      ; +0x124, 0x7d9f0c", "xrefs": ["<???> @ 0xbf070", "<???> @ 0x1180308"], "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"}