// // cocos2d::CCEGLViewProtocol::getVisibleOrigin from 0x10050fd90 to 0x10050fdf8 (104 bytes) // // 2 xrefs: // > @ 0x1009594a0 // > @ 0x10095d2d0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // cocos2d::CCPoint __fastcall cocos2d::CCEGLViewProtocol::getVisibleOrigin(cocos2d::CCEGLViewProtocol *a1) { __int64 v1; // rsi cocos2d::CCPoint result; // 0:xmm0_8.8 if ( *(_DWORD *)(v1 + 108) == 1 ) { result = (cocos2d::CCPoint)*(unsigned int *)(v1 + 24); result.x = (float)(result.x - (float)(*(float *)(v1 + 16) / *(float *)(v1 + 100))) * 0.5; sub_10028CBE0( (float *)a1, result.x, (float)(*(float *)(v1 + 28) - (float)(*(float *)(v1 + 20) / *(float *)(v1 + 104))) * 0.5); } else { *(double *)&result = sub_10028CC60(a1, &dbl_1009A2680); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source