// // EditorUI::handleAction from 0x6f271c to 0x6f289a (382 bytes) // // 1 xrefs: // > `non-virtual thunk to'EditorUI::handleAction @ 0x6f289e // // 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:36 +0000 // int __fastcall EditorUI::handleAction(EditorUI *this, int a2, int a3, int a4, double a5) { cocos2d::CCDirector *v8; // r0 int v9; // r0 bool v10; // cc unsigned int v11; // r3 int v12; // r3 int v14; // r0 int v15; // r3 if ( !a3 ) { if ( a2 != 20069 ) { if ( a2 > 20069 ) { if ( a2 == 20087 ) return 1; } else if ( a2 >= 20067 ) { return 1; } goto LABEL_25; } LABEL_24: *((_BYTE *)this + 508) = a3; goto LABEL_25; } if ( (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 148) + 176))(*((_DWORD *)this + 148)) && GJScaleControl::applyFocusedInput(*((GJScaleControl **)this + 148)) ) { return 1; } v8 = (cocos2d::CCDirector *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 144) + 176))(*((_DWORD *)this + 144)); if ( v8 ) { v8 = (cocos2d::CCDirector *)GJRotationControl::applyFocusedInput(*((GJRotationControl **)this + 144)); if ( v8 ) return 1; } v9 = cocos2d::CCDirector::sharedDirector(v8); if ( *(_BYTE *)((*(int (__fastcall **)(int))(*(_DWORD *)v9 + 96))(v9) + 93) ) { if ( a2 > 20066 ) { if ( a2 <= 20115 ) { if ( a2 >= 20114 ) goto LABEL_19; v10 = (unsigned int)(a2 - 20095) > 0xF; goto LABEL_18; } v11 = a2 - 20174; } else { if ( a2 >= 20063 ) goto LABEL_19; if ( a2 <= 20034 ) { if ( a2 >= 20031 ) goto LABEL_19; v10 = (unsigned int)(a2 - 20001) > 1; goto LABEL_18; } v11 = a2 - 20041; } v10 = v11 > 7; LABEL_18: if ( v10 ) return 1; } LABEL_19: if ( a2 == 20068 ) { if ( *(_DWORD *)(*((_DWORD *)this + 236) + 1428) ) { EditorUI::onStopPlaytest((GJEffectManager ***)this, nullptr); } else if ( *((_DWORD *)this + 131) == -1 ) { EditorUI::onPlaytest((unsigned __int8 *)this, nullptr); } return 1; } if ( a2 > 20068 ) { if ( a2 != 20069 ) { if ( a2 == 20087 ) { v14 = *((_DWORD *)this + 236); v15 = *(_DWORD *)(v14 + 1428); if ( v15 == 1 ) { LevelEditorLayer::onPausePlaytest((cocos2d::CCNode **)v14); } else if ( v15 == 2 ) { LevelEditorLayer::onResumePlaytest((cocos2d::CCNode **)v14); } return 1; } goto LABEL_25; } goto LABEL_24; } if ( a2 == 20067 ) { EditorUI::onPause(this, nullptr); return 1; } LABEL_25: v12 = *((_DWORD *)this + 236); if ( *(_DWORD *)(v12 + 1428) == 1 ) return (*(int (__fastcall **)(_DWORD, int, int, _DWORD, _DWORD, _DWORD))(**(_DWORD **)(v12 + 11240) + 656))( *(_DWORD *)(v12 + 11240), a2, a3, *(_DWORD *)(**(_DWORD **)(v12 + 11240) + 656), LODWORD(a5), HIDWORD(a5)); else return EditorUI::handleEditorAction((GJTransformControl **)this, a2, a3, v12, a5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source