{"type": "func", "start": 5372860224, "end": 5372860302, "name": "SecretLayer5::updateTweenActionInt", "pseudocode": "// \n// SecretLayer5::updateTweenActionInt from 0x1403f5740 to 0x1403f578e (78 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1405d56f0\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 SecretLayer5::updateTweenActionInt(SecretLayer5 *a1, float a2, int a3)\n{\n  CCSpriteWithHue *i; // rcx\n\n  if ( a3 == 1 )\n  {\n    for ( i = a1->m_wraithSprite; a2 < 0.0; a2 = a2 + 360.0 )\n      ;\n    i->m_hue = (float)(a2 / 360.0) * 6.283185307179586;\n    CCSpriteWithHue::updateColorMatrix(i);\n  }\n}", "assembly": "; \n; SecretLayer5::updateTweenActionInt from 0x1403f5740 to 0x1403f578e (78 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1405d56f0\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\ncmp     r8d, 1                                                         ; +0x0, 0x1403f5740\njnz     short locret_1403F578D                                         ; +0x4, 0x1403f5744\nmov     rcx, [rcx+230h]                                                ; +0x6, 0x1403f5746\nxorps   xmm0, xmm0                                                     ; +0xd, 0x1403f574d\ncomiss  xmm0, xmm1                                                     ; +0x10, 0x1403f5750\nmovss   xmm2, cs:flt_14062346C                                         ; +0x13, 0x1403f5753\njbe     short loc_1403F5769                                            ; +0x1b, 0x1403f575b\nnop     dword ptr [rax]                                                ; +0x1d, 0x1403f575d\naddss   xmm1, xmm2                                                     ; +0x20, 0x1403f5760\ncomiss  xmm0, xmm1                                                     ; +0x24, 0x1403f5764\nja      short loc_1403F5760                                            ; +0x27, 0x1403f5767\nxorps   xmm0, xmm0                                                     ; +0x29, 0x1403f5769\ndivss   xmm1, xmm2                                                     ; +0x2c, 0x1403f576c\ncvtss2sd xmm0, xmm1                                                    ; +0x30, 0x1403f5770\nmulsd   xmm0, cs:qword_140622EA0                                       ; +0x34, 0x1403f5774\ncvtpd2ps xmm0, xmm0                                                    ; +0x3c, 0x1403f577c\nmovss   dword ptr [rcx+258h], xmm0                                     ; +0x40, 0x1403f5780\njmp     CCSpriteWithHue__updateColorMatrix                             ; +0x48, 0x1403f5788\nretn                                                                   ; +0x4d, 0x1403f578d", "xrefs": ["<???> @ 0x1405d56f0"], "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"}