// // GameObject::getScalePosDelta from 0x76f6a8 to 0x76f7b8 (272 bytes) // // 7 xrefs: // > PlayerObject::collidedWithObjectInternal @ 0x75adb4 // > PlayerObject::collidedWithObjectInternal @ 0x75b2d8 // > PlayerObject::collidedWithObjectInternal @ 0x75ba34 // > PlayerObject::collidedWithObjectInternal @ 0x75bd68 // > PlayerObject::postCollision @ 0x7620ac // > PlayerObject::postCollision @ 0x762510 // > @ 0x79828 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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:53:12 +0000 // cocos2d::CCPoint *__usercall GameObject::getScalePosDelta@( cocos2d::CCPoint *__return_ptr a1@, GameObject *this@) { const cocos2d::CCRect *v4; // x0 float v5; // w1 int v6; // w0 _BYTE v8[8]; // [xsp+38h] [xbp+38h] BYREF float v9; // [xsp+40h] [xbp+40h] float v10; // [xsp+44h] [xbp+44h] cocos2d::CCPoint::CCPoint(a1, (const cocos2d::CCPoint *)&unk_155C668); v4 = (const cocos2d::CCRect *)(*(__int64 (__fastcall **)(GameObject *))(*(_QWORD *)this + 1328LL))(this); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, v4); if ( *((_BYTE *)this + 904) ) { v5 = v9; v9 = v10; v10 = v5; } if ( GameObject::didScaleXChange(this) ) *(float *)a1 = (float)(v9 - (float)((float)(v9 / *((float *)this + 288)) * *((float *)this + 247))) * 0.5; if ( GameObject::didScaleYChange(this) ) *((float *)a1 + 1) = (float)(v10 - (float)((float)(v10 / *((float *)this + 289)) * *((float *)this + 248))) * 0.5; if ( *((_BYTE *)this + 904) ) { v6 = *((_DWORD *)a1 + 1); *((_DWORD *)a1 + 1) = *(_DWORD *)a1; *(_DWORD *)a1 = v6; } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source