{"type": "func", "start": 4297518224, "end": 4297518332, "name": "LoadingLayer::updateProgress", "pseudocode": "// \n// LoadingLayer::updateProgress from 0x10026ec90 to 0x10026ecfc (108 bytes)\n// \n// 2 xrefs:\n// > LoadingLayer::init @ 0x10026eb8c\n// > LoadingLayer::loadAssets @ 0x10026edb4\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\n__int64 __fastcall LoadingLayer::updateProgress(__int64 a1, int a2)\n{\n  float v2; // s0\n  float v3; // s2\n  __int64 v4; // x19\n  float v6[4]; // [xsp+0h] [xbp-20h] BYREF\n\n  v2 = *(float *)(a1 + 440);\n  if ( v2 <= (float)((float)((float)a2 / 100.0) * v2) )\n    v3 = *(float *)(a1 + 440);\n  else\n    v3 = (float)((float)a2 / 100.0) * v2;\n  v4 = *(_QWORD *)(a1 + 432);\n  sub_1000262CC(v6, 0.0, 0.0, v3, *(float *)(a1 + 444));\n  return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 1136LL))(v4, v6);\n}", "assembly": "; \n; LoadingLayer::updateProgress from 0x10026ec90 to 0x10026ecfc (108 bytes)\n; \n; 2 xrefs:\n; > LoadingLayer::init @ 0x10026eb8c\n; > LoadingLayer::loadAssets @ 0x10026edb4\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; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x10026ec90\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10026ec94\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10026ec98\nADD             X29, SP, #0x20                                         ; +0xc, 0x10026ec9c\nLDR             S0, [X0,#0x1B8]                                        ; +0x10, 0x10026eca0\nSCVTF           S1, W1                                                 ; +0x14, 0x10026eca4\nMOV             W8, #0x42C80000                                        ; +0x18, 0x10026eca8\nFMOV            S2, W8                                                 ; +0x1c, 0x10026ecac\nFDIV            S1, S1, S2                                             ; +0x20, 0x10026ecb0\nFMUL            S1, S1, S0                                             ; +0x24, 0x10026ecb4\nFCMP            S0, S1                                                 ; +0x28, 0x10026ecb8\nFCSEL           S2, S1, S0, GT                                         ; +0x2c, 0x10026ecbc\nLDR             X19, [X0,#0x1B0]                                       ; +0x30, 0x10026ecc0\nLDR             S3, [X0,#0x1BC]                                        ; +0x34, 0x10026ecc4\nMOV             X0, SP                                                 ; +0x38, 0x10026ecc8\nFMOV            S0, WZR                                                ; +0x3c, 0x10026eccc\nFMOV            S1, WZR                                                ; +0x40, 0x10026ecd0\nBL              sub_1000262CC                                          ; +0x44, 0x10026ecd4\nLDR             X8, [X19]                                              ; +0x48, 0x10026ecd8\nLDR             X8, [X8,#0x470]                                        ; +0x4c, 0x10026ecdc\nMOV             X1, SP                                                 ; +0x50, 0x10026ece0\nMOV             X0, X19                                                ; +0x54, 0x10026ece4\nBLR             X8                                                     ; +0x58, 0x10026ece8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x5c, 0x10026ecec\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x60, 0x10026ecf0\nADD             SP, SP, #0x30 ; '0'                                    ; +0x64, 0x10026ecf4\nRET                                                                    ; +0x68, 0x10026ecf8", "xrefs": ["LoadingLayer::init @ 0x10026eb8c", "LoadingLayer::loadAssets @ 0x10026edb4"], "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"}