{"type": "func", "start": 3131088, "end": 3131318, "name": "CCLightStrip::updateTweenAction", "pseudocode": "// \n// CCLightStrip::updateTweenAction from 0x2fc6d0 to 0x2fc7b6 (230 bytes)\n// \n// 0 xrefs:\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 CCLightStrip::updateTweenAction(CCLightStrip *a1, float a2, const char *a3)\n{\n  int v6; // r9\n  int v7; // [sp+4h] [bp-20h]\n  int v8; // [sp+4h] [bp-20h]\n  _BYTE v9[4]; // [sp+14h] [bp-10h] BYREF\n  _BYTE v10[4]; // [sp+18h] [bp-Ch] BYREF\n\n  sub_776584((int)v9, (char *)a3);\n  sub_776584((int)v10, \"height\");\n  v7 = sub_774DBC(v9, v10);\n  sub_774008(v10);\n  sub_774008(v9);\n  if ( v7 )\n  {\n    sub_776584((int)v9, (char *)a3);\n    sub_776584((int)v10, \"width\");\n    v8 = sub_774DBC(v9, v10);\n    sub_774008(v10);\n    sub_774008(v9);\n    if ( v8 )\n    {\n      sub_776584((int)v9, (char *)a3);\n      sub_776584((int)v10, \"opacity\");\n      v6 = sub_774DBC(v9, v10);\n      sub_774008(v10);\n      sub_774008(v9);\n      if ( !v6 )\n        a1->m_opacity = a2;\n    }\n    else\n    {\n      a1->m_width = a2;\n    }\n  }\n  else\n  {\n    a1->m_height = a2;\n  }\n}", "assembly": "; \n; CCLightStrip::updateTweenAction from 0x2fc6d0 to 0x2fc7b6 (230 bytes)\n; \n; 0 xrefs:\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\nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x2fc6d0\nSUB             SP, SP, #0x24                                          ; +0x4, 0x2fc6d4\nLDR             R6, =(__stack_chk_guard_ptr - 0x2FC6E4)                ; +0x6, 0x2fc6d6\nADD             R4, SP, #0x24+var_10                                   ; +0x8, 0x2fc6d8\nADD.W           R10, SP, #0x24+var_18                                  ; +0xa, 0x2fc6da\nMOV             R7, R0                                                 ; +0xe, 0x2fc6de\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0x10, 0x2fc6e0\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x12, 0x2fc6e2\nMOV             R8, R1                                                 ; +0x14, 0x2fc6e4\nMOV             R11, R2                                                ; +0x16, 0x2fc6e6\nMOV             R1, R2; char *                                         ; +0x18, 0x2fc6e8\nLDR             R3, [R6]                                               ; +0x1a, 0x2fc6ea\nMOV             R2, R10                                                ; +0x1c, 0x2fc6ec\nMOV             R0, R4; int                                            ; +0x1e, 0x2fc6ee\nADD             R5, SP, #0x24+var_C                                    ; +0x20, 0x2fc6f0\nADD.W           R9, SP, #0x24+var_14                                   ; +0x22, 0x2fc6f2\nSTR             R3, [SP,#0x24+var_8]                                   ; +0x26, 0x2fc6f6\nBL              sub_776584                                             ; +0x28, 0x2fc6f8\nLDR             R1, =(aHeight - 0x2FC706); \"height\"                    ; +0x2c, 0x2fc6fc\nMOV             R0, R5; int                                            ; +0x2e, 0x2fc6fe\nMOV             R2, R9                                                 ; +0x30, 0x2fc700\nADD             R1, PC; \"height\"                                       ; +0x32, 0x2fc702\nBL              sub_776584                                             ; +0x34, 0x2fc704\nMOV             R1, R5                                                 ; +0x38, 0x2fc708\nMOV             R0, R4                                                 ; +0x3a, 0x2fc70a\nBL              sub_774DBC                                             ; +0x3c, 0x2fc70c\nSTR             R0, [SP,#0x24+var_20]                                  ; +0x40, 0x2fc710\nMOV             R0, R5                                                 ; +0x42, 0x2fc712\nBL              sub_774008                                             ; +0x44, 0x2fc714\nMOV             R0, R4                                                 ; +0x48, 0x2fc718\nBL              sub_774008                                             ; +0x4a, 0x2fc71a\nLDR             R3, [SP,#0x24+var_20]                                  ; +0x4e, 0x2fc71e\nCBNZ            R3, loc_2FC728                                         ; +0x50, 0x2fc720\nSTR.W           R8, [R7,#0x124]                                        ; +0x52, 0x2fc722\nB               loc_2FC7A4                                             ; +0x56, 0x2fc726\nMOV             R1, R11; char *                                        ; +0x58, 0x2fc728\nMOV             R2, R10                                                ; +0x5a, 0x2fc72a\nMOV             R0, R4; int                                            ; +0x5c, 0x2fc72c\nBL              sub_776584                                             ; +0x5e, 0x2fc72e\nLDR             R1, =(aWidth - 0x2FC73C); \"width\"                      ; +0x62, 0x2fc732\nMOV             R0, R5; int                                            ; +0x64, 0x2fc734\nMOV             R2, R9                                                 ; +0x66, 0x2fc736\nADD             R1, PC; \"width\"                                        ; +0x68, 0x2fc738\nBL              sub_776584                                             ; +0x6a, 0x2fc73a\nMOV             R1, R5                                                 ; +0x6e, 0x2fc73e\nMOV             R0, R4                                                 ; +0x70, 0x2fc740\nBL              sub_774DBC                                             ; +0x72, 0x2fc742\nSTR             R0, [SP,#0x24+var_20]                                  ; +0x76, 0x2fc746\nMOV             R0, R5                                                 ; +0x78, 0x2fc748\nBL              sub_774008                                             ; +0x7a, 0x2fc74a\nMOV             R0, R4                                                 ; +0x7e, 0x2fc74e\nBL              sub_774008                                             ; +0x80, 0x2fc750\nLDR             R3, [SP,#0x24+var_20]                                  ; +0x84, 0x2fc754\nCBNZ            R3, loc_2FC75E                                         ; +0x86, 0x2fc756\nSTR.W           R8, [R7,#0x120]                                        ; +0x88, 0x2fc758\nB               loc_2FC7A4                                             ; +0x8c, 0x2fc75c\nMOV             R1, R11; char *                                        ; +0x8e, 0x2fc75e\nMOV             R2, R10                                                ; +0x90, 0x2fc760\nMOV             R0, R4; int                                            ; +0x92, 0x2fc762\nBL              sub_776584                                             ; +0x94, 0x2fc764\nLDR             R1, =(aOpacity - 0x2FC772); \"opacity\"                  ; +0x98, 0x2fc768\nMOV             R0, R5; int                                            ; +0x9a, 0x2fc76a\nMOV             R2, R9                                                 ; +0x9c, 0x2fc76c\nADD             R1, PC; \"opacity\"                                      ; +0x9e, 0x2fc76e\nBL              sub_776584                                             ; +0xa0, 0x2fc770\nMOV             R1, R5                                                 ; +0xa4, 0x2fc774\nMOV             R0, R4                                                 ; +0xa6, 0x2fc776\nBL              sub_774DBC                                             ; +0xa8, 0x2fc778\nMOV             R9, R0                                                 ; +0xac, 0x2fc77c\nMOV             R0, R5                                                 ; +0xae, 0x2fc77e\nBL              sub_774008                                             ; +0xb0, 0x2fc780\nMOV             R0, R4                                                 ; +0xb4, 0x2fc784\nBL              sub_774008                                             ; +0xb6, 0x2fc786\nCMP.W           R9, #0                                                 ; +0xba, 0x2fc78a\nBNE             loc_2FC7A4                                             ; +0xbe, 0x2fc78e\nSTR.W           R8, [R7,#0x11C]                                        ; +0xc0, 0x2fc790\nB               loc_2FC7A4                                             ; +0xc4, 0x2fc794\nB               loc_2FC798                                             ; +0xc6, 0x2fc796\nMOV             R0, R4                                                 ; +0xc8, 0x2fc798\nBL              sub_774008                                             ; +0xca, 0x2fc79a\nBL              __cxa_end_cleanup                                      ; +0xce, 0x2fc79e\nB               loc_2FC798                                             ; +0xd2, 0x2fc7a2\nLDR             R2, [SP,#0x24+var_8]                                   ; +0xd4, 0x2fc7a4\nLDR             R3, [R6]                                               ; +0xd6, 0x2fc7a6\nCMP             R2, R3                                                 ; +0xd8, 0x2fc7a8\nBEQ             loc_2FC7B0                                             ; +0xda, 0x2fc7aa\nBLX             __stack_chk_fail                                       ; +0xdc, 0x2fc7ac\nADD             SP, SP, #0x24 ; '$'                                    ; +0xe0, 0x2fc7b0\nPOP.W           {R4-R11,PC}                                            ; +0xe2, 0x2fc7b2", "xrefs": [], "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"}