// // EditorUI::playerTouchBegan from 0x6f10f0 to 0x6f11c2 (210 bytes) // // 0 xrefs: // // 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 11:57:35 +0000 // void __fastcall EditorUI::playerTouchBegan(cocos2d::CCDirector *a1, int a2) { GameManager *v4; // r0 float v5; // s17 float v6; // s16 GameManager *v7; // r0 GJBaseGameLayer *v8; // r0 GJBaseGameLayer *v9; // r0 float v10[2]; // [sp+Ch] [bp-8h] BYREF float v11[2]; // [sp+14h] [bp+0h] BYREF _BYTE v12[8]; // [sp+1Ch] [bp+8h] BYREF cocos2d::CCDirector::sharedDirector(a1); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v10); cocos2d::CCTouch::getLocation((cocos2d::CCTouch *)v11); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v12, a1); v4 = (GameManager *)cocos2d::CCPoint::operator=(v11, v12); v5 = v11[0]; v6 = v10[0] * 0.5; if ( (*(_BYTE *)(*((_DWORD *)a1 + 236) + 866) || (v7 = (GameManager *)GameManager::sharedState(v4), GameManager::getGameVariable(v7, "0011"))) && v5 > v6 ) { if ( *((_DWORD *)a1 + 122) == -1 ) { v9 = *((GJBaseGameLayer **)a1 + 236); *((_DWORD *)a1 + 122) = *(_DWORD *)(a2 + 52); GJBaseGameLayer::queueButton(v9, 1, 1, 1, *(double *)(a2 + 88)); } } else if ( *((_DWORD *)a1 + 121) == -1 ) { v8 = *((GJBaseGameLayer **)a1 + 236); *((_DWORD *)a1 + 121) = *(_DWORD *)(a2 + 52); GJBaseGameLayer::queueButton(v8, 1, 1, 0, *(double *)(a2 + 88)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source