{"type": "func", "start": 6852364, "end": 6852608, "name": "BoomListView::loadCell", "pseudocode": "// \n// BoomListView::loadCell from 0x688f0c to 0x689000 (244 bytes)\n// \n// 3 xrefs:\n// > CustomListView::loadCell @ 0x74d0c0\n// > <???> @ 0x7fe40\n// > <???> @ 0x1411d30\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:50:32 +0000\n// \n\n__int64 __fastcall BoomListView::loadCell(BoomListView *this, TableViewCell *a2, unsigned int a3)\n{\n  bool v4; // zf\n  cocos2d::CCArray *v5; // x0\n  cocos2d::CCObject *v6; // x0\n  cocos2d::CCString *v8; // x0\n  const char *CString; // x0\n  size_t v10; // x0\n  char *v11; // [xsp+38h] [xbp+38h]\n  __int64 v12[2]; // [xsp+40h] [xbp+40h] BYREF\n  void *v13; // [xsp+50h] [xbp+50h]\n\n  v4 = *((_DWORD *)this + 110) == 10;\n  v5 = *((cocos2d::CCArray **)this + 54);\n  if ( v4 )\n  {\n    v8 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v5, a3);\n    CString = (const char *)cocos2d::CCString::getCString(v8);\n    v12[0] = 0;\n    v11 = (char *)CString;\n    v12[1] = 0;\n    v13 = nullptr;\n    v10 = strlen(CString);\n    std::string::__init(v12, v11, v10);\n    GameCell::loadFromString((__int64)a2, (__int64)v12);\n    if ( (v12[0] & 1) != 0 )\n      operator delete(v13);\n  }\n  else\n  {\n    v6 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(v5, a3);\n    ListCell::loadFromObject(a2, v6);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; BoomListView::loadCell from 0x688f0c to 0x689000 (244 bytes)\n; \n; 3 xrefs:\n; > CustomListView::loadCell @ 0x74d0c0\n; > <???> @ 0x7fe40\n; > <???> @ 0x1411d30\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:50:32 +0000\n; \nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0x688f0c\nMOV             W4, W2                                                 ; +0x4, 0x688f10\nMOV             X29, SP                                                ; +0x8, 0x688f14\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0xc, 0x688f18\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x688f1c\nMOV             X20, X0                                                ; +0x14, 0x688f20\nSTR             X21, [SP,#0x60+var_40]                                 ; +0x18, 0x688f24\nMOV             X21, X1                                                ; +0x1c, 0x688f28\nLDR             X0, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x688f2c\nLDR             W1, [X20,#0x1B8]                                       ; +0x24, 0x688f30\nLDR             X0, [X0]                                               ; +0x28, 0x688f34\nCMP             W1, #0xA                                               ; +0x2c, 0x688f38\nSTR             X0, [X29,#0x60+var_8]                                  ; +0x30, 0x688f3c\nMOV             W1, W2; unsigned int                                   ; +0x34, 0x688f40\nLDR             X0, [X20,#0x1B0]; this                                 ; +0x38, 0x688f44\nB.EQ            loc_688F90                                             ; +0x3c, 0x688f48\nSTR             X4, [X29,#0x60+var_28]                                 ; +0x40, 0x688f4c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0x688f50\nLDR             X4, [X29,#0x60+var_28]; int                            ; +0x48, 0x688f54\nMOV             X1, X0; cocos2d::CCObject *                            ; +0x4c, 0x688f58\nLDR             W3, [X20,#0x1C8]; int                                  ; +0x50, 0x688f5c\nMOV             X0, X21; this                                          ; +0x54, 0x688f60\nADD             W2, W4, #1; int                                        ; +0x58, 0x688f64\nBL              _ZN8ListCell14loadFromObjectEPN7cocos2d8CCObjectEiii; ListCell::loadFromObject(cocos2d::CCObject *,int,int,int) ; +0x5c, 0x688f68\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x60, 0x688f6c\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x64, 0x688f70\nLDR             X0, [X19]                                              ; +0x68, 0x688f74\nCMP             X1, X0                                                 ; +0x6c, 0x688f78\nB.NE            loc_688FE0                                             ; +0x70, 0x688f7c\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x74, 0x688f80\nLDR             X21, [SP,#0x60+var_40]                                 ; +0x78, 0x688f84\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x7c, 0x688f88\nRET                                                                    ; +0x80, 0x688f8c\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x84, 0x688f90\nADD             X20, X29, #0x60+var_20                                 ; +0x88, 0x688f94\nBL              _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x8c, 0x688f98\nSTR             XZR, [X29,#0x60+var_20]                                ; +0x90, 0x688f9c\nSTR             X0, [X29,#0x60+var_28]                                 ; +0x94, 0x688fa0\nSTR             XZR, [X29,#0x60+var_18]                                ; +0x98, 0x688fa4\nSTR             XZR, [X29,#0x60+var_10]                                ; +0x9c, 0x688fa8\nBL              .strlen                                                ; +0xa0, 0x688fac\nLDR             X1, [X29,#0x60+var_28]                                 ; +0xa4, 0x688fb0\nMOV             X2, X0                                                 ; +0xa8, 0x688fb4\nMOV             X0, X20                                                ; +0xac, 0x688fb8\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm; std::string::__init(char const*,ulong) ; +0xb0, 0x688fbc\nMOV             X0, X21                                                ; +0xb4, 0x688fc0\nMOV             X1, X20                                                ; +0xb8, 0x688fc4\nBL              _ZN8GameCell14loadFromStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; GameCell::loadFromString(std::string) ; +0xbc, 0x688fc8\nLDRB            W0, [X29,#0x60+var_20]                                 ; +0xc0, 0x688fcc\nTBZ             W0, #0, loc_688F6C                                     ; +0xc4, 0x688fd0\nLDR             X0, [X29,#0x60+var_10]; void *                         ; +0xc8, 0x688fd4\nBL              _ZdlPv; operator delete(void *)                        ; +0xcc, 0x688fd8\nB               loc_688F6C                                             ; +0xd0, 0x688fdc\nBL              .__stack_chk_fail                                      ; +0xd4, 0x688fe0\nLDRB            W1, [X29,#0x60+var_20]                                 ; +0xd8, 0x688fe4\nMOV             X19, X0                                                ; +0xdc, 0x688fe8\nTBZ             W1, #0, loc_688FF8                                     ; +0xe0, 0x688fec\nLDR             X0, [X29,#0x60+var_10]; void *                         ; +0xe4, 0x688ff0\nBL              _ZdlPv; operator delete(void *)                        ; +0xe8, 0x688ff4\nMOV             X0, X19                                                ; +0xec, 0x688ff8\nBL              _Unwind_Resume                                         ; +0xf0, 0x688ffc", "xrefs": ["CustomListView::loadCell @ 0x74d0c0", "<???> @ 0x7fe40", "<???> @ 0x1411d30"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}