{"type": "func", "start": 7273652, "end": 7273876, "name": "EditorUI::updatePanDecay", "pseudocode": "// \n// EditorUI::updatePanDecay from 0x6efcb4 to 0x6efd94 (224 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:34 +0000\n// \n\nint __fastcall EditorUI::updatePanDecay(EditorUI *this, float a2, int a3, int a4)\n{\n  float *v4; // r6\n  float *v5; // r5\n  float v6; // s12\n  float v8; // s14\n  float v9; // s15\n  float v10; // s12\n  float v11; // s13\n  int result; // r0\n  float v13; // [sp+4h] [bp-Ch] BYREF\n  int v14; // [sp+8h] [bp-8h]\n  int v15; // [sp+Ch] [bp-4h]\n\n  v13 = a2;\n  v14 = a3;\n  v15 = a4;\n  v4 = (float *)((char *)this + 1084);\n  v5 = (float *)((char *)this + 1088);\n  v6 = *((float *)this + 271);\n  v8 = (float)(v6 * a2) * 15.0;\n  v9 = (float)(*((float *)this + 272) * a2) * 15.0;\n  v10 = v6 - v8;\n  v11 = *((float *)this + 272) - v9;\n  *((float *)this + 271) = v10;\n  *((float *)this + 272) = v11;\n  if ( fabsf(v10) < 0.1 )\n  {\n    v8 = v8 + v10;\n    *v4 = 0.0;\n  }\n  if ( fabsf(v11) < 0.1 )\n  {\n    v9 = v9 + v11;\n    *v5 = 0.0;\n  }\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, v8, v9);\n  EditorUI::moveGamelayer(this, (int)&v13);\n  result = EditorUI::updateSlider(this);\n  if ( *v4 == 0.0 && *v5 == 0.0 )\n  {\n    v14 = 0;\n    v13 = COERCE_FLOAT(EditorUI::updatePanDecay);\n    result = cocos2d::CCNode::unschedule(this, EditorUI::updatePanDecay, 0);\n    *((_BYTE *)this + 1092) = 0;\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::updatePanDecay from 0x6efcb4 to 0x6efd94 (224 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:34 +0000\n; \nPUSH.W          {R0-R8,LR}                                             ; +0x0, 0x6efcb4\nADDW            R6, R0, #0x43C                                         ; +0x4, 0x6efcb8\nVMOV            S15, R1                                                ; +0x8, 0x6efcbc\nADD.W           R5, R0, #0x440                                         ; +0xc, 0x6efcc0\nVLDR            S12, [R6]                                              ; +0x10, 0x6efcc4\nADD             R4, SP, #0x10+var_C                                    ; +0x14, 0x6efcc8\nLDR             R3, =(__stack_chk_guard_ptr - 0x6EFCD8)                ; +0x16, 0x6efcca\nMOV             R8, R0                                                 ; +0x18, 0x6efccc\nMOV             R0, R4; this                                           ; +0x1a, 0x6efcce\nVMOV.F32        S11, #15.0                                             ; +0x1c, 0x6efcd0\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x20, 0x6efcd4\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x22, 0x6efcd6\nVLDR            S13, [R5]                                              ; +0x24, 0x6efcd8\nLDR             R2, [R3]                                               ; +0x28, 0x6efcdc\nMOV             R7, R3                                                 ; +0x2a, 0x6efcde\nSTR             R2, [SP,#0x10+var_4]                                   ; +0x2c, 0x6efce0\nVMUL.F32        S14, S12, S15                                          ; +0x2e, 0x6efce2\nVMUL.F32        S15, S13, S15                                          ; +0x32, 0x6efce6\nVMUL.F32        S14, S14, S11                                          ; +0x36, 0x6efcea\nVMUL.F32        S15, S15, S11                                          ; +0x3a, 0x6efcee\nVLDR            S11, =0.1                                              ; +0x3e, 0x6efcf2\nVSUB.F32        S12, S12, S14                                          ; +0x42, 0x6efcf6\nVSUB.F32        S13, S13, S15                                          ; +0x46, 0x6efcfa\nVSTR            S12, [R6]                                              ; +0x4a, 0x6efcfe\nVABS.F32        S10, S12                                               ; +0x4e, 0x6efd02\nVSTR            S13, [R5]                                              ; +0x52, 0x6efd06\nVCMPE.F32       S10, S11                                               ; +0x56, 0x6efd0a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x5a, 0x6efd0e\nITTT MI                                                                ; +0x5e, 0x6efd12\nVADDMI.F32      S14, S14, S12                                          ; +0x60, 0x6efd14\nMOVMI           R3, #0                                                 ; +0x64, 0x6efd18\nSTRMI           R3, [R6]                                               ; +0x66, 0x6efd1a\nVABS.F32        S12, S13                                               ; +0x68, 0x6efd1c\nVMOV            R1, S14; float                                         ; +0x6c, 0x6efd20\nVCMPE.F32       S12, S11                                               ; +0x70, 0x6efd24\nVMRS            APSR_nzcv, FPSCR                                       ; +0x74, 0x6efd28\nITTT MI                                                                ; +0x78, 0x6efd2c\nVADDMI.F32      S15, S15, S13                                          ; +0x7a, 0x6efd2e\nMOVMI           R3, #0                                                 ; +0x7e, 0x6efd32\nSTRMI           R3, [R5]                                               ; +0x80, 0x6efd34\nVMOV            R2, S15; float                                         ; +0x82, 0x6efd36\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x86, 0x6efd3a\nMOV             R0, R8                                                 ; +0x8a, 0x6efd3e\nMOV             R1, R4                                                 ; +0x8c, 0x6efd40\nBL              _ZN8EditorUI13moveGamelayerEN7cocos2d7CCPointE; EditorUI::moveGamelayer(cocos2d::CCPoint) ; +0x8e, 0x6efd42\nMOV             R0, R8; this                                           ; +0x92, 0x6efd46\nBL              _ZN8EditorUI12updateSliderEv; EditorUI::updateSlider(void) ; +0x94, 0x6efd48\nVLDR            S15, [R6]                                              ; +0x98, 0x6efd4c\nVCMP.F32        S15, #0.0                                              ; +0x9c, 0x6efd50\nVMRS            APSR_nzcv, FPSCR                                       ; +0xa0, 0x6efd54\nBNE             loc_6EFD82                                             ; +0xa4, 0x6efd58\nVLDR            S15, [R5]                                              ; +0xa6, 0x6efd5a\nVCMP.F32        S15, #0.0                                              ; +0xaa, 0x6efd5e\nVMRS            APSR_nzcv, FPSCR                                       ; +0xae, 0x6efd62\nBNE             loc_6EFD82                                             ; +0xb2, 0x6efd66\nLDR             R3, =(_ZN8EditorUI14updatePanDecayEf_ptr - 0x6EFD74)   ; +0xb4, 0x6efd68\nMOVS            R5, #0                                                 ; +0xb6, 0x6efd6a\nMOV             R0, R8                                                 ; +0xb8, 0x6efd6c\nSTR             R5, [SP,#0x10+var_8]                                   ; +0xba, 0x6efd6e\nADD             R3, PC; _ZN8EditorUI14updatePanDecayEf_ptr             ; +0xbc, 0x6efd70\nLDR             R3, [R3]; EditorUI::updatePanDecay(float)              ; +0xbe, 0x6efd72\nSTR             R3, [SP,#0x10+var_C]                                   ; +0xc0, 0x6efd74\nLDM.W           R4, {R1,R2}                                            ; +0xc2, 0x6efd76\nBL              _ZN7cocos2d6CCNode10unscheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0xc6, 0x6efd7a\nSTRB.W          R5, [R8,#0x444]                                        ; +0xca, 0x6efd7e\nLDR             R2, [SP,#0x10+var_4]                                   ; +0xce, 0x6efd82\nLDR             R3, [R7]                                               ; +0xd0, 0x6efd84\nCMP             R2, R3                                                 ; +0xd2, 0x6efd86\nBEQ             loc_6EFD8E                                             ; +0xd4, 0x6efd88\nBLX             __stack_chk_fail                                       ; +0xd6, 0x6efd8a\nADD             SP, SP, #0x10                                          ; +0xda, 0x6efd8e\nPOP.W           {R4-R8,PC}                                             ; +0xdc, 0x6efd90", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}