{"type": "func", "start": 4297518112, "end": 4297518224, "name": "LoadingLayer::getLoadingString", "pseudocode": "// \n// LoadingLayer::getLoadingString from 0x10026ec20 to 0x10026ec90 (112 bytes)\n// \n// 2 xrefs:\n// > LoadingLayer::init @ 0x10026e85c\n// > LoadingLayer::init @ 0x10026e8f0\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 11:01:45 +0000\n// \n\nconst char *__fastcall LoadingLayer::getLoadingString(__int64 a1)\n{\n  int v2; // w0\n  unsigned int v3; // w8\n\n  if ( (*(_BYTE *)(a1 + 448) & 1) != 0 )\n    return \"Loading resources\";\n  v2 = rand();\n  v3 = ~(100 * (v2 / 100)) + v2;\n  if ( v3 > 0x62 )\n    return \"Unlock new icons and colors by completing achievements!\";\n  else\n    return off_100916FC0[v3];\n}", "assembly": "; \n; LoadingLayer::getLoadingString from 0x10026ec20 to 0x10026ec90 (112 bytes)\n; \n; 2 xrefs:\n; > LoadingLayer::init @ 0x10026e85c\n; > LoadingLayer::init @ 0x10026e8f0\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 11:01:45 +0000\n; \nLDRB            W8, [X0,#0x1C0]                                        ; +0x0, 0x10026ec20\nTBZ             W8, #0, loc_10026EC34                                  ; +0x4, 0x10026ec24\nADRL            X0, aLoadingResourc; \"Loading resources\"               ; +0x8, 0x10026ec28\nRET                                                                    ; +0x10, 0x10026ec30\nSTP             X29, X30, [SP,#var_10]!                                ; +0x14, 0x10026ec34\nMOV             X29, SP                                                ; +0x18, 0x10026ec38\nBL              _rand                                                  ; +0x1c, 0x10026ec3c\nMOV             W8, #0x51EB851F                                        ; +0x20, 0x10026ec40\nSMULL           X8, W0, W8                                             ; +0x28, 0x10026ec48\nLSR             X9, X8, #0x3F ; '?'                                    ; +0x2c, 0x10026ec4c\nASR             X8, X8, #0x25 ; '%'                                    ; +0x30, 0x10026ec50\nADD             W8, W8, W9                                             ; +0x34, 0x10026ec54\nMOV             W9, #0x64 ; 'd'                                        ; +0x38, 0x10026ec58\nMUL             W8, W8, W9                                             ; +0x3c, 0x10026ec5c\nMVN             W8, W8                                                 ; +0x40, 0x10026ec60\nADD             W8, W8, W0                                             ; +0x44, 0x10026ec64\nCMP             W8, #0x62 ; 'b'                                        ; +0x48, 0x10026ec68\nLDP             X29, X30, [SP+0x10+var_10],#0x10                       ; +0x4c, 0x10026ec6c\nB.HI            loc_10026EC84                                          ; +0x50, 0x10026ec70\nADRL            X9, off_100916FC0; \"Listen to the music to help time your j\"... ; +0x54, 0x10026ec74\nLDR             X0, [X9,W8,UXTW#3]                                     ; +0x5c, 0x10026ec7c\nRET                                                                    ; +0x60, 0x10026ec80\nADRL            X0, aUnlockNewIcons; \"Unlock new icons and colors by completi\"... ; +0x64, 0x10026ec84\nRET                                                                    ; +0x6c, 0x10026ec8c", "xrefs": ["LoadingLayer::init @ 0x10026e85c", "LoadingLayer::init @ 0x10026e8f0"], "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"}