{"type": "func", "start": 4296245704, "end": 4296245824, "name": "ArtistCell::onNewgrounds", "pseudocode": "// \n// ArtistCell::onNewgrounds from 0x1001381c8 to 0x100138240 (120 bytes)\n// \n// 1 xrefs:\n// > ArtistCell::loadFromObject @ 0x10012aa50\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 10:59:27 +0000\n// \n\nvoid __fastcall ArtistCell::onNewgrounds(__int64 a1)\n{\n  __int64 v2; // x20\n  void **v3; // x1\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  if ( *(_QWORD *)(a1 + 552) )\n  {\n    v2 = cocos2d::CCApplication::sharedApplication();\n    sub_10013825C(__p, *(_QWORD *)(a1 + 552), 2);\n    if ( v5 >= 0 )\n      v3 = __p;\n    else\n      v3 = (void **)__p[0];\n    (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v2 + 104LL))(v2, v3);\n    if ( v5 < 0 )\n      operator delete(__p[0]);\n  }\n}", "assembly": "; \n; ArtistCell::onNewgrounds from 0x1001381c8 to 0x100138240 (120 bytes)\n; \n; 1 xrefs:\n; > ArtistCell::loadFromObject @ 0x10012aa50\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 10:59:27 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1001381c8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001381cc\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001381d0\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001381d4\nLDR             X8, [X0,#0x228]                                        ; +0x10, 0x1001381d8\nCBZ             X8, loc_100138230                                      ; +0x14, 0x1001381dc\nMOV             X19, X0                                                ; +0x18, 0x1001381e0\nBL              cocos2d__CCApplication__sharedApplication              ; +0x1c, 0x1001381e4\nMOV             X20, X0                                                ; +0x20, 0x1001381e8\nLDR             X0, [X19,#0x228]                                       ; +0x24, 0x1001381ec\nADD             X19, SP, #0x30+__p                                     ; +0x28, 0x1001381f0\nADD             X8, SP, #0x30+__p                                      ; +0x2c, 0x1001381f4\nMOV             W1, #2                                                 ; +0x30, 0x1001381f8\nBL              sub_10013825C                                          ; +0x34, 0x1001381fc\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x38, 0x100138200\nLDR             X9, [SP,#0x30+__p]                                     ; +0x3c, 0x100138204\nCMP             W8, #0                                                 ; +0x40, 0x100138208\nCSEL            X1, X9, X19, LT                                        ; +0x44, 0x10013820c\nLDR             X8, [X20]                                              ; +0x48, 0x100138210\nLDR             X8, [X8,#0x68]                                         ; +0x4c, 0x100138214\nMOV             X0, X20                                                ; +0x50, 0x100138218\nBLR             X8                                                     ; +0x54, 0x10013821c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x58, 0x100138220\nTBZ             W8, #0x1F, loc_100138230                               ; +0x5c, 0x100138224\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x60, 0x100138228\nBL              __ZdlPv; operator delete(void *)                       ; +0x64, 0x10013822c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x68, 0x100138230\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x6c, 0x100138234\nADD             SP, SP, #0x40 ; '@'                                    ; +0x70, 0x100138238\nRET                                                                    ; +0x74, 0x10013823c", "xrefs": ["ArtistCell::loadFromObject @ 0x10012aa50"], "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"}