{"type": "func", "start": 4295150100, "end": 4295150452, "name": "LevelInfoLayer::addProgressBar", "pseudocode": "// \n// LevelInfoLayer::addProgressBar from 0x10002ca14 to 0x10002cb74 (352 bytes)\n// \n// 3 xrefs:\n// > LevelInfoLayer::setupPlatformerStats @ 0x10002b2d8\n// > LevelInfoLayer::setupProgressBars @ 0x10002b708\n// > LevelInfoLayer::setupProgressBars @ 0x10002b86c\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:57:29 +0000\n// \n\n__int64 __fastcall LevelInfoLayer::addProgressBar(\n        __int64 a1,\n        float32x2_t *a2,\n        __int64 a3,\n        int a4,\n        __int64 a5,\n        __int64 a6)\n{\n  __int64 ProgressBar; // x19\n  __int64 v11; // x23\n  __int64 v12; // x22\n  double v13; // d0\n  float32x2_t v15; // [xsp+0h] [xbp-50h] BYREF\n  float32x2_t v16; // [xsp+8h] [xbp-48h] BYREF\n\n  ProgressBar = GameToolbox::createProgressBar(a3, *(_QWORD *)&a4 & 0xFFFFFFLL, 0.7);\n  (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, ProgressBar, 3);\n  (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)ProgressBar + 184LL))(ProgressBar, a2);\n  v11 = cocos2d::CCLabelBMFont::create_1(a6, \"bigFont.fnt\");\n  (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v11, 4);\n  (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v11 + 184LL))(v11, a2);\n  (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v11 + 160LL))(v11, 0.4);\n  v12 = cocos2d::CCLabelBMFont::create_1(a5, \"bigFont.fnt\");\n  (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v12, 4);\n  sub_1000262BC((float *)&v15, 0.0, 15.0);\n  *(float32x2_t *)&v13 = sub_100026318(a2, &v15, &v16);\n  (*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v12 + 184LL))(v12, &v16, v13);\n  (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v12 + 160LL))(v12, 0.4);\n  return ProgressBar;\n}", "assembly": "; \n; LevelInfoLayer::addProgressBar from 0x10002ca14 to 0x10002cb74 (352 bytes)\n; \n; 3 xrefs:\n; > LevelInfoLayer::setupPlatformerStats @ 0x10002b2d8\n; > LevelInfoLayer::setupProgressBars @ 0x10002b708\n; > LevelInfoLayer::setupProgressBars @ 0x10002b86c\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:57:29 +0000\n; \nSUB             SP, SP, #0x60                                          ; +0x0, 0x10002ca14\nSTP             D9, D8, [SP,#0x50+var_40]                              ; +0x4, 0x10002ca18\nSTP             X24, X23, [SP,#0x50+var_30]                            ; +0x8, 0x10002ca1c\nSTP             X22, X21, [SP,#0x50+var_20]                            ; +0xc, 0x10002ca20\nSTP             X20, X19, [SP,#0x50+var_10]                            ; +0x10, 0x10002ca24\nSTP             X29, X30, [SP,#0x50+var_s0]                            ; +0x14, 0x10002ca28\nADD             X29, SP, #0x50                                         ; +0x18, 0x10002ca2c\nMOV             X23, X5                                                ; +0x1c, 0x10002ca30\nMOV             X22, X4                                                ; +0x20, 0x10002ca34\nMOV             X20, X1                                                ; +0x24, 0x10002ca38\nMOV             X21, X0                                                ; +0x28, 0x10002ca3c\nADRP            X8, #dword_10075BD20@PAGE                              ; +0x2c, 0x10002ca40\nLDR             S0, [X8,#dword_10075BD20@PAGEOFF]                      ; +0x30, 0x10002ca44\nAND             X1, X3, #0xFFFFFF                                      ; +0x34, 0x10002ca48\nMOV             X0, X2                                                 ; +0x38, 0x10002ca4c\nBL              GameToolbox__createProgressBar                         ; +0x3c, 0x10002ca50\nMOV             X19, X0                                                ; +0x40, 0x10002ca54\nLDR             X8, [X21]                                              ; +0x44, 0x10002ca58\nLDR             X8, [X8,#0x1D0]                                        ; +0x48, 0x10002ca5c\nMOV             X0, X21                                                ; +0x4c, 0x10002ca60\nMOV             X1, X19                                                ; +0x50, 0x10002ca64\nMOV             W2, #3                                                 ; +0x54, 0x10002ca68\nBLR             X8                                                     ; +0x58, 0x10002ca6c\nLDR             X8, [X19]                                              ; +0x5c, 0x10002ca70\nLDR             X8, [X8,#0xB8]                                         ; +0x60, 0x10002ca74\nMOV             X0, X19                                                ; +0x64, 0x10002ca78\nMOV             X1, X20                                                ; +0x68, 0x10002ca7c\nBLR             X8                                                     ; +0x6c, 0x10002ca80\nADRL            X24, aBigfontFnt; \"bigFont.fnt\"                        ; +0x70, 0x10002ca84\nMOV             X0, X23                                                ; +0x78, 0x10002ca8c\nMOV             X1, X24                                                ; +0x7c, 0x10002ca90\nBL              cocos2d__CCLabelBMFont__create_1                       ; +0x80, 0x10002ca94\nMOV             X23, X0                                                ; +0x84, 0x10002ca98\nLDR             X8, [X21]                                              ; +0x88, 0x10002ca9c\nLDR             X8, [X8,#0x1D0]                                        ; +0x8c, 0x10002caa0\nMOV             X0, X21                                                ; +0x90, 0x10002caa4\nMOV             X1, X23                                                ; +0x94, 0x10002caa8\nMOV             W2, #4                                                 ; +0x98, 0x10002caac\nBLR             X8                                                     ; +0x9c, 0x10002cab0\nLDR             X8, [X23]                                              ; +0xa0, 0x10002cab4\nLDR             X8, [X8,#0xB8]                                         ; +0xa4, 0x10002cab8\nMOV             X0, X23                                                ; +0xa8, 0x10002cabc\nMOV             X1, X20                                                ; +0xac, 0x10002cac0\nBLR             X8                                                     ; +0xb0, 0x10002cac4\nLDR             X8, [X23]                                              ; +0xb4, 0x10002cac8\nLDR             X8, [X8,#0xA0]                                         ; +0xb8, 0x10002cacc\nADRP            X9, #dword_10075BD1C@PAGE                              ; +0xbc, 0x10002cad0\nLDR             S8, [X9,#dword_10075BD1C@PAGEOFF]                      ; +0xc0, 0x10002cad4\nMOV             X0, X23                                                ; +0xc4, 0x10002cad8\nFMOV            S0, S8                                                 ; +0xc8, 0x10002cadc\nBLR             X8                                                     ; +0xcc, 0x10002cae0\nMOV             X0, X22                                                ; +0xd0, 0x10002cae4\nMOV             X1, X24                                                ; +0xd4, 0x10002cae8\nBL              cocos2d__CCLabelBMFont__create_1                       ; +0xd8, 0x10002caec\nMOV             X22, X0                                                ; +0xdc, 0x10002caf0\nLDR             X8, [X21]                                              ; +0xe0, 0x10002caf4\nLDR             X8, [X8,#0x1D0]                                        ; +0xe4, 0x10002caf8\nMOV             X0, X21                                                ; +0xe8, 0x10002cafc\nMOV             X1, X22                                                ; +0xec, 0x10002cb00\nMOV             W2, #4                                                 ; +0xf0, 0x10002cb04\nBLR             X8                                                     ; +0xf4, 0x10002cb08\nMOV             X0, SP                                                 ; +0xf8, 0x10002cb0c\nFMOV            S0, WZR                                                ; +0xfc, 0x10002cb10\nFMOV            S1, #15.0                                              ; +0x100, 0x10002cb14\nBL              sub_1000262BC                                          ; +0x104, 0x10002cb18\nADD             X8, SP, #0x50+var_48                                   ; +0x108, 0x10002cb1c\nMOV             X1, SP                                                 ; +0x10c, 0x10002cb20\nMOV             X0, X20                                                ; +0x110, 0x10002cb24\nBL              sub_100026318                                          ; +0x114, 0x10002cb28\nLDR             X8, [X22]                                              ; +0x118, 0x10002cb2c\nLDR             X8, [X8,#0xB8]                                         ; +0x11c, 0x10002cb30\nADD             X1, SP, #0x50+var_48                                   ; +0x120, 0x10002cb34\nMOV             X0, X22                                                ; +0x124, 0x10002cb38\nBLR             X8                                                     ; +0x128, 0x10002cb3c\nLDR             X8, [X22]                                              ; +0x12c, 0x10002cb40\nLDR             X8, [X8,#0xA0]                                         ; +0x130, 0x10002cb44\nMOV             X0, X22                                                ; +0x134, 0x10002cb48\nFMOV            S0, S8                                                 ; +0x138, 0x10002cb4c\nBLR             X8                                                     ; +0x13c, 0x10002cb50\nMOV             X0, X19                                                ; +0x140, 0x10002cb54\nLDP             X29, X30, [SP,#0x50+var_s0]                            ; +0x144, 0x10002cb58\nLDP             X20, X19, [SP,#0x50+var_10]                            ; +0x148, 0x10002cb5c\nLDP             X22, X21, [SP,#0x50+var_20]                            ; +0x14c, 0x10002cb60\nLDP             X24, X23, [SP,#0x50+var_30]                            ; +0x150, 0x10002cb64\nLDP             D9, D8, [SP,#0x50+var_40]                              ; +0x154, 0x10002cb68\nADD             SP, SP, #0x60 ; '`'                                    ; +0x158, 0x10002cb6c\nRET                                                                    ; +0x15c, 0x10002cb70", "xrefs": ["LevelInfoLayer::setupPlatformerStats @ 0x10002b2d8", "LevelInfoLayer::setupProgressBars @ 0x10002b708", "LevelInfoLayer::setupProgressBars @ 0x10002b86c"], "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"}