{"type": "func", "start": 5685792, "end": 5686216, "name": "BoomListView::init", "pseudocode": "// \n// BoomListView::init from 0x56c220 to 0x56c3c8 (424 bytes)\n// \n// 3 xrefs:\n// > BoomListView::create @ 0x56c49c\n// > CustomListView::create @ 0x60d054\n// > <???> @ 0xa2f78\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// local variable allocation has failed, the output may be wrong!\nbool BoomListView::init(BoomListView *a1, cocos2d::CCArray *a2, BoomListType a3, float a4, float a5)\n{\n  int v5; // w3\n  BoomListType v6; // w4\n  float v7; // s2\n  int v8; // w25\n  float v12; // s8\n  BoomListType v13; // w24\n  _BOOL8 v14; // x0\n  bool v15; // w23\n  cocos2d::CCArray *v16; // x1\n  cocos2d::CCObject *v17; // x2\n  void (__fastcall *setTouchEnabled)(cocos2d::CCLayer *__hidden, bool); // x3\n  TableView *v19; // x0\n  cocos2d::CCObject *v22; // [xsp+60h] [xbp+60h]\n  cocos2d::CCRect *v23; // [xsp+68h] [xbp+68h]\n  cocos2d::CCSize v24; // [xsp+70h] [xbp+70h] BYREF\n  cocos2d::CCRect v25; // [xsp+78h] [xbp+78h] BYREF\n  cocos2d::CCRect v26; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4\n\n  v8 = v5;\n  v23 = *(cocos2d::CCRect **)&a3;\n  v12 = v7;\n  v13 = v6;\n  v14 = cocos2d::CCLayer::init(a1);\n  v15 = v14;\n  if ( v14 )\n  {\n    v16 = a2;\n    v17 = (cocos2d::CCObject *)v23;\n    if ( !a2 )\n    {\n      v16 = (cocos2d::CCArray *)cocos2d::CCArray::create((cocos2d::CCArray *)v14);\n      v17 = (cocos2d::CCObject *)v23;\n    }\n    a1->m_entries = v16;\n    v22 = v17;\n    cocos2d::CCObject::retain(v16);\n    a1->m_currentPage = v8;\n    setTouchEnabled = a1->setTouchEnabled;\n    a1->m_height = a4;\n    a1->m_width = a5;\n    setTouchEnabled(a1, 1);\n    cocos2d::CCSize::CCSize(&v24, a1->m_width, a1->m_height);\n    a1->setContentSize(a1, &v24);\n    cocos2d::CCRect::CCRect(&v25, 0.0, 0.0, v24.width, v24.height);\n    v19 = TableView::create(&a1->TableViewDelegate, &a1->TableViewDataSource, (TableViewCellDelegate *)v22, v26);\n    a1->m_tableView = v19;\n    a1->addChild(a1, v19);\n    a1->m_type = v13;\n    a1->setupList(a1, v12);\n    if ( (float)((float)(unsigned int)cocos2d::CCArray::count(a1->m_entries) * a1->m_itemSeparation) < a1->m_height )\n      BoomListView::lockList(a1, 1);\n  }\n  return v15;\n}", "assembly": "; \n; BoomListView::init from 0x56c220 to 0x56c3c8 (424 bytes)\n; \n; 3 xrefs:\n; > BoomListView::create @ 0x56c49c\n; > CustomListView::create @ 0x60d054\n; > <???> @ 0xa2f78\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_90]!                                ; +0x0, 0x56c220\nMOV             X29, SP                                                ; +0x4, 0x56c224\nSTP             X19, X20, [SP,#0x90+var_80]                            ; +0x8, 0x56c228\nSTP             D8, D9, [SP,#0x90+var_48]                              ; +0xc, 0x56c22c\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x56c230\nSTR             X25, [SP,#0x90+var_50]                                 ; +0x14, 0x56c234\nMOV             W25, W3                                                ; +0x18, 0x56c238\nMOV             X19, X0                                                ; +0x1c, 0x56c23c\nSTR             D10, [SP,#0x90+var_38]                                 ; +0x20, 0x56c240\nSTR             X1, [X29,#0x90+var_30]                                 ; +0x24, 0x56c244\nLDR             X3, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x56c248\nFMOV            S10, S0                                                ; +0x2c, 0x56c24c\nSTR             X2, [X29,#0x90+var_28]                                 ; +0x30, 0x56c250\nFMOV            S9, S1                                                 ; +0x34, 0x56c254\nFMOV            S8, S2                                                 ; +0x38, 0x56c258\nSTP             X23, X24, [SP,#0x90+var_60]                            ; +0x3c, 0x56c25c\nMOV             W24, W4                                                ; +0x40, 0x56c260\nLDR             X4, [X3]                                               ; +0x44, 0x56c264\nSTP             X21, X22, [SP,#0x90+var_70]                            ; +0x48, 0x56c268\nSTR             X4, [X29,#0x90+var_8]                                  ; +0x4c, 0x56c26c\nBL              _ZN7cocos2d7CCLayer4initEv; cocos2d::CCLayer::init(void) ; +0x50, 0x56c270\nUXTB            W0, W0; this                                           ; +0x54, 0x56c274\nMOV             W23, W0                                                ; +0x58, 0x56c278\nCBZ             W0, loc_56C36C                                         ; +0x5c, 0x56c27c\nLDR             X1, [X29,#0x90+var_30]                                 ; +0x60, 0x56c280\nLDR             X2, [X29,#0x90+var_28]                                 ; +0x64, 0x56c284\nCBZ             X1, loc_56C3B4                                         ; +0x68, 0x56c288\nMOV             X0, X1; this                                           ; +0x6c, 0x56c28c\nSTR             X1, [X19,#0x1B0]                                       ; +0x70, 0x56c290\nSTR             X2, [X29,#0x90+var_30]                                 ; +0x74, 0x56c294\nADD             X22, X29, #0x90+var_20                                 ; +0x78, 0x56c298\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x7c, 0x56c29c\nSTR             W25, [X19,#0x1C8]                                      ; +0x80, 0x56c2a0\nLDR             X3, [X19]                                              ; +0x84, 0x56c2a4\nMOV             W1, #1                                                 ; +0x88, 0x56c2a8\nMOV             X0, X19                                                ; +0x8c, 0x56c2ac\nADD             X21, X29, #0x90+var_18                                 ; +0x90, 0x56c2b0\nLDR             X3, [X3,#0x3D8]                                        ; +0x94, 0x56c2b4\nSTR             S10, [X19,#0x1BC]                                      ; +0x98, 0x56c2b8\nSTR             S9, [X19,#0x1C0]                                       ; +0x9c, 0x56c2bc\nBLR             X3                                                     ; +0xa0, 0x56c2c0\nSTR             X22, [X29,#0x90+var_28]                                ; +0xa4, 0x56c2c4\nLDR             S0, [X19,#0x1C0]; float                                ; +0xa8, 0x56c2c8\nMOV             X0, X22; this                                          ; +0xac, 0x56c2cc\nLDR             S1, [X19,#0x1BC]; float                                ; +0xb0, 0x56c2d0\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0xb4, 0x56c2d4\nLDR             X3, [X19]                                              ; +0xb8, 0x56c2d8\nMOV             X0, X19                                                ; +0xbc, 0x56c2dc\nLDR             X1, [X29,#0x90+var_28]                                 ; +0xc0, 0x56c2e0\nLDR             X3, [X3,#0x130]                                        ; +0xc4, 0x56c2e4\nBLR             X3                                                     ; +0xc8, 0x56c2e8\nSTR             X21, [X29,#0x90+var_28]                                ; +0xcc, 0x56c2ec\nFMOV            S0, WZR; float                                         ; +0xd0, 0x56c2f0\nMOV             X0, X21; this                                          ; +0xd4, 0x56c2f4\nLDR             S2, [X29,#0x90+var_20]; float                          ; +0xd8, 0x56c2f8\nLDR             S3, [X29,#0x90+var_1C]; float                          ; +0xdc, 0x56c2fc\nFMOV            S1, S0; float                                          ; +0xe0, 0x56c300\nBL              _ZN7cocos2d6CCRectC2Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xe4, 0x56c304\nLDR             X3, [X29,#0x90+var_28]; cocos2d::CCRect *              ; +0xe8, 0x56c308\nADD             X1, X19, #0x1A0; int                                   ; +0xec, 0x56c30c\nLDR             X2, [X29,#0x90+var_30]; int                            ; +0xf0, 0x56c310\nADD             X0, X19, #0x198; int                                   ; +0xf4, 0x56c314\nBL              _ZN9TableView6createEP17TableViewDelegateP19TableViewDataSourceP21TableViewCellDelegateN7cocos2d6CCRectE; TableView::create(TableViewDelegate *,TableViewDataSource *,TableViewCellDelegate *,cocos2d::CCRect) ; +0xf8, 0x56c318\nSTR             X0, [X19,#0x1A8]                                       ; +0xfc, 0x56c31c\nLDR             X2, [X19]                                              ; +0x100, 0x56c320\nMOV             X1, X0                                                 ; +0x104, 0x56c324\nMOV             X0, X19                                                ; +0x108, 0x56c328\nLDR             X2, [X2,#0x1B8]                                        ; +0x10c, 0x56c32c\nBLR             X2                                                     ; +0x110, 0x56c330\nSTR             W24, [X19,#0x1B8]                                      ; +0x114, 0x56c334\nLDR             X1, [X19]                                              ; +0x118, 0x56c338\nMOV             X0, X19                                                ; +0x11c, 0x56c33c\nFMOV            S0, S8                                                 ; +0x120, 0x56c340\nLDR             X1, [X1,#0x470]                                        ; +0x124, 0x56c344\nBLR             X1                                                     ; +0x128, 0x56c348\nLDR             X0, [X19,#0x1B0]; this                                 ; +0x12c, 0x56c34c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x130, 0x56c350\nUCVTF           S0, W0                                                 ; +0x134, 0x56c354\nLDR             S2, [X19,#0x1C4]                                       ; +0x138, 0x56c358\nLDR             S1, [X19,#0x1BC]                                       ; +0x13c, 0x56c35c\nFMUL            S0, S0, S2                                             ; +0x140, 0x56c360\nFCMPE           S0, S1                                                 ; +0x144, 0x56c364\nB.MI            loc_56C3A4                                             ; +0x148, 0x56c368\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x14c, 0x56c36c\nMOV             W0, W23                                                ; +0x150, 0x56c370\nLDR             X2, [X29,#0x90+var_8]                                  ; +0x154, 0x56c374\nLDR             X1, [X20]                                              ; +0x158, 0x56c378\nCMP             X2, X1                                                 ; +0x15c, 0x56c37c\nB.NE            loc_56C3C4                                             ; +0x160, 0x56c380\nLDP             X19, X20, [SP,#0x90+var_80]                            ; +0x164, 0x56c384\nLDP             D8, D9, [SP,#0x90+var_48]                              ; +0x168, 0x56c388\nLDP             X21, X22, [SP,#0x90+var_70]                            ; +0x16c, 0x56c38c\nLDP             X23, X24, [SP,#0x90+var_60]                            ; +0x170, 0x56c390\nLDR             X25, [SP,#0x90+var_50]                                 ; +0x174, 0x56c394\nLDR             D10, [SP,#0x90+var_38]                                 ; +0x178, 0x56c398\nLDP             X29, X30, [SP+0x90+var_90],#0x90                       ; +0x17c, 0x56c39c\nRET                                                                    ; +0x180, 0x56c3a0\nMOV             X0, X19; this                                          ; +0x184, 0x56c3a4\nMOV             W1, #1; bool                                           ; +0x188, 0x56c3a8\nBL              _ZN12BoomListView8lockListEb; BoomListView::lockList(bool) ; +0x18c, 0x56c3ac\nB               loc_56C36C                                             ; +0x190, 0x56c3b0\nBL              _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x194, 0x56c3b4\nMOV             X1, X0                                                 ; +0x198, 0x56c3b8\nLDR             X2, [X29,#0x90+var_28]                                 ; +0x19c, 0x56c3bc\nB               loc_56C28C                                             ; +0x1a0, 0x56c3c0\nBL              .__stack_chk_fail                                      ; +0x1a4, 0x56c3c4", "xrefs": ["BoomListView::create @ 0x56c49c", "CustomListView::create @ 0x60d054", "<???> @ 0xa2f78"], "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"}