{"type": "func", "start": 5373335760, "end": 5373335868, "name": "LoadingLayer::updateProgress", "pseudocode": "// \n// LoadingLayer::updateProgress from 0x1404698d0 to 0x14046993c (108 bytes)\n// \n// 3 xrefs:\n// > LoadingLayer::init @ 0x14046982d\n// > LoadingLayer::loadAssets @ 0x1404699d3\n// > <???> @ 0x140928010\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 11:32:36 +0000\n// \n\n__int64 __fastcall LoadingLayer::updateProgress(__int64 a1, int a2)\n{\n  __int64 v2; // rdi\n  __int64 (__fastcall *v3)(__int64, __int64); // rbx\n  __int64 v4; // rax\n  _BYTE v6[24]; // [rsp+30h] [rbp-18h] BYREF\n\n  v2 = *(_QWORD *)(a1 + 432);\n  v3 = *(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 992LL);\n  cocos2d::CCRect::CCRect(\n    (cocos2d::CCRect *)v6,\n    0.0,\n    0.0,\n    fminf(*(float *)(a1 + 440), (float)((float)a2 / 100.0) * *(float *)(a1 + 440)),\n    *(float *)(a1 + 444));\n  return v3(v2, v4);\n}", "assembly": "; \n; LoadingLayer::updateProgress from 0x1404698d0 to 0x14046993c (108 bytes)\n; \n; 3 xrefs:\n; > LoadingLayer::init @ 0x14046982d\n; > LoadingLayer::loadAssets @ 0x1404699d3\n; > <???> @ 0x140928010\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 11:32:36 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404698d0\npush    rdi                                                            ; +0x5, 0x1404698d5\nsub     rsp, 40h                                                       ; +0x6, 0x1404698d6\nmovss   xmm3, dword ptr [rcx+1B8h]                                     ; +0xa, 0x1404698da\nxorps   xmm2, xmm2                                                     ; +0x12, 0x1404698e2\nmov     rdi, [rcx+1B0h]                                                ; +0x15, 0x1404698e5\nxorps   xmm1, xmm1                                                     ; +0x1c, 0x1404698ec\nmovd    xmm0, edx                                                      ; +0x1f, 0x1404698ef\ncvtdq2ps xmm0, xmm0                                                    ; +0x23, 0x1404698f3\nmov     rax, [rdi]                                                     ; +0x26, 0x1404698f6\ndivss   xmm0, cs:dword_1408357B0                                       ; +0x29, 0x1404698f9\nmov     rbx, [rax+3E0h]                                                ; +0x31, 0x140469901\nmulss   xmm0, xmm3                                                     ; +0x38, 0x140469908\nminss   xmm3, xmm0                                                     ; +0x3c, 0x14046990c\nmovss   xmm0, dword ptr [rcx+1BCh]                                     ; +0x40, 0x140469910\nlea     rcx, [rsp+48h+var_18]                                          ; +0x48, 0x140469918\nmovss   [rsp+48h+var_28], xmm0                                         ; +0x4d, 0x14046991d\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x53, 0x140469923\nmov     rdx, rax                                                       ; +0x59, 0x140469929\nmov     rcx, rdi                                                       ; +0x5c, 0x14046992c\ncall    rbx                                                            ; +0x5f, 0x14046992f\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x61, 0x140469931\nadd     rsp, 40h                                                       ; +0x66, 0x140469936\npop     rdi                                                            ; +0x6a, 0x14046993a\nretn                                                                   ; +0x6b, 0x14046993b", "xrefs": ["LoadingLayer::init @ 0x14046982d", "LoadingLayer::loadAssets @ 0x1404699d3", "<???> @ 0x140928010"], "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"}