// // cocos2d::extension::CCScrollView::getViewRect from 0x7ae83c to 0x7ae918 (220 bytes) // // 3 xrefs: // > cocos2d::extension::CCScrollView::beforeDraw @ 0x7ae94e // > cocos2d::extension::CCScrollView::ccTouchBegan @ 0x7aeb4e // > cocos2d::extension::CCScrollView::ccTouchMoved @ 0x7aed3c // // 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:05 +0000 // cocos2d::extension::CCScrollView *__fastcall cocos2d::extension::CCScrollView::getViewRect( cocos2d::extension::CCScrollView *this, int a2) { float v2; // s15 float v5; // s17 int v6; // r0 int v7; // r4 float v8; // s16 float v9; // s14 float v10; // s13 float v11; // s15 float v12; // s15 float v14; // [sp+Ch] [bp-10h] BYREF float v15; // [sp+10h] [bp-Ch] cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)&v14, (const cocos2d::CCPoint *)a2); v5 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)a2 + 68))(a2)); v6 = (*(int (__fastcall **)(int))(*(_DWORD *)a2 + 76))(a2); v7 = *(_DWORD *)(a2 + 196); v8 = *(float *)&v6; while ( v7 ) { v5 = v5 * COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v7 + 68))(v7)); v2 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v7 + 76))(v7)); v8 = v8 * v2; v7 = (*(int (__fastcall **)(int))(*(_DWORD *)v7 + 256))(v7); } v9 = *(float *)(a2 + 400); if ( v5 < 0.0 ) v2 = v14; v10 = *(float *)(a2 + 404); if ( v5 < 0.0 ) { v11 = v2 + (float)(v5 * v9); v5 = -v5; v14 = v11; } if ( v8 < 0.0 ) { v12 = v15 + (float)(v8 * v10); v8 = -v8; v15 = v12; } cocos2d::CCRect::CCRect(this, v14, v15, v5 * v9, v8 * v10); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source