// // cocos2d::CCSkewTo::startWithTarget from 0x7bd06c to 0x7bd150 (228 bytes) // // 1 xrefs: // > cocos2d::CCSkewBy::startWithTarget @ 0x7bd170 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:00:17 +0000 // float __fastcall cocos2d::CCSkewTo::startWithTarget(float *a1, int a2) { float v4; // r0 float v5; // r1 float v6; // r0 float v7; // s15 float v8; // s15 float v9; // s15 float v10; // r0 float v11; // r1 float result; // r0 float v13; // s15 float v14; // s15 float v15; // s15 cocos2d::CCActionInterval::startWithTarget((int)a1, a2); v4 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)a2 + 136))(a2)); a1[22] = v4; if ( v4 <= 0.0 ) v5 = -180.0; else v5 = 180.0; v6 = fmodf(v4, v5); v7 = a1[24]; a1[22] = v6; v8 = v7 - a1[22]; if ( v8 > 180.0 ) v8 = v8 - 360.0; a1[26] = v8; v9 = a1[26]; if ( v9 < -180.0 ) a1[26] = v9 + 360.0; v10 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)a2 + 144))(a2)); a1[23] = v10; if ( v10 <= 0.0 ) v11 = -360.0; else v11 = 360.0; result = fmodf(v10, v11); v13 = a1[25]; a1[23] = result; v14 = v13 - a1[23]; if ( v14 > 180.0 ) v14 = v14 - 360.0; a1[27] = v14; v15 = a1[27]; if ( v15 < -180.0 ) a1[27] = v15 + 360.0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source