{"type": "func", "start": 5372046560, "end": 5372046676, "name": "LoadingLayer::updateProgress", "pseudocode": "// \n// LoadingLayer::updateProgress from 0x14032ece0 to 0x14032ed54 (116 bytes)\n// \n// 3 xrefs:\n// > LoadingLayer::init @ 0x14032ec47\n// > LoadingLayer::loadAssets @ 0x14032edeb\n// > <???> @ 0x1406d4fac\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid LoadingLayer::updateProgress(LoadingLayer *a1, int a2)\n{\n  float m_sliderGrooveXPos; // xmm3_4\n  cocos2d::CCSprite_vtbl *v4; // rbx\n  const cocos2d::CCRect *v5; // rax\n  cocos2d::CCRect v6; // [rsp+30h] [rbp-18h] BYREF\n\n  m_sliderGrooveXPos = a1->m_sliderGrooveXPos;\n  if ( (float)((float)((float)a2 / 100.0) * m_sliderGrooveXPos) <= m_sliderGrooveXPos )\n    m_sliderGrooveXPos = (float)((float)a2 / 100.0) * m_sliderGrooveXPos;\n  v4 = a1->m_sliderBar->__vftable;\n  cocos2d::CCRect::CCRect(&v6, 0.0, 0.0, m_sliderGrooveXPos, a1->m_sliderGrooveHeight);\n  v4->setTextureRect_0(a1->m_sliderBar, v5);\n}", "assembly": "; \n; LoadingLayer::updateProgress from 0x14032ece0 to 0x14032ed54 (116 bytes)\n; \n; 3 xrefs:\n; > LoadingLayer::init @ 0x14032ec47\n; > LoadingLayer::loadAssets @ 0x14032edeb\n; > <???> @ 0x1406d4fac\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14032ece0\npush    rdi                                                            ; +0x5, 0x14032ece5\nsub     rsp, 40h                                                       ; +0x6, 0x14032ece6\nmovss   xmm3, dword ptr [rcx+1B8h]                                     ; +0xa, 0x14032ecea\nmov     rdi, rcx                                                       ; +0x12, 0x14032ecf2\nmovd    xmm0, edx                                                      ; +0x15, 0x14032ecf5\ncvtdq2ps xmm0, xmm0                                                    ; +0x19, 0x14032ecf9\ndivss   xmm0, cs:dword_1406232BC                                       ; +0x1c, 0x14032ecfc\nmulss   xmm0, xmm3                                                     ; +0x24, 0x14032ed04\ncomiss  xmm0, xmm3                                                     ; +0x28, 0x14032ed08\nja      short loc_14032ED10                                            ; +0x2b, 0x14032ed0b\nmovaps  xmm3, xmm0                                                     ; +0x2d, 0x14032ed0d\nmov     rax, [rcx+1B0h]                                                ; +0x30, 0x14032ed10\nxorps   xmm2, xmm2                                                     ; +0x37, 0x14032ed17\nmovss   xmm0, dword ptr [rcx+1BCh]                                     ; +0x3a, 0x14032ed1a\nxorps   xmm1, xmm1                                                     ; +0x42, 0x14032ed22\nlea     rcx, [rsp+48h+var_18]                                          ; +0x45, 0x14032ed25\nmovss   [rsp+48h+var_28], xmm0                                         ; +0x4a, 0x14032ed2a\nmov     rbx, [rax]                                                     ; +0x50, 0x14032ed30\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x53, 0x14032ed33\nmov     rcx, [rdi+1B0h]                                                ; +0x59, 0x14032ed39\nmov     rdx, rax                                                       ; +0x60, 0x14032ed40\ncall    qword ptr [rbx+3D0h]                                           ; +0x63, 0x14032ed43\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x69, 0x14032ed49\nadd     rsp, 40h                                                       ; +0x6e, 0x14032ed4e\npop     rdi                                                            ; +0x72, 0x14032ed52\nretn                                                                   ; +0x73, 0x14032ed53", "xrefs": ["LoadingLayer::init @ 0x14032ec47", "LoadingLayer::loadAssets @ 0x14032edeb", "<???> @ 0x1406d4fac"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}