{"type": "func", "start": 4300128752, "end": 4300128872, "name": "GameToolbox::createProgressBar", "pseudocode": "// \n// GameToolbox::createProgressBar from 0x1004ec1f0 to 0x1004ec268 (120 bytes)\n// \n// 5 xrefs:\n// > LevelInfoLayer::addProgressBar @ 0x1002af72a\n// > PauseLayer::setupLegacyProgressBars @ 0x1003c2563\n// > PauseLayer::setupLegacyProgressBars @ 0x1003c25da\n// > PauseLayer::setupSessionProgressBar @ 0x1003c296c\n// > sub_1004F7D00 @ 0x1004f7d42\n// \n// This function is hookable on this platform (idp: pc, 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:31:22 +0000\n// \n\nchar *__fastcall GameToolbox::createProgressBar(unsigned int a1, unsigned int a2, float a3)\n{\n  char *v3; // r15\n\n  v3 = cocos2d::CCSprite::create_1((__int64)\"GJ_progressBar_001.png\");\n  (*(void (__fastcall **)(char *, void *))(*(_QWORD *)v3 + 960LL))(v3, &unk_100A0C446);\n  (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v3 + 912LL))(v3, 125);\n  (*(void (__fastcall **)(char *, float))(*(_QWORD *)v3 + 160LL))(v3, a3);\n  GameToolbox::addProgressBarFill(v3, a1, a2, 1);\n  return v3;\n}", "assembly": "; \n; GameToolbox::createProgressBar from 0x1004ec1f0 to 0x1004ec268 (120 bytes)\n; \n; 5 xrefs:\n; > LevelInfoLayer::addProgressBar @ 0x1002af72a\n; > PauseLayer::setupLegacyProgressBars @ 0x1003c2563\n; > PauseLayer::setupLegacyProgressBars @ 0x1003c25da\n; > PauseLayer::setupSessionProgressBar @ 0x1003c296c\n; > sub_1004F7D00 @ 0x1004f7d42\n; \n; This function is hookable on this platform (idp: pc, 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:31:22 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004ec1f0\nmov     rbp, rsp                                                       ; +0x1, 0x1004ec1f1\npush    r15                                                            ; +0x4, 0x1004ec1f4\npush    r14                                                            ; +0x6, 0x1004ec1f6\npush    rbx                                                            ; +0x8, 0x1004ec1f8\npush    rax                                                            ; +0x9, 0x1004ec1f9\nmov     ebx, esi                                                       ; +0xa, 0x1004ec1fa\nmov     r14d, edi                                                      ; +0xc, 0x1004ec1fc\nmovss   [rbp+var_1C], xmm0                                             ; +0xf, 0x1004ec1ff\nlea     rdi, aGjProgressbar0; \"GJ_progressBar_001.png\"                 ; +0x14, 0x1004ec204\ncall    cocos2d__CCSprite__create_1                                    ; +0x1b, 0x1004ec20b\nmov     r15, rax                                                       ; +0x20, 0x1004ec210\nmov     rax, [rax]                                                     ; +0x23, 0x1004ec213\nlea     rsi, unk_100A0C446                                             ; +0x26, 0x1004ec216\nmov     rdi, r15                                                       ; +0x2d, 0x1004ec21d\ncall    qword ptr [rax+3C0h]                                           ; +0x30, 0x1004ec220\nmov     rax, [r15]                                                     ; +0x36, 0x1004ec226\nmov     rdi, r15                                                       ; +0x39, 0x1004ec229\nmov     esi, 7Dh ; '}'                                                 ; +0x3c, 0x1004ec22c\ncall    qword ptr [rax+390h]                                           ; +0x41, 0x1004ec231\nmov     rax, [r15]                                                     ; +0x47, 0x1004ec237\nmov     rdi, r15                                                       ; +0x4a, 0x1004ec23a\nmovss   xmm0, [rbp+var_1C]                                             ; +0x4d, 0x1004ec23d\ncall    qword ptr [rax+0A0h]                                           ; +0x52, 0x1004ec242\nmov     rdi, r15                                                       ; +0x58, 0x1004ec248\nmov     esi, r14d                                                      ; +0x5b, 0x1004ec24b\nmov     edx, ebx                                                       ; +0x5e, 0x1004ec24e\nmov     ecx, 1                                                         ; +0x60, 0x1004ec250\ncall    GameToolbox__addProgressBarFill                                ; +0x65, 0x1004ec255\nmov     rax, r15                                                       ; +0x6a, 0x1004ec25a\nadd     rsp, 8                                                         ; +0x6d, 0x1004ec25d\npop     rbx                                                            ; +0x71, 0x1004ec261\npop     r14                                                            ; +0x72, 0x1004ec262\npop     r15                                                            ; +0x74, 0x1004ec264\npop     rbp                                                            ; +0x76, 0x1004ec266\nretn                                                                   ; +0x77, 0x1004ec267", "xrefs": ["LevelInfoLayer::addProgressBar @ 0x1002af72a", "PauseLayer::setupLegacyProgressBars @ 0x1003c2563", "PauseLayer::setupLegacyProgressBars @ 0x1003c25da", "PauseLayer::setupSessionProgressBar @ 0x1003c296c", "sub_1004F7D00 @ 0x1004f7d42"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}